Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.58 KB

OrderDealItem.md

File metadata and controls

47 lines (37 loc) · 1.58 KB

OrderDealItem

Properties

Name Type Description Notes
id Long Trade record primary key ID [optional]
dealId Long Trade ID [optional]
orderId Long Order ID [optional]
clientOrderId String Client-defined order ID [optional]
userId Integer User ID [optional]
symbol String Symbol [optional]
exchange ExchangeEnum Exchange. - us: US stocks. - hk: Hong Kong stocks. - kr: Korean stocks. - jp: Japanese stocks. [optional]
side SideEnum Side (1=sell, 2=buy) [optional]
role RoleEnum Liquidity role. - maker: Maker. - taker: Taker. [optional]
price String Trade price in the instrument trading currency [optional]
quantity String Trading size [optional]
positionQty String Position quantity after the trade [optional]
avgEntryPrice String Average entry price [optional]
value String Trade value in the instrument trading currency [optional]
fxRate String Quote currency to USD exchange rate [optional]
fee String Fee in the instrument trading currency [optional]

Enum: ExchangeEnum

Name Value
US "us"
HK "hk"
KR "kr"
JP "jp"

Enum: SideEnum

Name Value
NUMBER_1 1
NUMBER_2 2

Enum: RoleEnum

Name Value
MAKER "maker"
TAKER "taker"