PriceSubscriptionRemoveByTag¶
-
class
saxo_openapi.endpoints.trading.prices.
PriceSubscriptionRemoveByTag
(ContextId, params=None)¶ Remove multiple subscriptions for the given ContextId, optionally marked with a specific tag.
-
ENDPOINT
= 'openapi/trade/v1/prices/subscriptions/{ContextId}/'¶
-
EXPECTED_STATUS
= 202¶
-
METHOD
= 'DELETE'¶
-
RESPONSE_DATA
= None¶
-
__init__
(ContextId, params=None)¶ Instantiate a PriceSubscriptionRemoveByTag request.
Parameters: - ContextId (string (required)) – the ContextId
- params (dict (optional)) – dict representing the querystring parameters
>>> import saxo_openapi >>> import saxo_openapi.endpoints.trading as tr >>> import json >>> client = saxo_openapi.API(access_token=...) >>> params = {}
>>> ContextId = ... >>> r = tr.prices.PriceSubscriptionRemoveByTag(ContextId, ... params=params) >>> client.request(r) >>> assert r.status_code == r.expected_status
No data is returned.
-
expected_status
¶
-
response
¶ response - get the response of the request.
-
status_code
¶
-