mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-27 11:41:32 +00:00
* check that routine title is valid * more updates * small fixes * override local routine * more improvements to routine logic * --debug runs .dev
60 lines
1.3 KiB
Python
60 lines
1.3 KiB
Python
from os import environ
|
|
|
|
if str(environ.get("DEBUG_MODE", "false")).lower() != "true":
|
|
BASE_URL = "https://payments.openbb.dev/"
|
|
HUB_URL = "https://my.openbb.dev/"
|
|
else:
|
|
BASE_URL = "https://payments.openbb.co/"
|
|
HUB_URL = "https://my.openbb.co/"
|
|
|
|
# BASE_URL = "http://127.0.0.1:8000/"
|
|
|
|
REGISTER_URL = HUB_URL + "register"
|
|
SUPPORT_URL = HUB_URL + "app/terminal/support"
|
|
SOURCES_URL = HUB_URL + "app/terminal/data-sources"
|
|
KEYS_URL = HUB_URL + "app/terminal/api-keys"
|
|
COLORS_URL = HUB_URL + "app/terminal/theme"
|
|
CHARTS_TABLES_URL = HUB_URL + "app/terminal/theme/charts-tables"
|
|
|
|
DEFAULT_ROUTINES_URL = "https://openbb-cms.directus.app/items/Routines"
|
|
|
|
TIMEOUT = 30
|
|
CONNECTION_ERROR_MSG = "[red]Connection error.[/red]"
|
|
CONNECTION_TIMEOUT_MSG = "[red]Connection timeout.[/red]"
|
|
|
|
SCRIPT_TAGS = [
|
|
"stocks",
|
|
"crypto",
|
|
"etf",
|
|
"economy",
|
|
"forex",
|
|
"fixed income",
|
|
"alternative",
|
|
"funds",
|
|
"bonds",
|
|
"macro",
|
|
"mutual funds",
|
|
"equities",
|
|
"options",
|
|
"dark pool",
|
|
"shorts",
|
|
"insider",
|
|
"behavioral analysis",
|
|
"fundamental analysis",
|
|
"technical analysis",
|
|
"quantitative analysis",
|
|
"forecasting",
|
|
"government",
|
|
"comparison",
|
|
"nft",
|
|
"on chain",
|
|
"off chain",
|
|
"screener",
|
|
"report",
|
|
"overview",
|
|
"rates",
|
|
"econometrics",
|
|
"portfolio",
|
|
"real estate",
|
|
]
|