algo2t / alphatrade

Python APIs for SAS Online Alpha Trade Web platform for creating algo trading using python
https://algo2t.github.io/alphatrade
MIT License
44 stars 22 forks source link

Not able to place sensex options orders #67

Open sonualok opened 4 months ago

sonualok commented 4 months ago

Describe the bug I am using latest version of alphatrade but I am not able to place sensex options orders.

To Reproduce Steps to reproduce the behavior: I used below sas.get_instrument_for_fno('SENSEX',datetime.date(2024, 3, 21),False,77300,True,'BFO')

It's returning none If I try to get the instrument, Please suggest I am doing anything wrong.

nevatia commented 4 months ago

Check expiry date

sonualok commented 4 months ago

Even with the correct date its not working, sas.get_instrument_for_fno('SENSEX',datetime.date(2024, 3, 22),False,77300,True,'BFO')

Can you send me some working example?