-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Triple Barrier Method Labelling using backtesting.py #913
Unanswered
bhavithran1
asked this question in
Q&A
-
Guys, I know that this library is not optimized for this problem so I would like some help on this matter.
- A share/lot is bought at every timestep.
- Attach a sl/tp to the orders
- Have a time limit on each order placed so no order is opened for a long time
The above steps are very easy for me to execute on my own.
However, the later steps are more complicated,
If an order has hit sl , how do I classify the order as a potential short buy?
I want the results in a dataframe with columns [timestep, signal]
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment