Hi Crypto algortihm

var orderTicket = MarketOrder("BTCUSD", -1 * accPosition);
Debug(Time.ToString("u") + " order status " + orderTicket.Status + " remaining " + orderTicket.QuantityFilled + " position " + accPosition);

logs.

 

2017-03-26 08:27:00Z order status Filled remaining 145 position 145

But my curve shows as if there is oistion