You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "formater_piphist.py", line 30, in
zipfiles = dl(year=j, month=None, pair=symbol, platform=P.GENERIC_ASCII, time_frame=TF.ONE_MINUTE)
File "/usr/local/lib/python3.6/dist-packages/histdata/api.py", line 112, in download_hist_data
raise AssertionError('There is no token. Please make sure your year/month/pair is correct.'
AssertionError: There is no token. Please make sure your year/month/pair is correct.Example is year=2016, month=7, pair=eurgbp`
I am able to download the data, but the token seems to be a required element of the next step, however it does not appear to be the toke that is issued by histdata as it is reported as "missing".
Therefore the script does not continue and no data processing occurs. This seems to be related to my other error with Training_Model.py
What seems to be the root cause?
The text was updated successfully, but these errors were encountered:
While following your suggested example and without performing any edits I get the following error when I run formater_piphist.py
`https://www.histdata.com/download-free-forex-historical-data/?/ascii/1-minute-bar-quotes/usdcad/2018
{'tk': '220375159aaf4276dc3cfb87d9c5c9ac', 'date': '2018', 'datemonth': '2018', 'platform': 'ASCII', 'timeframe': 'M1', 'fxpair': 'USDCAD'}
Wrote to ./DAT_ASCII_USDCAD_M1_2018.zip
https://www.histdata.com/download-free-forex-historical-data/?/ascii/1-minute-bar-quotes/usdcad/2019
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/histdata/api.py", line 110, in download_hist_data
assert len(token) > 0
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "formater_piphist.py", line 30, in
zipfiles = dl(year=j, month=None, pair=symbol, platform=P.GENERIC_ASCII, time_frame=TF.ONE_MINUTE)
File "/usr/local/lib/python3.6/dist-packages/histdata/api.py", line 112, in download_hist_data
raise AssertionError('There is no token. Please make sure your year/month/pair is correct.'
AssertionError: There is no token. Please make sure your year/month/pair is correct.Example is year=2016, month=7, pair=eurgbp`
I am able to download the data, but the token seems to be a required element of the next step, however it does not appear to be the toke that is issued by histdata as it is reported as "missing".
Therefore the script does not continue and no data processing occurs. This seems to be related to my other error with Training_Model.py
What seems to be the root cause?
The text was updated successfully, but these errors were encountered: