amor71 on scheduled-update-2022-05-09
amor71 on scheduled-update-2022-05-16
Update nest_asyncio from 1.5.4 … (compare)
amor71 on scheduled-update-2022-05-16
Update zipp from 3.7.0 to 3.8.0 (compare)
amor71 on scheduled-update-2022-05-16
Update wrapt from 1.13.3 to 1.1… (compare)
amor71 on scheduled-update-2022-05-16
Update widgetsnbextension from … (compare)
amor71 on scheduled-update-2022-05-16
Update websockets from 9.1 to 1… (compare)
amor71 on scheduled-update-2022-05-16
Update websocket-client from 1.… (compare)
amor71 on scheduled-update-2022-05-16
Update virtualenv from 20.13.1 … (compare)
amor71 on scheduled-update-2022-05-16
Update validators from 0.18.2 t… (compare)
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
Traceback (most recent call last):
File "/Users/joshuakang/.pyenv/versions/3.9.5/envs/py395/lib/python3.9/site-packages/liualgotrader/scanners_runner.py", line 29, in scanner_runner
symbols = await scanner.run()
File "/Users/joshuakang/git/trading_bot/liu/v1/../scanners/gold_digger.py", line 29, in run
.close[back_time - timedelta(days=90) : back_time] # type: ignore
TypeError: unsupported operand type(s) for -: 'NoneType' and 'datetime.timedelta'
[scanner_runner()][88091]2021-08-19 10:46:43.546915:[ERROR]Exception in scanner_runner(GoldDigger): exception of type TypeError with args ("unsupported operand type(s) for -: 'NoneType' and 'datetime.timedelta'",)
trader
or backtester
... ?