-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: could not convert string to float: Close #266
Comments
can you provide the full trace back please? |
hi Thanks a lot for your reply! here is the full version of the track back. I can provide you with the data, model trained and other related source files if needed :-))ValueError Traceback (most recent call last) in run(config, testing, tickers, filename) /home/fanglei/venv/qstraderp3/lib/python3.5/site-packages/qstrader/price_handler/iq_feed_intraday_csv_bar.py in init(self, csv_dir, events_queue, init_tickers, start_date, end_date) /home/fanglei/venv/qstraderp3/lib/python3.5/site-packages/qstrader/price_handler/iq_feed_intraday_csv_bar.py in subscribe_ticker(self, ticker) /home/fanglei/venv/qstraderp3/lib/python3.5/site-packages/multipledispatch/dispatcher.py in call(self, *args, **kwargs) /home/fanglei/venv/qstraderp3/lib/python3.5/site-packages/qstrader/price_parser.py in parse(x) ValueError: could not convert string to float: 'Close' |
To make it easier to read please format your message. This is easy Aren't you just passing a string to the parser somewhere? |
hello, don't know if anyone can help me, i keep receiving this Value error message while entering the following syntax:
price_handler = IQFeedIntradayCsvBarPriceHandler(
csv_dir, events_queue, tickers, start_date=start_date
)
After that i tried to modify the source code of qstrader, iq_feed_intraday_csv_bar.py making conversion of Close data of type string to float, but doesn't work at all. Many thanks!
The text was updated successfully, but these errors were encountered: