| 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] |
| Name | Value |
|---|---|
| US | "us" |
| HK | "hk" |
| KR | "kr" |
| JP | "jp" |
| Name | Value |
|---|---|
| NUMBER_1 | 1 |
| NUMBER_2 | 2 |
| Name | Value |
|---|---|
| MAKER | "maker" |
| TAKER | "taker" |