Margin
Endpoint URL
Local Host : POST http://127.0.0.1:5000/api/v1/margin
Ngrok Domain : POST https://<your-ngrok-domain>.ngrok-free.app/api/v1/margin
Custom Domain: POST https://<your-custom-domain>/api/v1/marginSample API Request
{
"apikey": "<your_app_apikey>",
"positions": [
{
"symbol": "NIFTY25NOV2525000CE",
"exchange": "NFO",
"action": "BUY",
"product": "NRML",
"pricetype": "MARKET",
"quantity": "65"
},
{
"symbol": "NIFTY25NOV2525500CE",
"exchange": "NFO",
"action": "SELL",
"product": "NRML",
"pricetype": "MARKET",
"quantity": "65"
}
]
}Sample cURL Request
Sample API Response
Request Body
Parameter
Description
Mandatory/Optional
Default Value
Position Object Fields
Field
Description
Mandatory/Optional
Default Value
Response Fields
Field
Type
Description
Data Object Fields
Field
Type
Description
Notes
Use Cases
Example: Iron Condor Margin
Last updated