diff --git a/pandas_eval.py b/pandas_eval.py index e4f3827..3118844 100644 --- a/pandas_eval.py +++ b/pandas_eval.py @@ -20,9 +20,9 @@ import os # https://ntguardian.wordpress.com/2016/09/19/introduction-stock-market-data-python-1 key = '0UO7Z2MVZ2YSQSVE' -thresh_macd = 1.0 +thresh_macd = 0.5 show_range_days = 20 -show_title = ['SIE.DE'] +show_title = [] k_euro = 1 / 1.11 N_poly = 7 @@ -188,8 +188,7 @@ class Symbol(object): fetch = False today = dt.date.today() try: - hdf = pd.HDFStore(filename, 'r') - hdf.close() + hdf = pd.HDFStore(filename) except: fetch = True