From 157ad44d40d0bd39a40971902e96e7b094d596e6 Mon Sep 17 00:00:00 2001 From: scrappycat Date: Sun, 19 Mar 2017 14:06:44 +1100 Subject: [PATCH] Changed var names --- scraper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scraper.py b/scraper.py index 408d5d7..2b008cb 100644 --- a/scraper.py +++ b/scraper.py @@ -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)