AlgoStrategyDetails¶
-
class
saxo_openapi.endpoints.referencedata.algostrategies.
AlgoStrategyDetails
(Name)¶ Retrieve detailed information about a specific Strategy.
-
ENDPOINT
= 'openapi/ref/v1/algostrategies/{Name}'¶
-
EXPECTED_STATUS
= 200¶
-
METHOD
= 'GET'¶
-
__init__
(Name)¶ Instantiate an AlgoStrategyDetails request.
Parameters: Name (string (required)) – Name of the strategy >>> import json >>> import saxo_openapi >>> import saxo_openapi.endpoints.referencedata as rd >>> client = saxo_openapi.API(access_token=...) >>> Name = "Implementation Shortfall" >>> r = rd.algostrategies.AlgoStrategyDetails(Name=Name) >>> client.request(r) >>> print(json.dumps(r.response, indent=4))
Output:
{ "Description": "Group of IS strategies", "MinAmountUSD": 0, "Name": "Implementation Shortfall", "Parameters": [], "SupportedDurationTypes": [ "DayOrder" ], "TradableInstrumentTypes": [] }
-
expected_status
¶
-
response
¶ response - get the response of the request.
-
status_code
¶
-