open_order

open_order API shows the user's open orders.

1. Request

param

type

description

type

string

'subscribe' | 'unsubscribe'

channel

string

'open_order'

// request

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

2. Responses

param

type

description

channel

string

It will return 'open_order'

data

OPEN_ORDER[]

Array of OPEN_ORDER.
OPEN_ORDER type is described below.

OPEN_ORDER type

column

type

meaning

id

text

specific id for new order

user_id

text

user id whom makes order

market_id

text

requested market_id

side

text

Either "buy" or "sell"

type

text

Either "limit" or "market"

quantity

text

quantity

limit_price

text

If type is limit, then order's price.

time_in_force

text

selected time_in_force.

filled_cost

string

The amount of filled cost. It is for market.

filled_quantity

string

The amount of filled quantity.

open_quantity

string

The amount of open quantity.

cancelled_quantity

string

The amount of cancelled quantity.

status

string

should be 'open'.

time

Date

Order time.

client_order_id

string

client_order_id.