Definitions

Asset Symbols / Trading Pairs

Enum
Description

BTC_USDT

Bitcoin; USD Tether

Order Types

Enum
Description

LIMIT

Limit order.

MARKET

Market order.

LIMIT_MAKER

Limit maker order (if the order being a taker, it will be expired).

Order Sides

Enum
Description

BUY

This order takes away liquidity to the order book (taker)

SELL

This order supplies liquidity to the order book (maker)

Order Status & Lifecycle

Enum
Description

NEW

Order has been received by exchange but it is not valid yet.

OPEN

Order is valid; it has been sent & received by matching engine.

PARTIAL_FILLED

Order is partially matched. Eligible to be partially cancelled.

FILLED

Order is executed successfully. End of state.

PARTIAL_CANCELLED

Order is partially matched and cancelled successfully. End of state.

CANCELLED

Order is cancelled successfully. End of state.

REJECTED

Order is invalid. End of state.

EXPIRED

Order is expired. End of state.

EXPIRED_IN_MATCH

Order has zero matches and then expired due to Self Trade Prevention being triggered. End of state.

PARTIALLY_EXPIRED_IN_MATCH

Order has partially matches and then expired due to Self Trade Prevention being triggered. End of state.

Time Intervals (Candlestick / Kline)

Enum
Description

1min

1 minute; 60 seconds

5min

5 minutes; 300 seconds

15min

15 minutes ; 900 seconds

30min

30 minutes; 1800 seconds

1h

1 hour; 60 minutes

4h

4 hours; 240 minutes

1day

1 day; 24 hours

1week

1 week; 7 days

1month

1 month

Last updated