Trailing Stop Loss #238
Unanswered
nigelkhakoo
asked this question in
Q&A
Replies: 2 comments 5 replies
-
This is what backtesting.py/backtesting/lib.py Lines 442 to 450 in a49122c Namely, it continually sets trade's .sl properties.
These strategies in |
Beta Was this translation helpful? Give feedback.
3 replies
-
@kernc Since trailing SL is setting the
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi - I am an experienced trader but am pretty new to coding /python. I have implemented an event driving backtest using this library with self.buy() and self.sell(). Is there anyway to add trailing stop losses to this method of backtesting or do I have to use the vectorised backtesting method which I have not yet tried ?
Great library by the way.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions