Unable to Get Span Margin Calculation for Equity and Option Buying

Hi

I am not able to get the Span Margin Calculation for Equity and Option Buying

I am using V2 API. Below is the code snippet

  1. Equity Order

data = [{ "symbol": "NSE:TATASTEEL-EQ", "qty": 1, "type": 2, "side": 1, "productType": "INTRADAY", "limitPrice": 0,"stopLoss": 0}]

https://api.fyers.in/api/v2/span_margin

The response status coming as 400 and message given please provide valid symbols.

  1. Option Buying

    [{ "symbol": "NSE:BANKNIFTY2392046100CE", "qty": 15,"type": 2, "side": 1,"productType":"INTRADAY", "limitPrice": 0, "stopLoss": 0}]

    https://api.fyers.in/api/v2/span_margin

    The resposne Status coming as 200 but total margin Calculation is 0 for option buying

2 replies