mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 09:37:54 +08:00
19 lines
473 B
Python
19 lines
473 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
import os
|
|
import logbook
|
|
|
|
''' 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))
|
|
|
|
SYMBOLS_URL = 'https://s3.amazonaws.com/enigmaco/catalyst-exchanges/' \
|
|
'{exchange}/symbols.json'
|
|
|
|
DATE_TIME_FORMAT = '%Y-%m-%d %H:%M'
|
|
DATE_FORMAT = '%Y-%m-%d'
|
|
|
|
AUTO_INGEST = False
|