From 91dcd8d83b3b3490718ac4e4580f0b006090ddeb Mon Sep 17 00:00:00 2001 From: Frederic Fortier Date: Thu, 4 Jan 2018 02:04:13 -0500 Subject: [PATCH 1/2] BLD: fixed the log granularity --- catalyst/examples/mean_reversion_simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst/examples/mean_reversion_simple.py b/catalyst/examples/mean_reversion_simple.py index 0b96a7ed..dd4bd305 100644 --- a/catalyst/examples/mean_reversion_simple.py +++ b/catalyst/examples/mean_reversion_simple.py @@ -244,7 +244,7 @@ def analyze(context=None, perf=None): if __name__ == '__main__': # The execution mode: backtest or live - live = True + live = False if live: run_algorithm( From 194b96f5c1389201ce740734c7843dcacf1ea238 Mon Sep 17 00:00:00 2001 From: Frederic Fortier Date: Thu, 4 Jan 2018 02:04:36 -0500 Subject: [PATCH 2/2] BLD: fixed the log granularity --- catalyst/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalyst/constants.py b/catalyst/constants.py index 8cfd3a6b..c4111fdd 100644 --- a/catalyst/constants.py +++ b/catalyst/constants.py @@ -7,7 +7,7 @@ import logbook For example, if you want to see the DEBUG messages, run: $ export CATALYST_LOG_LEVEL=10 ''' -LOG_LEVEL = int(os.environ.get('CATALYST_LOG_LEVEL', logbook.DEBUG)) +LOG_LEVEL = int(os.environ.get('CATALYST_LOG_LEVEL', logbook.INFO)) SYMBOLS_URL = 'https://s3.amazonaws.com/enigmaco/catalyst-exchanges/' \ '{exchange}/symbols.json'