Skip to content

Instantly share code, notes, and snippets.

@HumanRupert
Created June 11, 2021 15:25
Show Gist options
  • Save HumanRupert/ae1baf2a2e8e5770f0a110dd132f4158 to your computer and use it in GitHub Desktop.
Save HumanRupert/ae1baf2a2e8e5770f0a110dd132f4158 to your computer and use it in GitHub Desktop.
WATCHLIST_WINDOW_DAYS = 30
ABOVE_PIVOT_PCT = 1.01
TAKE_PROFIT_PCT = 1.15
STOP_LOSS_PCT = .95
PATIENCE_WINDOW_DAYS = 21
START = datetime(2016, 1, 1)
END = datetime(2018, 1, 1)
BENCHMARK = "SPY"
SHORT_MA_LEN = 50
LONG_MA_LEN = 200
CAPITAL_BASE = 10000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment