if holding=2 and 條件 a then sell(1,1,market);
if h>enterprice+1*mindiff and holding=1 then sell(1,1,market);