Created
October 11, 2023 16:46
-
-
Save quantra-go-algo/90aa7c4f2723db0bb92d66990be8becb 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
# Compute the DC indicators | |
data = directional_change_events(data, theta=0.004) | |
# Drop NaN values | |
data.dropna(inplace=True) | |
# Present the data | |
data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment