Skip to content

Commit

Permalink
Changed var names
Browse files Browse the repository at this point in the history
  • Loading branch information
scrappycat committed Mar 19, 2017
1 parent d6d9adb commit 157ad44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.py
Expand Up @@ -47,8 +47,8 @@

# # Momentum calculations

MY_SHORT_MAV_TIME_PERIOD = int(os.environ['MY_SHORT_MAV_TIME_PERIOD'])
MY_MAV_TIME_PERIOD = int(os.environ['MY_MAV_TIME_PERIOD'])
MY_SHORT_MAV_TIME_PERIOD = int(os.environ['MORPH_MY_SHORT_MAV_TIME_PERIOD'])
MY_MAV_TIME_PERIOD = int(os.environ['MORPH_MY_MAV_TIME_PERIOD'])

for sec in pricing_data.keys():
pricing_data[sec]["MY_MAV"] = SMA(pricing_data[sec]["Close"].values, timeperiod=MY_MAV_TIME_PERIOD)
Expand Down

0 comments on commit 157ad44

Please sign in to comment.