trade_history

1. Request

param

type

description

type

string

'subscribe' | 'unsubscribe'

channel

string

'trade_history'

// request

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

2. Responses

param

type

description

channel

string

'trade_history'

result

TRADE_HISTORY[]

Array of TRADE_HISTORY.
ORDER_HISTORY type is described below.

reset

boolean

true: sended with initial data

TRADE_HISTORY type

column

type

meaning

id

text

specific id for trade

order_id

text

related order id.

market_id

text

requested market_id

side

text

Either "buy" or "sell"

fee_amount

text

Fee amount that paying to ProBit.

If fee calculated, it will be filled.
But if not, it will return empty string('').

fee_currency_id

text

Fee currency that paying to ProBit.

If fee calculated, it will be filled.
But if not, it will return empty string('')

status

string

Current status of the trade.

'executed': Trade has been made, but fee is not calculated.
'settled': Trade has been made, and fee is calculated.

price

string

Traded price.

quantity

string

Traded quantity.

cost

string

Traded cost.

time

string

Timestamp when trade occurred.