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

    Enumeration TradeCommand

    Trade command types for different order types.

    Specifies the type of order to execute - market orders execute immediately, while limit and stop orders wait for specific price conditions.

    Index

    Enumeration Members

    BUY: 0

    Market buy order - execute immediately at current market price

    BUY_LIMIT: 2

    Limit buy order - execute when price drops to or below specified level

    BUY_STOP: 4

    Stop buy order - execute when price rises to or above specified level

    SELL: 1

    Market sell order - execute immediately at current market price

    SELL_LIMIT: 3

    Limit sell order - execute when price rises to or above specified level

    SELL_STOP: 5

    Stop sell order - execute when price drops to or below specified level