Created
May 22, 2024 16:38
-
-
Save quantra-go-algo/1ceaba05bd296e071b25c6ea72a9e3f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Obtain the prediction feature with the above function | |
data['y'] = triple_barrier_method(data, holding_period=10, upper_lower_multipliers=[2, 1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment