Skip to main content

Get current self trade strategy

GET 

/self-trade-strategy

Returns account-wide self-trade matching strategy.

Responses

Get current self trade strategy

Schema
    oneOf
    strategy SelfTradeStrategy (string)required

    Possible values: [REJECT_TAKER, CANCEL_MAKER_SELF, CANCEL_MAKER_CHILD, CANCEL_MAKER_ANY]

    Self trade matching behaviour:

    • REJECT_TAKER - default behaviour, rejects the taker order that would match against a maker order from any sub-account
    • CANCEL_MAKER_SELF - only cancels the maker order if it is from the same account that sent the taker order
    • CANCEL_MAKER_CHILD - only allows master to cancel its own maker orders and orders from its sub-account
    • CANCEL_MAKER_ANY - allows both master accounts and their subaccounts to cancel maker orders
    result stringrequired

    Possible values: [success]

    serverTime date-timerequired

    Server time in Coordinated Universal Time (UTC)

Loading...