Get providers#
About#
Returns strategy providers the current user is subscribed to
GET /users/current/providers
For more information see Swagger documentation
Headers#
Name | Type | Required | Description |
---|---|---|---|
auth-token | string | Yes | authorization token. See Authentication & authorization |
Response#
Responses:
- 200 - Strategy providers returned successfully. Response schema: Array<SubscriberOrProvider>
- 401 - Authorization failed. Response schema: Error
Examples#
Example request:
curl -X GET --header 'Accept: application/json' --header 'auth-token: token' 'https://trading-api-v1.agiliumtrade.agiliumtrade.ai/users/current/providers'
Example response:
[
{
"id": "5013f1322ae00d69167803d959e9f7dc",
"name": "Provider name",
"strategies": [
{
"id": "SMKn",
"name": "Test strategy"
}
]
}
]