I would like my orders to be 100% Filled at the Specific Quantity at any price.
I had tried everything
i.e.
Set Slippage = 9999999999;
bool isLiveUntilCancelled = true
EnterLongLimit(0,true,Quantity,999999999,"");
EnterShortLimit(1,true,Quantity2,0,"");
ExitLongMIT(0,true,Positions[0].Quantity,0,"","");
ExitShortMIT(1,true,Positions[1].Quantity,99999999999,"","");
I am still getting Cancelled Order and Partial Fill.
The attachment is from the backtesting.
Thank you!
Comment