SubmitOrderUnmanaged()
SubmitOrderUnmanaged()
Definition
Generates an Unmanaged order.
Method Return Value
An Order read-only object that represents the order. Reserved for experienced programmers, additional information can be found within the Unmanaged Approach section.
Syntax
SubmitOrderUnmanaged(int selectedBarsInProgress, OrderAction orderAction, OrderType orderType, int quantity)
SubmitOrderUnmanaged(int selectedBarsInProgress, OrderAction orderAction, OrderType orderType, int quantity, double limitPrice)
SubmitOrderUnmanaged(int selectedBarsInProgress, OrderAction orderAction, OrderType orderType, int quantity, double limitPrice, double stopPrice)
SubmitOrderUnmanaged(int selectedBarsInProgress, OrderAction orderAction, OrderType orderType, int quantity, double limitPrice, double stopPrice, string oco)
SubmitOrderUnmanaged(int selectedBarsInProgress, OrderAction orderAction, OrderType orderType, int quantity, double limitPrice, double stopPrice, string oco, string signalName)
Parameters
Possible values:
- OrderType.Limit
- OrderType.Market
- OrderType.MIT
- OrderType.StopMarket
- OrderType.StopLimit
Note: OCO strings should not be reused. Use unique strings for each OCO group, and reset after orders in that group are filled/canceled

