xtb-api-unofficial - v0.1.0
    Preparing search index...

    Enumeration Xs6Side

    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
    };
    Index

    Enumeration Members

    Enumeration Members

    BUY: 1

    Buy side - open long position

    SELL: 2

    Sell side - open short position

    SIDE_NOT_SET: 0

    No side specified (default/unset)