algo2t / alphatrade

Python APIs for SAS Online Alpha Trade Web platform for creating algo trading using python

Home Page:https://algo2t.github.io/alphatrade

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

historical data error !!!!!!

eaywok opened this issue · comments

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