Rest Api : transactions history

By sending a POST request to history endpoint you can get list of your historiacal transactions limited by 100. To check previouse orders you can use time parameter to get transactions before specified time.

request endpoint: /api/history


Request parameters

NameTypeDescriptionRequired
nonceLongrepeated number send in the request headerY
timeLongUnix timestamp in millisecondsN
symbolStringsymbol

N


Request example:

{"nonce":10000, "time":1516886921146, "symbol":"BTCUSD"}

Response - JSON Array with values represented by JSON:

NameTypeDescription
orderIdLongorder ID
symbolStringsymbol
ordSideIntorder side: 0 - buy, 1 - sell
ordTypeInt

order type: 0 - market, 1 - limit, 2 - stop

dateLongUnix timestamp of order execution
startVolumeLongvolume
priceLongprice


Response example:

[{"orderId":100038,"symbol":"BTCUSD","ordType":1,"ordSide":0,"date":1516284409020,"volume":1,"price":9605.38},{"orderId":100038,"symbol":"BTCUSD","ordType":1,"ordSide":0,"date":1516284407253,"volume":1,"price":9605.32}]