Closed theanonymoustrader closed 1 year ago
See to it that it's not a case of https://github.com/kernc/backtesting.py/discussions/411. In any event, this issue is lacking details to reliably investigate/reproduce it.
I've put 1.000.000 as cash and nothing changed. What kind of details do you want?
I see now, you're using your indicators wrong. See the tutorials.
What kind of details do you want?
Usually just a MWE. Something that can be cut and pasted to independently verify.
Expected Behavior
Hello! I'm tryin' to build a strategy that buy if the closing price is under the lower BBands (and take profit at its opposite) and sell if the closing price is higher than the upper bollinger band; this two operations will be opened only if the BBandwith will be at 0.05 or less. Currently, no operation are opened. This is my strategy.
class LaStrategia(Strategy):
`
I'm running python version 3.10 and backtesting.py 0.3.3 os osX last version. Thanks for the support.