Funds
This API allows you to fetch the available balance of your capital and commodity accounts.
USE CASE
Check how much balance is available before placing an order.
Details
- Shows the balance available for the user for capital as well as the commodity market.
- Your app needs the Transactions Info permission. Funds is part of that template, along with Orders, Positions, Trades, Holdings and Market Status.
- The request takes no parameters. The response returns a
fund_limitlist with one row per ledger heading. - Each row has an
id, atitle, anequityAmountfor the capital ledger and acommodityAmountfor the commodity ledger. - The sample response lists these titles: Total Balance, Utilized Amount, Clear Balance, Realized Profit and Loss, Collaterals, Fund Transfer, Receivables, Adhoc Limit, Limit at start of the day and Available Balance.
- Look up the row you need, for example Available Balance, by its
titleinstead of relying on its position in the list. - To find out the margin a specific order needs, use the Margin Calculator.
- Rate limits differ between the Standard and Prime plans. See Plans & rate limits.
Response Attributes
| Attribute | Data Type | Description |
|---|---|---|
id | int | Unique identity for particular fund |
title | string | Each title represents a heading of the ledger |
equityAmount | float | The amount in the capital ledger for the above-mentioned title |
commodityAmount | float | The amount in the commodity ledger for the above-mentioned title |
Last updated on