| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | Balance change record ID | [optional] |
| time | Long | The timestamp of the change (in milliseconds) | [optional] |
| currency | String | Currency changed | [optional] |
| change | String | Amount changed. Positive value means transferring in, while negative out | [optional] |
| balance | String | Balance after change | [optional] |
| type | TypeEnum | Account change type, including: - in: transferals into cross margin account - out: transferals out from cross margin account - repay: loan repayment - borrow: borrowed loan - new_order: new order locked - order_fill: order fills - referral_fee: fee refund from referrals - order_fee: order fee generated from fills - unknown: unknown type | [optional] |
| Name | Value |
|---|---|
| IN | "in" |
| OUT | "out" |
| REPAY | "repay" |
| BORROW | "borrow" |
| NEW_ORDER | "new_order" |
| ORDER_FILL | "order_fill" |
| REFERRAL_FEE | "referral_fee" |
| ORDER_FEE | "order_fee" |
| UNKNOWN | "unknown" |