Skip to content

Get drawdown tracking stats#


Returns account drawdown tracking stats by drawdown tracker id

GET /users/current/accounts/:accountId/drawdown-trackers/:id/statistics

For more information see Swagger documentation


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

Path parameters#

Name Type Required Description
accountId string Yes id of the MetaApi account
id string Yes id of the drawdown tracker

Query parameters#

Name Type Required Description
startTime string time to start loading stats from, in YYYY-MM-DD HH:mm:ss.SSS format. Default is current time. Note that stats is loaded in backwards direction
limit integer number of records to load, default: 1




Example request:

curl -X GET --header 'Accept: application/json' --header 'auth-token: token' ''

Example response:

    "startBrokerTime": "2020-08-24 00:00:00.000",
    "endBrokerTime": "2020-08-25 00:00:00.000",
    "period": "day",
    "initialBalance": 10000,
    "maxDrawdownTime": "2020-08-25 00:00:00.000",
    "maxAbsoluteDrawdown": 1.1,
    "maxRelativeDrawdown": 0.1,
    "thresholdExceeded": true