historical data error !!!!!!
eaywok opened this issue · comments
EAYWOK commented
nifty_bank_nse_index = sas.get_instrument_by_symbol('NSE', 'Nifty Bank')
df = sas.get_historical_candles(nifty_bank_nse_index.exchange, nifty_bank_nse_index.symbol,
datetime(2022, 10, 10, 9, 15, 0), datetime.now(), interval=1,
is_index=True)
error:::::-----------------------------
Traceback (most recent call last):
File "e:!TRADING STUFF\ALPHA trade\sas.py", line 29, in
datetime(2022, 10, 10, 9, 15, 0), datetime.now(), interval=1,
TypeError: 'module' object is not callable