Read expert advisor
About
Returns an expert advisor with specified id
GET /users/current/accounts/:accountId/expert-advisors/:expertId
For more information see swagger documentation
Headers
Name | Type | Required | Description |
---|---|---|---|
auth-token | string | Yes | Authorization token. See Authentication and authorization |
Path parameters
Name | Type | Required | Description |
---|---|---|---|
accountId | string | Yes | Trading account id |
expertId | string | Yes | Expert advisor id |
Responses:
- 200 - Expert advisor returned. Response schema: ExpertAdvisor
- 401 - Authorization failed. Response schema: Error
- 404 - Trading account or expert advisor with specified id not found. Response schema: Error
Examples
Example request:
curl -X GET --header 'Accept: application/json' --header 'auth-token: token' 'https://mt-provisioning-api-v1.agiliumtrade.agiliumtrade.ai/users/current/accounts/7f18b2a0-1e8f-452c-9a63-4fffcc1ba81f/expert-advisors/test'
Example response:
{
"expertId": "test",
"period": "1H",
"symbol": "EURUSD",
"fileUploaded": false
}