Skip to main content
GET
List historical deals
Send from and to in UTC seconds, both inclusive. offset starts at zero and total accepts 1–100 records (100 by default). See the history guide for permissions, financial fields, entry commissions, partial closes and position results.

Authorizations

Authorization
string
header
required

Send the provider-issued token in the Authorization header using Bearer authentication.

Path Parameters

login
integer
required

Query Parameters

from
integer
required

Inclusive start: Unix seconds since 1970-01-01 UTC, not milliseconds.

Required range: 0 <= x <= 253402300799
to
integer
required

Inclusive end: Unix seconds since 1970-01-01 UTC; must be at least from.

Required range: 0 <= x <= 253402300799
offset
integer
default:0

Zero-based offset in the unfiltered MT5 deal history for this range.

Required range: 0 <= x <= 4294967295
total
integer
default:100

Maximum deals per page, not the total number of matching deals.

Required range: 1 <= x <= 100

Response

Successful Response

retcode
string
required
answer
DealData · object[]
required