Endpoints

  • Get trade messages for the current user

    Only messages that haven't been marked as 'seen' are returned.

    GET https://gateway.saxobank.com/sim/openapi/trade/v1/messages

  • Mark trade message as 'seen'

    Logically this is done by moving the message to the 'seen' collection.

    PUT https://gateway.saxobank.com/sim/openapi/trade/v1/messages/seen?MessageIds={MessageIds}

  • Mark trade message as 'seen'

    Logically this is done by moving the message to the 'seen' collection.

    PUT https://gateway.saxobank.com/sim/openapi/trade/v1/messages/seen/{MessageId}

  • Create a subscription on trade messages

    Sets up a subscription, and returns an initial snapshot containing a list of trade messages.

    POST https://gateway.saxobank.com/sim/openapi/trade/v1/messages/subscriptions

  • Remove multiple trade message subscriptions

    Removes multiple trade message subscriptions for the current session.

    DELETE https://gateway.saxobank.com/sim/openapi/trade/v1/messages/subscriptions/{ContextId}?Tag={Tag}

  • Remove a trade message subscription

    Removes a trade message subscription for the current session.

    DELETE https://gateway.saxobank.com/sim/openapi/trade/v1/messages/subscriptions/{ContextId}/{ReferenceId}