Endpoints
-
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?$skip={$skip}&$top={$top}&AccountGroupKey={AccountGroupKey}&AccountKey={AccountKey}&ClientKey={ClientKey}&FieldGroups={FieldGroups}&OrderId={OrderId}&Status={Status}&WatchlistId={WatchlistId}
-
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}
-
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?$skip={$skip}&$top={$top}&FieldGroups={FieldGroups}&MultiLegOrderId={MultiLegOrderId}&Status={Status}
-
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?$inlinecount={$inlinecount}&$skip={$skip}&$skiptoken={$skiptoken}&$top={$top}
-
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}