diff --git a/catalyst/__main__.py b/catalyst/__main__.py index ea20c957..3a38ce23 100644 --- a/catalyst/__main__.py +++ b/catalyst/__main__.py @@ -139,7 +139,6 @@ def ipython_only(option): @click.option( '--capital-base', type=float, - default=10e6, show_default=True, help='The starting capital for the simulation.', ) diff --git a/catalyst/constants.py b/catalyst/constants.py index 93c118b6..1793257e 100644 --- a/catalyst/constants.py +++ b/catalyst/constants.py @@ -1,13 +1,14 @@ # -*- coding: utf-8 -*- +import os import logbook -LOG_LEVEL = logbook.INFO - -SYMBOLS_URL = 'https://s3.amazonaws.com/enigmaco/catalyst-exchanges/' \ - '{exchange}/symbols.json' +''' You can override the LOG level from your environment. + 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.INFO)) DATE_TIME_FORMAT = '%Y-%m-%d %H:%M' -DATE_FORMAT = '%Y-%m-%d' -AUTO_INGEST = False +AUTO_INGEST = False \ No newline at end of file