Hey everyone,
We have updated the our codebase. The below are the changes done
- Added num_strikes in the option chain
option_chain = tsl.get_option_chain(Underlying="NIFTY", exchange="INDEX", expiry=0, num_strikes=10)
- Fixed the strike selection issue for NIFTY and FINNIFTY.
CE_symbol_name, PE_symbol_name, strike_price = tsl.ATM_Strike_Selection(Underlying='NIFTY', Expiry=0)
- Fetched LTP for INDIA VIX
ltp = tsl.get_ltp_data(['INDIA VIX'])
Use the below code to update the codebase:
pip install --upgrade Dhan-Tradehull
Refer the below pypi link for more details:
https://pypi.org/project/Dhan-Tradehull/