mwfin/src/mwfin/constants.py

20 lines
438 B
Python
Raw Normal View History

MAIN_LOGGER_NAME = 'mwfin'
2021-11-28 16:24:14 +01:00
2021-11-26 12:47:58 +01:00
HTML_PARSER = 'html.parser'
DOMAIN = 'www.marketwatch.com'
2021-11-27 18:11:16 +01:00
BASE_URL = f'https://{DOMAIN}/investing/stock'
DEFAULT_CONCURRENT_BATCH_SIZE = 1
2021-11-26 12:47:58 +01:00
2021-11-28 16:24:14 +01:00
BS, IS, CF = 'Balance Sheet', 'Income Statement', 'Cash Flow Statement'
2021-11-26 12:47:58 +01:00
FIN_STMT_URL_SUFFIX = {
BS: '/balance-sheet',
IS: '',
CF: '/cash-flow'
}
2021-12-26 19:04:23 +01:00
INDENT_MAP = {
'indent--small': 1,
'indent--medium': 2,
'indent--large': 3,
}
2021-11-26 21:38:10 +01:00
END_DATE = 'End Date'