Skip to content

Instantly share code, notes, and snippets.

@under0tech
Created September 16, 2022 17:17
Show Gist options
  • Save under0tech/6d6a3f10374a20203f4ece26c228807c to your computer and use it in GitHub Desktop.
Save under0tech/6d6a3f10374a20203f4ece26c228807c to your computer and use it in GitHub Desktop.
# SETTINGS
# Window size or the sequence length, 7 (1 week)
N_STEPS = 7
# Lookup steps, 1 is the next day, 3 = after tomorrow
LOOKUP_STEPS = [1, 2, 3]
# Stock ticker, GOOGL
STOCK = 'GOOGL'
# Current date
date_now = tm.strftime('%Y-%m-%d')
date_3_years_back = (dt.date.today() - dt.timedelta(days=1104)).strftime('%Y-%m-%d')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment