OrderLeg
Represents a single leg/order in the strategy or batch.
-
Name Type Description Amount Number Order size. AssetType AssetType The Instruments AssetType. BuySell BuySell The direction of the order; buy or sell. ToOpenClose ToOpenClose Whether the order should be created to open/increase or close/decrease a position. (Only relevant for options) Uic Integer Unique id of the instrument to place the order for.