im using the following line to execute longs. 

self.MarketOrder("EURUSD", 1000)

using the liquidate function to close the longs produces a problem, because while 42 000 lots have accumulated the liquidation function shows - 167 000. how do i fix this? 
 

Author