Skip to main content
GET
List trading history

Authorizations

x-api-key
string
header
default:lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663
required

API key of the application. Only valid together with the x-user-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it. The pair is granted the same permissions the operation's OAuth scopes describe.

Demo credential for trying the API from these docs: lhgfaslk21490FAScVPkdsb53F9dNkfHG4faZSG5vfjndfcfgdssdgsdHF4663

x-user-key
string
header
default:eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_
required

User-specific authentication key. Only valid together with the x-api-key header — the pair is an alternative to OAuth bearer authentication, never sent alongside it.

Demo credential for trying the API from these docs: eyJlYW4iOiJVbnJlZ2lzdGVyZWRBcHBsaWNhdGlvbiIsImVrIjoiOE5sZ2cwcW5EUVdROUFNWGpXT2lmOWktZnpidG5KcUlqWGJ3WHJZZkpZcldrbG90ZEhvLVBjSWhQaU8xU1ZtMW84aU1WZGZqN2xWNzFjLXFxLmcybXE1dnh4Q1hUT25xaWRUaTFlcEhmVk1fIn0_

Headers

x-request-id
string<uuid>
required

A unique request identifier.

Example:

"f127fd53-09df-4336-9325-8c29ab303e0f"

Query Parameters

minDate
string<date>
required

The start date of the period you would like to view.

page
integer

The page number.

pageSize
integer

The amount of trades in each page.

Response

OK

netProfit
number<float>

The net profit of the trade

closeRate
number<float>

The closing rate of the trade

closeTimestamp
string<date-time>

The closing timestamp of the trade

positionId
integer<int64>

The position ID of the trade

instrumentId
integer<int32>

The instrument ID of the instrument that was traded

isBuy
boolean

Indicates if the trade was a buy or sell

leverage
integer<int32>

The leverage used in the trade

openRate
number<float>

The opening rate of the trade

openTimestamp
string<date-time>

The opening timestamp of the trade

stopLossRate
number<float>

The stop loss rate of the trade

takeProfitRate
number<float>

The take profit rate of the trade

trailingStopLoss
boolean

Indicates if the trade had a trailing stop loss

orderId
integer<int64>

The order ID of the trade

socialTradeId
integer<int64>

The social trade ID of the trade

parentPositionId
integer<int64>

The parent position ID of the trade

investment
number<float>

The investment amount of the trade

initialInvestment
number<float>

The initial investment amount of the trade

fees
number<float>

The fees of the trade

units
number<float>

The number of units traded