This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 695
Examples - backtest.py is not working #102
Comments
I'll take a look. Thanks for reporting. |
I wonder if returning the |
It seems upstream library (backtesting) had some breaking changes, that is what happened here. I'll try to study what was changed in upstream and adopt the example. If not, I'll find a new backtesting library. |
Also interested in using finta with backtest. Any update / workaround? |
I was able to get around the error and make the backtesting.py indicators work by passing in the exact columns finta expects and no other columns.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
After a fresh install attempted to run examples/backtest.py - but:
The data file name has changed:
data_file = os.path.join("tests/data/bittrex:btc-usdt.csv")
data_file = os.path.join("tests/data/bittrex_btc-usdt.csv")
(semi-colon into underscore)
After fixing that attempted to run but it stumbles with an error from
backtesting
The closest SO reference I found is: https://stackoverflow.com/questions/36921951/truth-value-of-a-series-is-ambiguous-use-a-empty-a-bool-a-item-a-any-o
Seems there is some incompatibility for using with
backtesting
The text was updated successfully, but these errors were encountered: