1. Request

paramtypedescription
typestring'subscribe' | 'unsubscribe'
channelstring'trade_history'
// request

{
  "type": "subscribe",
  "channel": 'trade_history'
}

2. Responses

paramtypedescription
channelstring'trade_history'
resultTRADE_HISTORY[]Array of TRADE_HISTORY.
ORDER_HISTORY type is described below.
resetbooleantrue: sended with initial data

TRADE_HISTORY type

columntypemeaning
idtextspecific id for trade
order_idtextrelated order id.
market_idtextrequested market_id
sidetextEither "buy" or "sell"
fee_amounttextFee amount that paying to ProBit.

If fee calculated, it will be filled.
But if not, it will return empty string('').
fee_currency_idtextFee currency that paying to ProBit.

If fee calculated, it will be filled.
But if not, it will return empty string('')
statusstringCurrent status of the trade.

'executed': Trade has been made, but fee is not calculated.
'settled': Trade has been made, and fee is calculated.
pricestringTraded price.
quantitystringTraded quantity.
coststringTraded cost.
timestringTimestamp when trade occurred.