EnterLongStopMarket(0, true, qty, stopPrice, "myLongEntry")
ExitLong(0, qty, "myLongExit", "myLongEntry") at a specific EoD time.
managed code is much easier than unmanaged but how does managed code take care of partial fills?
does my code need to handle this ... protected override void OnOrderUpdate
if (order.OrderState == OrderState.PartFilled) { } else if (order.OrderState == OrderState.Filled) { }
also will ExitLong cancel all positions & pending orders?
also if there are none, can I still use it|?
Comment