mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
* init * fix tables * add shortcuts * handle svgs * test * test2 * test3 * Update loggers.py * Update sdk_helpers.py * Update loggers.py * Update loggers.py * updates * updates * update * handle add text high/low for candlestick traces when updating * adding save overlay to tables * maybe fix * prints * asdf * working * working * removing prints * update * fix no figure title text * add trace labels space * download finished popup for MacOS * bump pywry * update * update table * Update plotly_helper.py * only format numbers over 10_000 on tables * Delete generate_index.py * turn off logs in generations * update tables * bump pywry, fix tables, added ichimoku ta indicator * Update backend.py * mypy * update tables * updates * juan more * tables * test * bump pywry * bump pywry * Update loggers.py * test * fixing some formatting * add update button to indicators dashboard * fix oecd dates to be full dates * prepare charts/tables for pywry update * Update poetry.lock * Update finviz_view.py * tests * tests * tests * tests * testss? * tests * Create test_call_func[call_sec-nasdaq_view.sec_filings-other_args37-called_with37].yaml * testtss please * Update loggers.py * testss * `with open(newline="\n")` * tests * tests -__- * why * Revert "`with open(newline="\n")`" This reverts commit554e0f53f4. * Revert "why" This reverts commit89f1d9b823. * Revert "tests -__-" This reverts commita9c694ae96. * Revert "tests" This reverts commit5463249498. * whelp * . * rename `streamlit.py` -> `streamlit_run.py`, bump pywry/finviz/streamlit * Update backend.py * update * Revert "update file" --------- Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com> Co-authored-by: James Maslek <jmaslek11@gmail.com>
45 lines
1.1 KiB
Python
45 lines
1.1 KiB
Python
import sys
|
|
from multiprocessing import freeze_support
|
|
|
|
import openbb_terminal.config_terminal as cfg
|
|
|
|
# pylint:disable=unused-import,import-outside-toplevel
|
|
import openbb_terminal.core.session.current_system as syst # noqa: F401
|
|
from openbb_terminal.terminal_helper import (
|
|
hide_splashscreen,
|
|
is_auth_enabled,
|
|
is_installer,
|
|
)
|
|
|
|
|
|
def main():
|
|
sent_args = sys.argv[1:]
|
|
cfg.setup_config_terminal()
|
|
|
|
if "--streamlit" in sent_args:
|
|
from openbb_terminal.dashboards import streamlit_run
|
|
|
|
hide_splashscreen()
|
|
sys.exit(streamlit_run.main())
|
|
|
|
if "-t" in sent_args or "--test" in sent_args:
|
|
from openbb_terminal.core.integration_tests import integration_controller
|
|
|
|
integration_controller.main()
|
|
else:
|
|
from openbb_terminal.core.session import session_controller
|
|
|
|
if (
|
|
is_auth_enabled()
|
|
and ("--login" in sys.argv[1:] or is_installer())
|
|
and sys.stdin.isatty()
|
|
):
|
|
session_controller.main()
|
|
else:
|
|
session_controller.launch_terminal()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
freeze_support()
|
|
main()
|