Trade side enumeration for buy/sell operations.
Used in trading commands to specify whether to buy or sell an instrument.
const buyOrder: INewMarketOrder = { instrumentid: 12345, size: { volume: { value: 100, scale: 0 } }, side: Xs6Side.BUY}; Copy
const buyOrder: INewMarketOrder = { instrumentid: 12345, size: { volume: { value: 100, scale: 0 } }, side: Xs6Side.BUY};
Buy side - open long position
Sell side - open short position
No side specified (default/unset)
Trade side enumeration for buy/sell operations.
Used in trading commands to specify whether to buy or sell an instrument.
Example