Skip to content

triggerOrderId is not set for filled STOP_MARKET and TAKE_PROFIT_MARKET orders. #5

@AnMakc

Description

@AnMakc

After the STOP_MARKET or TAKE_PROFIT_MARKET trigger price is reached, the original order is replaced by a new one with status FILLED in the user orders lists returned by the following endpoints:

It is expected for the FILLED order to have triggerOrderId equal to the original trigger order id so it would be possible to match them.

However, triggerOrderId is always 0 for these orders.

This value is only filled in the WebSocket events, but not in the HTTP API endpoints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions