Overview
The Balance API should return the trading account balance information for a user’s account on a specific date. This is essential for Quicko to accurately compute taxes and prepare financial reports based on account balances as of a particular date (e.g., year-end, month-end, or any regulatory date).Query Parameters
Your API should accept adate query parameter to retrieve balance information for that specific date. This allows Quicko to fetch historical balance data when needed for compliance and tax computation purposes.
Response
Your Balance API should return the following balance information:| Param | Type | Required | Description |
|---|---|---|---|
| acc_type | String | No | Type of account, i.e., commodity or security |
| opening_balance | Number | No | The opening balance of the trader |
| used_margin | Number | Yes | The margin used by the trader. Positive values denote the amount blocked into an open order or position. A Negative value denotes the amount being released. |
| available_margin | Number | Yes | Total margin available for trading |
| closing_balance | Number | Yes | The closing balance of the trader |