amor71 on scheduled-update-2022-06-20
amor71 on scheduled-update-2022-06-27
Update pandas_market_calendars … (compare)
amor71 on scheduled-update-2022-06-27
Update mnqueues from 0.0.38 to … (compare)
amor71 on scheduled-update-2022-06-27
Pin pandas_market_calendars to … (compare)
amor71 on scheduled-update-2022-06-27
Update yfinance from 0.1.70 to … (compare)
amor71 on scheduled-update-2022-06-27
Update widgetsnbextension from … (compare)
amor71 on scheduled-update-2022-06-27
Update websocket-client from 1.… (compare)
amor71 on scheduled-update-2022-06-27
Update virtualenv from 20.14.1 … (compare)
amor71 on scheduled-update-2022-06-27
Update validators from 0.19.0 t… (compare)
amor71 on scheduled-update-2022-06-27
Update types-tabulate from 0.8.… (compare)
amor71 on scheduled-update-2022-06-27
Update types-requests from 2.27… (compare)
amor71 on scheduled-update-2022-06-27
Update types-pytz from 2021.3.8… (compare)
amor71 on scheduled-update-2022-06-27
Update twine from 4.0.0 to 4.0.1 (compare)
amor71 on scheduled-update-2022-06-27
Update types-python-dateutil fr… (compare)
Traceback (most recent call last):
File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/liualgotrader/consumer.py", line 853, in queue_consumer
if not await handle_data_queue_msg(
File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/liualgotrader/consumer.py", line 804, in handle_data_queue_msg
return await handle_transaction(symbol, data, trader, data_loader)
File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/liualgotrader/consumer.py", line 459, in handle_transaction
data["timestamp"].replace(second=0, microsecond=0, nanosecond=0)
KeyError: 'timestamp'
[queue_consumer()][36534]2021-06-23 20:45:26.380500:error: Traceback (most recent call last):
streamlit
and focusing on the Jupyter Notebooks. The reason is that streamlit was slow to adopt to 3.9 and I don't have the capacity to support both notebooks and streamlit, the community seems to prefer the notebooks anyhow.
Based off these points in the docs
When the backtester application starts, it lists all the stocks picked by the scanners during the trading session.
backtester re-runs each session, by loading per-minute candles for the stock trading session (up to one week back).
I am a bit confused on how to load intraday historical data for a session I did not trade. I did read a note on using the miners in the documentation as well but it seems as though this type of loading must be supported in some way? Essentially I am looking to backtest on a prior trade day for which I have no data for, no prior batch-id. Likely I am misunderstanding something here.
backtest
I would suggest following this: https://amor71.medium.com/liualgotrader-part-ii-putting-it-all-together-1d447650808b