Skip to content

Instantly share code, notes, and snippets.

@davidzhaodz
Last active January 9, 2021 11:44
Show Gist options
  • Save davidzhaodz/b8207edf2040208b67fe34d7e48c47b3 to your computer and use it in GitHub Desktop.
Save davidzhaodz/b8207edf2040208b67fe34d7e48c47b3 to your computer and use it in GitHub Desktop.
# determining our "bin" labels
labels = get_bins(triple_barrier_events, data['close'])
labels.side.value_counts()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment