Skip to content

Upload EA file


Uploads an expert advisor file. EAs which use DLLs are not supported.

PUT /users/current/accounts/:accountId/expert-advisors/:expertId/file

For more information see swagger documentation


Name Type Required Description
auth-token string Yes Authorization token. See Authentication and authorization

Path parameters

Name Type Required Description
accountId string Yes MetaTrader account id
expertId string Yes Expert advisor id


Name Type Required Description
file File Yes Expert advisor file


  • 204 - File uploaded successfully
  • 400 - File is required. Response schema: Error
  • 401 - Authorization failed. Response schema: Error
  • 404 - MetaTrader account or expert advisor with specified id not found. Response schema: Error


Example request:

curl -X PUT --header 'Content-Type: multipart/form-data' --header 'Accept: application/json' --header 'auth-token: token' ''