Closed Suresh-py closed 1 month ago
I fixed this one. Just running tests to see if anything else crops up. I will post the update once its done.
Thanks for the good work.
I fixed errors in backtest.py. You can update your repo to the latest.
Note for backtest.py -d/--date is mandatory now. This prevents a lots of potential bugs especially on intraday tf. I will update the wiki docs on the weekend.
I've put best efforts to check for errors but if you do find any let me know. I will get them fixed. Thanks again.
Thank you for fixing the errors. I will test and let you know
When trying to run the backtest the below error messages are displayed. Can you please look into it
` Microsoft Windows [Version 10.0.22621.4112] (c) Microsoft Corporation. All rights reserved.
C:\Users\Desktop\stock-pattern-main\src>py backtest.py -p trng --date 2023-12-01 --tf weekly 2%|█▉ | 46/1864 [00:02<01:50, 16.41it/s] concurrent.futures.process._RemoteTraceback: """ Traceback (most recent call last): File "C:\Program Files\Python312\Lib\concurrent\futures\process.py", line 263, in _process_worker r = call_item.fn(*call_item.args, **call_item.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Desktop\stock-pattern-main\src\backtest.py", line 151, in scan start = df.index[pos - period]