Fixed Profit Target and Stop Loss #765
Unanswered
RishabM245
asked this question in
Q&A
Replies: 1 comment
-
I also need this feature |
Beta Was this translation helpful? Give feedback.
0 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.
-
I am working on backtesting a strategy using VectorBT, and I was wondering if there is a way to have a fixed profit target and stop loss from the entry price. Specifically, I want to have a profit target of the high + range and a stop loss as the low - range. I tried using the adjust_tp_func_nb argument in the from_signals method, but I am not sure if this is the proper way to do this. Could someone please provide a suggestion for how I can implement this specific type of feature.
Beta Was this translation helpful? Give feedback.
All reactions