Can we trade in nifty options using dhanhq API?

Can we trade in nifty options using dhanhq API?

Yes you can @AmitKumar

Thanks! @t7support ,

Would you please help me share some documentation around nifty & bank nifty option api’s? Any simple example would be enough to take it forward.

thanks!
Amit.

The documentation is here. U can use the generic api functions here and give the appropriate instrument specifics as input to get what u want accomplished.

Thanks! @t7support ,

Got it now. Initially, i didn’t read it carefully.

Regards
Amit K.

hello @t7support ,

csv file: https://images.dhan.co/api-data/api-scrip-master.csv,

How often security_id got updated for options in csv file? I believe there must be some logic behind to generate security_id for options strike price and expiry.
If you can’t share that, what would be the best time to download the new file?

Thanks!
Amit Kumar

Hi @t7support ,

Seems i am able to find an alternative to load this file on daily basis automatically instead of storing it locally.

thanks!
Amit.

1 Like

This file is updated by the exchange every day it seems if am not wrong.