The guide for CreateOrder() does not clarify what the last parameter customOrder is for. I’d like to learn how to use it.
(see Instrument instrument, OrderAction action, OrderType orderType, OrderEntry orderEntry, TimeInForce timeInForce, int quantity, double limitPrice, double stopPrice, string oco, string name, DateTime gtd, CustomOrder customOrder) )
PS- can CreateOrder / Submit be used in a strategy or it would cause the strategy to auto close as Flatten does?
Thank you
Gio