teh_coderer
61093518b3
Update plotly_helper.py
2023-05-04 11:39:06 -04:00
teh_coderer
4100d393de
init
2023-05-01 10:46:48 -04:00
teh_coderer
ea393dcfa8
Feature/ pywry posthog ( #4860 )
...
* posthog
* Update index.html
* remove console logs
* fix feature flag getting sent
* adding to frontend-components
* updates
* Update main.js
* alias
* Update backend.py
* Update backend.py
* tables handle null
* Update helper_funcs.py
* Update volatility_view.py
---------
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
2023-04-24 19:36:46 +00:00
teh_coderer
7b7789149d
hotfix / Plots Performance ( #4829 )
...
* init
* adjustments
2023-04-20 19:44:35 +00:00
James Maslek
07d9ed2c9e
Feature/featflags destroy ( #4822 )
...
* Remove ION from prefs
* Remove featflag rich
* remove cmdloc and watermark
* remove color featflag
2023-04-18 20:20:58 +00:00
teh_coderer
fea595c8a0
Hotfix/ Economy oecd_view docstrings Remove finviz image cmds ( #4783 )
...
* idk
* g
* Update oecd_view.py
* Update oecd_view.py
* Update oecd_view.py
* Update oecd_view.py
* remove spectrum,view finviz functions
* Update plotly.html
* Update plotly.html
* adjustments
2023-04-14 18:06:41 +00:00
montezdesousa
8113c66ddc
Speed up integration tests workflow ( #4784 )
...
* Update macos-build.yml
* Update macos-build.yml
* Update macos-build.yml
* Update macos-build.yml
* Update macos-build.yml
* Update macos-build.yml
* Update macos-build.yml
* Update test_stocks_disc.openbb
* comment heatmap
* reduce workflow to test
* revert, doesnt run without this
* run tests sequentially
* Update macos-build.yml
* Update test_stocks_disc.openbb
* Update integration_controller.py
* Update integration_controller.py
* Update test_stocks_disc.openbb
* juan magic
* Update test_account.openbb
* pass user and system to test with multiprocessing
* ruff
* Update macos-build.yml
* comment
* update readme
* pipe tee instead of > cat
* mypy
* import from models
* update account script for guest user
2023-04-14 16:52:14 +00:00
montezdesousa
4cd5a8d5bb
Split table and chart theme ( #4767 )
...
* split table and chart theme
* add comment
* add comment
* josé does not like white
* rename chart, style vars
* change settings controller help
* Update settings_controller.py
2023-04-14 13:23:31 +00:00
teh_coderer
0e9abc3a84
Feature/ Voila to Streamlit Dashboards ( #4755 )
...
* idk
* g
* idk
* init
* revert old push
* pylint
* ruff
* update
* mypy
* tests
* LF
* tests
* Update Futures.py
* tests?
* fix intraday candle breaks
* tests????
* remove matplotlib from settings controller, autocomplete for flair cmd
* Update test_settings_controller.py
* remove streamlit activate warnings as it's not needed anymore
* bump pywry
* fix daily date gaps
* Update pytrends
* Update terminal.spec
* Update terminal.spec
* Update terminal.spec
* Update macos-build.yml
* Update macos-build.yml
* Update windows10_build.yml
* Update terminal.spec
* streamlit
* streamlit configs
* test
* lint
* cmd source in charts
* Update dashboards_controller.py
* Update dashboards_controller.py
* Update backend.py
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-04-12 20:38:56 +00:00
montezdesousa
d2212cd7c3
Warn user when there is no personal access token ( #4725 )
...
* warn user if no token found - 404
* add spaces to colors and theme application
* be more explicit about which color preference is failing
---------
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
2023-04-10 10:50:29 +00:00
teh_coderer
43dbc12e17
Feature/Interactive Plot CSV Bar ( #4664 )
...
* init
* cleanup
* Update popups.js
* Update popups.js
* Update plotly.html
* add hoverlabel to `ba/redditsent` #4618
2023-04-03 16:25:08 +00:00
Henrique Joaquim
13a91af400
Remove references to environment variables ( #4633 )
...
* removing references to test_mode as env variable
* removing references to os.getenv
* adding functions to change system properties
* removing references to env
* introducing set_system_variable and removing change_logging_suppress function
* removing change_test_mode and change_debug_mode
* removing change_log_collect
* adjusting config_terminal and generate_sdk
* generating the sdk
* removing unused imoports
* introducing DISABLE_STREAMLIT_WARNING
* removing load_env_vars
* test_print_help test
* sync tests
* rewrite tests
* setting the auth to True as default
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
2023-04-03 16:22:41 +00:00
teh_coderer
f4b55148ba
hotfix/ Avoid starting plots_backend twice on boot ( #4658 )
...
* avoid starting plots_backend twice on boot, declutter `call_intro`
* Update config_terminal.py
* pylint
* @hjoaquim suggestions
* Update sdk.py
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
2023-04-03 13:51:30 +00:00
montezdesousa
f5230b26c0
Hub | sync, pull, sources and other updates ( #4640 )
...
* remove sync and pull
* ruff
* remove runtime fetch configs
* add comment
* reset when logged
* update translation yml file
* sdk regen
* print bold red messages if logout process fails
* fix sources not being applied
* handle bad json
* update hub links
* save terminal crash when sources file is broken
* add user defaults to gitignore
* actually no needed, will just be more specific about richstyle coming from hub
* black
* rewrite stdout
* fix session_model tests
* fix sdk session tests
* move paths
* remove duplicate line
* fix user being reset in test_logout_user test
* remove unecessary recording
* change colors msg
* remove repeated code
2023-04-03 13:49:53 +00:00
jose-donato
165abe2480
Adds foundation for dark mode from user ( #4623 )
...
* fix: adds foundation for dark mode from user
* start theme sync with hub
* send chart_tables to backend
* last fix
* fix: pushed table html
* fix: footer size wasnt correct
---------
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
2023-04-03 10:58:40 +00:00
teh_coderer
4861b4f261
init ( #4636 )
2023-03-30 14:51:08 +00:00
teh_coderer
7ce8a9e20c
Hotfix/ta srlines ( #4630 )
...
* init
* Update style.css
* oops was stashed
* Update popups.js
* bump plotly.js version
* fix disappearing modebar
* updates
* Update plotly.html
* bump pywry
* Update ta_class.py
* Update main.js
* bump, pdf support
* Update plotly_helper.py
* tests
2023-03-30 12:58:00 +00:00
teh_coderer
30ca6c69e0
Hotfix/options plot-smile ( #4613 )
...
* init
* Update style.css
* oops was stashed
* Update popups.js
* bump plotly.js version
* fix disappearing modebar
2023-03-29 17:51:02 +00:00
teh_coderer
2b6bbca775
bump pywry to 0.4.1 ( #4607 )
2023-03-28 14:34:05 +00:00
teh_coderer
401a78278d
Interactive Charts Improvements ( #4586 )
...
* ship it
* edits to bot docs
* Update generate_sdk_markdown.py
* splitting installation
* Update plotly.html
* no pywry print if using sdk
* Update popups.js
* Update plotly.html
* Update popups.js
* update bot index.mdx's, ramenize generate_index.py
* remove older index.md files
* added logic for light themes, refactor `generate_sdk_markdown.py` for reference cards
* reshow modebar
* Update plotly_helper.py
* fix reset reloading of env files
* refactor doc generation files
* Update plotly_helper.py
* cleanup
* Update generate_sdk_markdown.py
* Update plotly_helper.py
* updates
* fix csv_columns select overflow
* for james with love
* remove division `/ 1000` from options_view
* Update backend.py
* Update popups.js
* csv plot candlestick logic for same Yaxis
* Update plotly_helper.py
* Update plotly.html
---------
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
2023-03-27 22:04:41 +00:00
montezdesousa
b6b42afd71
Hub | Add colors, sources sync ( #4546 )
...
* fix show version
* update login prompt and account
* update set preference
* fix account controller
* block login/logout if not called from account
* change conditions to start terminal
* fix required args account model
* add not to login command
* pylint
* accounte controller messages
* set default user when logout
* logout then show menu
* remove unused functions
* fix logging bug
* ruff
* fix account unittests
* fix session unittests
* refactor colors preference
* no theme, no party
* add colors sync
* dynamic theme
* add comment
* add colors to settings
* ruff
* linting
* update menu desc
* adjust keys sync flag
* write to dotenv sync flag
* english
* fix pull command
* fix edge cases
* handle some errors
* small bug
* change func name
* pylint
* no light
* colors preview
* ruff
* fix login logout preferences
* ruff
* delete folder
* pylint
* default, custom, hub
* fix clear
* docstring
* add preference exceptions
* set only rich style
* request theme only if hub
* linting
* change guest msg
* add option to update chart style on the fly
* apply style
* rollback to old terminal style
* fix console theme
* remove print
* remove hub rich style
* ruff
* mypy
* black
* Hub | Add sources sync (#4565 )
* Add sources model
* adapt session model
* fetch sources dict
* rename local funcs
* set sources inside current user
* set sources inside current user
* generate sources dict from hub
* fix dict generator
* send request to hub
* fix conflict
* revert datasources to develop head
* fix docstring
* avoid invalid patch types
* add default option to sources
* fix small bug on sources
* ruff
* black
* remove (
* mypy failing only on git
* ignore mypy
* pylint
* fix settings controller
* Tests: fix keys model writing to .env
* fix keys controller test writing to .env
* ruff
* Test: fix account controller
* Test: fix account controller pull
* Tests: fix launch terminal
* Test: add sources to user object
* Tests: fix clear cmd tests
* ruff
* revert core/sdk changes
* TerminalStyle docstring
* upload config docstring
* remove comment
* remove unecessary pylint disable
* revert openbb_terminal/sdk changes
* Terminal style docstring
* docstring
* remove unecessary changes
* add TODO
* add other todo
* Tests: prevent sync from being written in .env
* change clear msg
* display sources source on menu
* update settings controller
* display keys source
* black
* sync not needed for pull
* remove sync from apply configs
* change func name for consistency
* Update test_keys_model.py
* save rich style in user folder
* search recursively inside styles
* set hub theme by default
* remove debug print
* allow any plot style
* comment plotstyle sync for now
* fix sources set terminal to hub
* ruff
* rewrite cassettes
* remove repeated settings
* rewrite expected
2023-03-27 16:59:36 +00:00
teh_coderer
7972098ce7
hotfix/PyWry Linux Wheels-Import Error Handing ( #4561 )
...
* init
* Update openbb.dockerfile
* fixing linting
* req files CLI update
* bump pywry
* new width/weight env vars for pywry specifically
* Update backend.py
* req files
* Update backend.py
* last bump pywry 0.4.0
* Update dashboards_controller.py
---------
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-03-23 20:22:05 +00:00
teh_coderer
0e0069eb97
Feature/In-Chart Volume, Streamlit TA Indicators ( #4467 )
...
* init
* rename `add_stock_volume` to `add_inchart_volume` in OpenBBFigure class
* ruff
* poetry lock, req txt files
* fix: ma indicator not in list, connectgaps=true for subtickers
* improved forecasting streamlit
* added past_cov_legend next to explainability plot
* Update base.py
* updates
* Remove deprecated currencies dashboard and it's dependency
* Revert import statement deletion
* Lint docstrings and delete unused assets
* Fix forecast voila dashboard
* Fix futures voila dashboard
* Remove broken crypto prices dashboard
* Remove vsurf dashboard because of over-verbose yfinance error messages
* Fix chains dashboard chart title positioning
* Remove i18n entries for deleted dashboards
* streamlit cmdline fix for macs/conda
* Update reddit_model.py
* mypy, fixed removed `load_dotenv_and_reload_configs` in `website\controller_doc_classes.py`
* readded rust install on CLI for linux in case cache gets cleared
* Update forex_helper.py
* Update test_load[60-YahooFinance].csv
* Update test_call_func[call_sec-marketwatch_view.sec_filings-other_args37-called_with37].yaml
* deps
* sdk generation tests, trailmap fixes
* Revert "sdk generation tests, trailmap fixes"
This reverts commit 2575784a33 .
* Revert "Revert "sdk generation tests, trailmap fixes""
This reverts commit 5cb0ce030b .
* improve ta-multi, add title/legends to fred_view
* Update ta_controller.py
* ruff
* Update helper_funcs.py
* Update yfinance_view.py
* Update helper_funcs.py
* change executable parent paths to REPOSITORY_DIRECTORY
* fix distorted candlestick plots when freq is weekly/month, fix demark
* fix yaxis click handler
* Update popups.js
* Update popups.js
* Update popups.js
* Update volatility_plugin.py
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2023-03-21 21:47:29 +00:00
James Maslek
afa9d6cd6c
Update dev deps ( #4440 )
...
* Update dev deps
* Merge and update
* I guess pywry needs to be pinned smh
* Bump ruff
* pre commit
* mypy
* This is what I get for no verify
2023-03-17 14:06:20 +00:00
montezdesousa
b19dc5205d
Remove matplotlib references ( #4479 )
...
* remove theme refs
* will come for dtabento later
* remove theme refs except databento
* ruff
* remove mpl variables
* mpl still used in po
* move databento to plotly
* pylint
* ruff
* theme ref to openbb_terminal
* juans sugg
* fix: removed raw arg in `display_candle` which could return the dataframe and error, added figure to `export_data`
---------
Co-authored-by: teh_coderer <me@tehcoderer.com >
2023-03-15 14:25:59 +00:00
montezdesousa
475ebb5acd
[WIP] Migrate user, feature flags and configurations to dataclass ( #4309 )
...
* implement user and change is guest
* replace User methods
* move remaining functions to user
* fix bug
* portfolio test
* fix tests
* fix tests
* uncomment skip
* ruff
* start credentials model implementation
* change deault structure
* refacto quandl
* change default struct and file names
* bug
* start using global user
* add comments
* move update flair
* change cfg references in keys model
* reddit & fmp
* refactore additional keys
* remaing config keys
* remove unsude imports and fix hub keys
* ruff
* fix line too long
* unblock unittests
* fix keys model tests
* remove os patch
* fix account controller tests
* fix account controller tests
* fix account model
* account fixed
* fix user tests
* User Model
* User Model
* User Model
* Move session folder
* User Model : grouping the models
* User Model : fix bugs
* Config Plot + bug fix
* User Model : Refactoring plots
* Feature flags
* Remove dup
* clean comments a fix some vars
* fix feature flags controller
* refactor obbff from settings controller
* refactor a bunch of obbff variables
* fix bug blocking terminal
* fix integration tests
* refactor controllers with obbff
* refactor remaining ffs
* remove comments
* log not started
* mispelled variable
* set current user on local model
* User Model : moving files + updating
* User Preferences
* User : Refactor is_guest function + bug fix
* User : refactor is_guest function
* Fix conftest.py
* remove lost obbffs
* typo on fileoverwrite
* Plot config: move variables and start plot dpi
* User : tests
* refactor plot dpi references
* remove plot dpi imports
* refactor some config terminal leftover
* /account/sync : fix bug
* remove configs reload
* start path refactor
* installation paths vs user paths
* remove cfg_plot
* Tests : User Refactoring
* user prefix only for preferences
* user prefix only for preferences
* move user paths
* remove comment
* update apply remote configs
* fix tz not updating
* save some copys
* small fix
* create interface for credentials and preferences
* wrong docstrings fixed
* ruff core
* fix some pref setting
* login is better
* ruff
* ruff
* remove Literal
* add small comment
* Tests : User Refactoring
* Credentials Model : add DataBento
* Fix helper_funcs
* Fixing code
* Tests : fixing
* User Model : freezing the models
* Fixed Income + Databento
* Tests : fixing keys
* black
* ruff
* Tests : user model
* Tests : user model
* Fix linting
* Fix linting
* Linting
* Linting
* Fixing code and tests
* Fix tests
* mypy
* SDK
* Clean ruff cache
* Fix syntax issue
* Update fred_view
* Black
* Linting
* Update code
* Update tests
* Linting
* Linting
* Tests
* Black
* Linting
* Linting
* Mock os.listdir to avoid looking for file that doesnt exist
* Mock options paths
* lint
* Tests : fix
* Code : update
* Tests + Linting
* Tests
* Ruff
* Code : update
* Tests
* Code : update
* Fix workflow
* Code : update
---------
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
Co-authored-by: luqazino@gmail.com <luqazino@gmail.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-03-05 00:37:19 +01:00
teh_coderer
94e2b33802
hotfix/economy-charts ( #4387 )
...
* fixes
* missing dropna on economy models, bump pywry version to override download path
* Update backend.py
* tests
* fix rare instance CHART_DIV is undefined if pywry window loads too fast
* add warning of pywry version due to json keys change
* pylint
* Update fred_view.py
* Update fred_view.py
* Update plotly_helper.py
2023-03-02 22:30:16 -05:00
teh_coderer
602cfa2c8c
[POC] Plotly Backend ( #3941 )
...
* Update portfolio_view.py
* mypy 1.0 test
* Update helpers.py
* black
* ruff
* Update thought_of_the_day.py
* isort
* Update portfolio_view.py
* Update business_insider_view.py
* funds,bt,ca,fa view updates
* economy,etf,futures view updates
* econometrics regression
* mypy
* reports notebooks, PlotlyTA class adjustments, crypto finbrain view
* crypto views updates
* crypto views done?, ba, econometrics, funds, reports
* update docstrings
* Update sec_view.py
* portfolio reports
* Update equity.ipynb
* ruff
* mypy + equity reports
* Update yahoo_finance_view.py
* Update economy_controller.py
* clean up returns
* mypy
* finished dashboards/reports templates
* update some tests
* Update common.py
* Update account_controller.py
* Update banner.txt
* update tests
* tests
* Update helpers_denomination.py
* tests
* tests
* finished tests, refactor add_histplot/add_corr_plot
* ruff
* Update backend.py
* mypy
* Update backend.py
* pywry linux libs for tests
* pywry version bump
* OpenBBFIgure import changes
* Update business_insider_view.py
* Update backend.py
* tests
* bump pywry version
* forecast plot_explainability converted to plotly
* Update helpers.py
* tests
* Update helpers.py
* tests
* Update helpers.py
* Update helpers.py
* default plotly annotation `showarrow` to false
* Update backend.py
* fixes
* Update poetry.lock
* docker
* Update openbb.dockerfile
* up
* Update style.css
* bump pywry version
* Update unit-test.yml
* Update unit-test.yml
* figure to image/pdf export
* requirements txt files, pywry version bump
* mypy, pylint
* cleanup
* Update covid_view.py
* Update helper_funcs.py
* Update backend.py
* updates
* Update backend.py
* Update backend.py
* bump pywry version
* Update poetry.lock
* Update trailmap.py
* update reports
* Update custom_indicators_plugin.py
* Update momentum_plugin.py
* equity report
* reqs files
* Update fred_view.py
* ruff
* Update po_view.py
* bump pywry version
* reqs txt files
* fix installer icons for mac
* test updated torch/darts/pyinstaller on mac
* Update dashboards_controller.py
* Update terminal.py
* Update terminal.spec
* Update terminal.spec
* test
* Update poetry.lock
* Report adjustments, improved dashboard subprocesses termination
* pylint
* Update plotly_helper.py
* Update plotly_helper.py
* pylint
* revert darts
* test
* test
* fix
* improve shap scatter plot
* Update helpers.py
* Update helpers.py
* cleanup
* Update runa_view.py
* more cleanupp
* fixes
* update tests
* Update intrinio_view.py
* Update intrinio_view.py
* Update intrinio_view.py
* reqs files, poetry lock
* Update backend.py
* test for new icon
* Update fmp_view.py
* updates
* Update plotly_helper.py
* Update businessinsider_view.py
* ruff
* pylint
* fix previous merge
* Update plotly_helper.py
* update reqs files
* Update directories.py
* fix alt covid
* fix display_candle data is None load being unreachable, get covid views ready for sdk server
* Update covid_view.py
* refactor cleanup
* plotly_ta adjustments
* terminal wide ignore print_table if export
* Update plotly_helper.py
* forgot to save a few
* added edge case fallback if figures are in queue before backend fail
* Update ta_class.py
* Rename env variable name required to return plotly json
* Resolve pydocstyle warnings
* Resolve linting errors
* revert forecasting/pyinstaller versions
* Update terminal.spec
* finished incoming fixedincome menu, improve get_ecb_yield_curve speed with multiprocessing
* update deps
* Update backend.py
* fix fred model/view from switch to DataFrame, improve ecb_model
* Update config_terminal.py
* Update backend.py
* black
* clean up
* Update fred_view.py
* Update ta_class.py
* Update ta_class.py
* Update plotly_helper.py
* sync fixedincome
* Update ecb_model.py
* convert excel to csv for faster processing
* cleanup
* remove excel files
* Update terminal_controller.py
* update tests
* adjustments/missed figs in export_data
* Update cryptocurrency_helpers.py
* fixes
* account for volume column with no volume when plotting indicators , images autogen POC
* Update plotly_helper.py
* Update etf_controller.py
* Update etf_controller.py
* margin arg for export_data func figures, some plot adjustments
* logic for numpy array for plotly helper `get_dateindex` function
* cleanup
* update
* req file updates
* views
* Update backend.py
* update tests
* Update test_load_none[btc-usd].yaml
* convert merged cpi chart
* linting
* updates
* clean
* tests
* Update openbb.dockerfile
* remove test docker in root
* Update CONTRIBUTING.md
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
Co-authored-by: Chavithra <chavithra@gmail.com >
2023-03-01 22:48:45 -05:00