Funds
Using the Funds API, the user can check the Available Margin with them.
Type | Endpoint | Description |
---|---|---|
GET | /limits | Get the margin limits details of the user to place trades |
Sample Request
curl --location 'https://api.tiqs.trading/user/limits' \
--header 'appId: <YOUR_APP_ID>' \
--header 'token: <YOUR_TOKEN>'
Sample Response
{
"data": [
{
"cash": "281546.12",
"dayCash": "0.00",
"blockedAmount": "0.00",
"unClearedCash": "0.00",
"brokerCollateralAmount": "0.00",
"liquidCollateralAmount": "",
"equityCollateralAmount": "",
"payIn": "0.00",
"payOut": "0.00",
"marginUsed": "",
"cashNCarryBuyUsed": "",
"cashNCarrySellCredits": "",
"turnover": "137509697.25",
"pendingOrderValue": "",
"span": "",
"exposure": "",
"deliveryMargin": "",
"mtomCurrentPct": "0.38",
"realisedPnL": "",
"unRealisedMtoM": "",
"productMargin": "",
"premium": "-4233.75",
"varELMMargin": "",
"grossExposure": "",
"grossExposureDerivate": "",
"scripBasketMargin": "",
"additionalScriptBasketMargin": "",
"brokerage": "1080.00",
"collateral": "",
"grossCollateral": "",
"turnOverLimit": "",
"pendingOrderValueAmount": "",
"currentRealizedPnLei": "",
"currentRealizedPnLem": "",
"currentRealizedPnLc": "",
"currentRealizedPnLdi": "",
"currentRealizedPnLdm": "",
"currentRealizedPnLfi": "",
"currentRealizedPnLfm": "",
"currentRealizedPnLci": "",
"currentRealizedPnLcm": "",
"currentUnRealizedPnLei": "",
"currentUnRealizedPnLem": "",
"currentUnRealizedPnLc": "",
"currentUnRealizedPnLdi": "",
"currentUnRealizedPnLdm": "",
"currentUnRealizedPnLfi": "",
"currentUnRealizedPnLfm": "",
"currentUnRealizedPnLci": "",
"currentUnRealizedPnLcm": "",
"spanDi": "",
"spanDm": "",
"spanFi": "",
"spanFm": "",
"spanCi": "",
"spanCm": "",
"exposureMarginDi": "",
"exposureMarginDm": "",
"exposureMarginFi": "",
"exposureMarginFm": "",
"exposureMarginCi": "",
"exposureMarginCm": "",
"premiumDi": "-4482.75",
"premiumDm": "249.00",
"premiumFi": "",
"premiumFm": "",
"premiumCi": "",
"premiumCm": "",
"varELMei": "",
"varELMem": "",
"varELMc": "",
"coveredProductMarginEh": "",
"coveredProductMarginEb": "",
"coveredProductMarginDh": "",
"coveredProductMarginDb": "",
"coveredProductMarginFh": "",
"coveredProductMarginFb": "",
"coveredProductMarginCh": "",
"coveredProductMarginCb": "",
"scripBasketMarginEi": "",
"scripBasketMarginEm": "",
"scripBasketMarginEc": "",
"additionalScripBasketMarginDi": "",
"additionalScripBasketMarginDm": "",
"additionalScripBasketMarginFi": "",
"additionalScripBasketMarginFm": "",
"additionalScripBasketMarginCi": "",
"additionalScripBasketMarginCm": "",
"brokerageEi": "",
"brokerageEm": "",
"brokerageEc": "",
"brokerageEh": "",
"brokerageEb": "",
"brokerageDi": "1080.00",
"brokerageDm": "",
"brokerageDh": "",
"brokerageDb": "",
"brokerageFi": "",
"brokerageFm": "",
"brokerageFh": "",
"brokerageFb": "",
"brokerageCi": "",
"brokerageCm": "",
"brokerageCh": "",
"brokerageCb": "",
"peakMargin": "",
"requestTime": "19:37:24 27-03-2024"
}
],
"status": "success"
}