Endpoints

  • Get a single open order

    Call this operation to get a specific open order of a client.

    GET https://gateway.saxobank.com/sim/openapi/port/v1/orders/{ClientKey}/{OrderId}/?FieldGroups={FieldGroups}&PriceMode={PriceMode}

  • Get all open orders for the client to which the logged-in user belongs

    You can use this operation to get all open orders across all accounts for the client to which the logged-in user belongs.

    GET https://gateway.saxobank.com/sim/openapi/port/v1/orders/me/?$top={$top}&$skip={$skip}&FieldGroups={FieldGroups}&Status={Status}&PriceMode={PriceMode}&MultiLegOrderId={MultiLegOrderId}

  • Get detailed information for a open order Obsolete

    Gets detailed information about a single open order as specified by the query parameters.

    NOTE: This endpoint will be deprecated by November 2022. All functionality has been migrated to /port/v1/orders/{OrderId}.

    GET https://gateway.saxobank.com/sim/openapi/port/v1/orders/{OrderId}/details/?ClientKey={ClientKey}&AccountGroupKey={AccountGroupKey}&AccountKey={AccountKey}

  • Get all open orders for a client or an account

    You can use this operation to get all the open orders on an account or a client.

    GET https://gateway.saxobank.com/sim/openapi/port/v1/orders/?$top={$top}&$skip={$skip}&ClientKey={ClientKey}&AccountGroupKey={AccountGroupKey}&AccountKey={AccountKey}&OrderId={OrderId}&Status={Status}&FieldGroups={FieldGroups}&WatchlistId={WatchlistId}

  • Create a subscription to open orders

    Sets up a subscription and returns an initial snapshot of list of orders specified by the parameters in the request.

    POST https://gateway.saxobank.com/sim/openapi/port/v1/orders/subscriptions/?$top={$top}&$skip={$skip}&$skiptoken={$skiptoken}&$inlinecount={$inlinecount}

  • Remove multiple subscriptions

    Removes multiple subscriptions for the current session on this resource. Optionally maked with with speccified Tag.

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

  • Remove subscription

    Removes subscription for the current session identified by subscription id..

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