Please find the above error while executing the short straddle strategy , could you please let me know where i’m going wrong?
Hi Manjunath007,
The error means that you are sending the wrong trading symbol. Please double-check the symbol and try again.
This is the sample curl. Please increase the Strike Price value of BANKNIFTY to the Rs.30,000.
curl --location ‘https://connect.thefirstock.com/api/V3/strategies/shortStraddle’
–header ‘Content-Type: application/json’
–data ‘{
“symbol”: “BANKNIFTY”,
“strikePrice”: “44000”,
“expiry”: “01JUN23”,
“product”: “C”,
“quantity”: “20”,
“remarks”: “Test1”,
“jKey”: “",
“userId”: "”,
“hedge”: “false”,
“hedgeValue”:“0”
}’
I’m using the correct symbol name as mentioned in Screenshot I’m using the banknifty symbol name as given in Documentation. Could you please give any useful information on solving this error. I’m using python code not the curl
TIA