Igor Radovanovic
fd9d6fd030
Remove commas from i18n ( #4952 )
...
* Remove commas
* Update unit tests
2023-05-02 19:25:14 +00:00
Igor Radovanovic
cbe6115020
Remove Oanda from forex sources ( #4596 )
...
* Remove Oanda from sources
* Fix
* Update unit test
2023-03-27 22:01:17 +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
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
Theodore Aptekarev
4b7cfd1699
Feature/dependency grooming ( #4166 )
...
* Updating poetry to v1.3.2 and dependencies
* Fixing conda pip syntax
* Updating poetry.lock
* Updating requirements
* Updating Windows10 build
* Windows10 build updates
* Windows10 build update
* Windows10 build updates
* Windows10 build updates
* Windows10 build updates
* Windows10 build updates
* Windows10 build updates
* Windows10 build updates
* Windows10 build updates
* Windows10 build updates
* Windows10 build updates
* Windows10 build updates
* Windows10 build updates
* Windows10 build updates
* Updating Intel MacOS Build
* Updating Intel MacOS Build
* Updating Intel MacOS Build
* Updating Intel MacOS Build
* Updating Intel MacOS Build
* Updating Intel MacOS Build
* Updating M1 MacOS Build
* Lets get M1 working
* Lets get M1 working
* Permission Issue on tests / New setup.nsis
* Merging the latest changes and picking integration tests to run
* Adding Mac requirements
* Fixing spelling
* Limiting integration tests on builds
* commenting out MessageBox prints on win installer
* update pinned lightgbm version
* fix tests
* ignore lightning logs for tests
* Unify dependencies across platforms
* Add pyinstaller to requirements full
* Remove pyupgrade from top level dependencies
* Use conda poetry on env file
* Pin lightgbm to be installed form conda-forge
* Pin latest supported version of lightgbm for intel macs
* Use same requirements across all platforms
* Pin tenacity to avoid pip resolution conflict due to finviz 1.4.5 package bug
* Remove torch dylibs from signing because 1.13 doesn't have those
* Identify pinned lightgbm as a part of the prediction extra
* rewrite ov cassettes (#4171 )
* Update some tests
* Fix typo in Windows build test launch command
* Add torch dylibs back to from signing
This reverts commit 4a1aabb1fe .
* Fix torch dylibs path typo
* Package torch into the pyinstaller bundle
* Package torch dylibs as binaries
* Pin torch back to 11
This reverts commit 4a1aabb1fe .
* Refactor code signing paths
* Revert "Refactor code signing paths"
This reverts commit 1c948b3f50 .
* Fix typos in yaml files
* Update test
* Update tests expected ouput
* Tests : fix cassettes
* Fix merge conflict
* Try to fix test_yahoo_finance_view.py fail in CI
* Tests : update cassette + txt
* Tests : cassette
* Build : update lightgbm version
* Tests : update cassette + txt
---------
Co-authored-by: Artem Veremey <artem@veremey.net >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Artem Veremey <aia@users.noreply.github.com >
Co-authored-by: colin99d <colin99delahunty@gmail.com >
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2023-02-09 22:35:26 +01:00
Colin Delahunty
ee34a1f278
Feature/add isort linter ( #4114 )
...
* Fixed isort
* Fixed issues
* FIxed linters
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-02-04 21:24:47 -05:00
Henrique Joaquim
a37d9032e3
Hotfix/fix black ( #4101 )
...
* Fix plot look when using eval and add query to choices (#3881 )
* convert index to datetime and update choices
* uncomment economy integration test
* fix treasury concat bug
* fix datasets concat on duplciates
* Lock ruff version so that new lints dont break our CI (#3905 )
* Lock ruff version so that new lints dont break our CI
* Bumped pre-commit ruff version
* returning always a dataframe
* Revert "returning always a dataframe"
This reverts commit d5dbf3132f .
* black everything
---------
2023-02-01 12:33:15 +00:00
Henrique Joaquim
76c937cdcf
Adds end date to forex/load ( #4077 )
...
* Fix plot look when using eval and add query to choices (#3881 )
* convert index to datetime and update choices
* uncomment economy integration test
* fix treasury concat bug
* fix datasets concat on duplciates
* Lock ruff version so that new lints dont break our CI (#3905 )
* Lock ruff version so that new lints dont break our CI
* Bumped pre-commit ruff version
* returning always a dataframe
* Revert "returning always a dataframe"
This reverts commit d5dbf3132f .
* adding end date to the forex load
* added some tests
* added example
* always show msg
* rewriting test
* updating tests
* updating tests
* Redo load tests
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2023-01-31 09:43:06 -05:00
Jeroen Bouma
a6042b8578
Copy paste all the sheet names ( #4035 )
...
* bump
* Update ALL the exports with sheet name option
* Update contributing too
* Add in sheet name to each docstring
* Update tests
* Fix the small things for tests
* Converting CONTRIBUTING.md back since I put minimal changes in and it complains
* Fix terminal exit after `--sort p/e` (#4013 )
* fix scr sort exit
* rewrite unit test output
* rewind slash replace
* rewind slash replace
* fix regex
* rewrite expected scr tests
* black
Co-authored-by: James Maslek <jmaslek11@gmail.com >
* fix: small typo (#4036 )
* fix income comparison error (#4029 )
* Update tests due to yfinance error
* I broke tests and fixed them
* Fix tests?
* Missed a few sheet name additions
* missed one more
* Fix some missing sheet_name parameters
* Fix a test I broke
* Update tests due to changes with sheet_name
* Update stocks and common
* Mutual funds just because
* Portfolio update
* Update Forecast
* Update Futures
* Update ETF
* Update Economy
* Update Crypto
* Update others
* Update documentation to explain --sheet-name
* It should be None test
* Add None for sheet_name since empty string can result in errors
* Formatting
* Fix tests
* Update documentation
* Also update the image
* Add back to options commands
Co-authored-by: james <jmaslek11@gmail.com >
Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com >
Co-authored-by: teh_coderer <me@tehcoderer.com >
2023-01-26 09:53:21 -05:00
Chavithra
2273a705fd
Choices Generation : Forex ( #3475 )
...
* Choices : add support for StocksBaseController and CryptoBaseController
* Choices : Forex
* Choices : disable by default
* Choices : update parent_classes
* Choices : forex/qa
* Linting
* Choices : choices -> choices_default
* Choices : fix
* Choices : fix issue with int and float list
* Tests : forex/qa and forex/ta
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-18 12:59:39 +01:00
montezdesousa
f1de004567
Remove signatures with volatile date defaults ( #3385 )
...
* example changes in slopes
* change lettering size and side bar capitalization
* revert back to Fira
* start automatic website generation
* this was autogen
* add examples to slopes model
* generate slopes doc
* change to _index.md
* allow italic formatting
* fix regex
* option to regenerate paths
* update alt docs
* fix generate
* update alt
* fix generate
* update common
* target italic only for types
* format alt
* format italic common
* add sig indentation
* update sig indent alt
* update common ident
* add todo
* generate docstrings for all menus
* fix maxdd
* fix returns font size
* fix keys docs
* fix more docstrings
* escape literal symbols
* escape literal symbols
* reformat keys
* format opt
* remove literal escape
* remove another literal escape
* remove another literal escape
* unindent returns
* update docs return unindent
* add comma in last arg
* fix funcs without params
* fix signature
* compact some code
* refactor some more code
* refactor some code
* some final cleanup
* write docstrings
* change main
* move futures paths
* generate futures docs
* add external axes references
* fix typo
* revert to double docstring
* fix small bug
* remove docs folder
* generate.py in website folder
* add forecast to docs
* clear some warnings
* fix underscore
* remove cite
* refresh website docs
* fix forecast docstrings
* fix po
* fix po docs and remove italic
* fix more docstrings
* remove last warning
* codespell
* flake8
* exclude website contente from flake
* noqa on optimizer
* update website
* fix mypy
* remove setup from mypy
* mypy to openbbterminal
* update precommit
* pylint
* try to remove sdk loading issue
* fix dates active command
* fix crypto.change formats
* fix eb formats
* nonzero fix
* format dates crypto.load
* format supply transac
* format hr altindex
* format load crypto
* regenerate docs
* format ba trend dates
* regenerate docs
* format ba trend
* candle defaults
* fix sentiment test
* remove unused import
* shopt
* shopt again
* revert crypto helpers
* test shopt
* fix some tests
* skip trending test
* fix alcoin test
* helpers
* write docs
* rewrite helper
* fix crypto dd defaults
* fix some date defaults
* regenerate website
* fix santiment model
* fix get trending
* fix more defaults
* generate website
* fix ftd view data default
* black
* regenerate website docs
* regenerate docs
* refactor remaining funcs
* pcr doc
* Checkout from main
* flake8
* regenerate docs
* regenerate docs
* fix build
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-15 11:19:14 +00:00
Henrique Joaquim
0ae89d6cc2
Style fixing: removing --ascend/--descend ( #3395 )
...
* stocks candle to use reverse
* qa raw to use reverse
* etf candle to use reverse
* oss rossix to use reverse
* crypto/defi to use reverse
* crypto/disc to use reverse
* added test
* crypto/dd to use reverse
* crypto/onchain to use reverse
* crypto/ov to use revert
* forex candle to use revert
* conibase controller to use revert
* tests to use reverse
* covid to use reverse
* removing ascend
* removing ascend from econ
* more removing ascend
* more removing ascend
* more removing ascend
* fixing stuff on .md files
* fixed economy controller tests
* fixed screener tests
* fa controller to use comma separated when multiple inputs
2022-11-14 15:04:34 +00:00
Colin Delahunty
d916535f39
Fixes Issues with Forex ( #3260 )
...
* Fixed issues
* Moved menu
* Added back doc header
* Updated tests
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-03 11:30:16 -04:00
Colin Delahunty
500fcd6aa2
Refactor the QA Raw Command ( #3234 )
...
* Improved usability of raw
* Began refactoring qa raw
* Continued adding fixes
* Added more fixes
* Updated docs
* James fixes
* Added formtting changes
* In process of converting to all lower
* Added fixes
* Fixed tests
2022-11-02 13:35:55 -04:00
Colin Delahunty
0254d78741
Improves the forex menu to include the forecast command ( #2818 )
...
* Added forecast to forex menu
* Fixed tests
* fix test print
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
2022-10-13 17:46:52 +01:00
northern-64bit
28a0cfd2ee
Improved auto completion ( #2763 )
...
* Adding improved auto complete to all menus
* Improve autocomplete
* Done
* Linting : fix unused imports
* Tests : fix help messages
* Fixing typing
* Tests : forex
* Tests: stocks
* Stocks/TA
* Linting
* Stocks/insider
* Portfolio/Broker/Degiro
* Linting
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-10-11 16:07:24 +02:00
Theodore Aptekarev
63cc084b98
Clean up old api files ( #2752 )
...
* Clean up old api files
* Remove unused imports
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-10-10 00:27:55 +03:00
martinb-bb
7fd72d9ee1
Forecasting Menu [Work in Progress] ( #1933 )
...
* Gave forecasting memory
* Fixed scripts, refactored
* FIxed poetry lock
* edge case check for forecast target
* Improved combine and load functionality
* Cleaned up translations
* Fixed issue with covariates
* Fixed issue checking covariates
* Another covariates check fix
* Ignored regr and linregr warnings
* Fixed covariate issues
* switched from forecasting to forecast
* Finished transition to forecast
* Can add entire dataset with one command
* Improved combine description
* Removed naming covariates
* Created new installation
* typo
* Make plot show dates if available
* Added better handling or users without the menu
* Removed unused file
* Fix
* Better handling for nontraditional datasets
* Fixed black and pylint
* Fixed tests
* Added darts install to main tests
* Working on darts with CI
* Added back test file
* Made large tables print better
* naive baseline
* typo
* Finished naive
* no dollar on prediction
* fixed positive MAPE bug
* quick refactoring
* Fixed two different args for same thing
* added extra patience
* linreg mape fix
* info fix
* Refactored API, bumped to Darts 0.21.0
* Added fixes
* Increased verbosity for wrong column
* Updated dependencies
* Hid warnings
* Fixed importing
* Fixed tests
* Fixed ugly seasonal plotting
* Fixed forecast line color
* Switched chart output to blue
* Simplified lambda_price_prediction_color
* fixed residuals
* Chnage
* Removed darts from CI per Chavi
* Added fixes to tests
* Added knnfix
* Fixed issue where n!= o
* Added changes
* Added changes
* Imrpoved forecast dash
* Added Theo notebook
* Added enhancements to dash
* Added notebook
* Added fix for jupyter lab
* Added debug stuff
* Change
* Updated docs
* Fixed formatting
* Fixed formatting
* Removed prints
* Filtered some info
* Added button to run model
* Improved api
* Added secret feautr (no peeking Martin)
* Cleaned code
* Fixed tests
* Added test fixes
* Added fixes
* Fixes
* FIxes for pres
* Remove bad tests
* Removed knn
* Fixed issues with removing mc
* doc for conda
* Added forecast improvements
* Added streamlit support
* Fixed issues
* fix expo with streamlit due to quantile()
* fixed performance issues with streamlit for now..
* clean up historical forecast with new trainer
* quick fix for regression trainer params
* Added fixes
* quick fix for other fix for regression trainer params
* table formatting for timestamp
* potential fix for inf in feature engineered datasets
* Basic working in new format
* dw
* Trying
* Fixed issues
* Improved graphing
* fixing trainer for LR and formatting
* doge and linting
* page break
* automatic cleaning of datasets
* automatic cleaning of datasets- fix
* Fixed forecast dates
* Made dashboard prettier
* Added fixes
* Added fixes
* Added options
* Fixed error
* remove caching
* adding in spinner
* Added vairable n_predict in streamlit
* Added mypy fix
* renaming and range change
* new index for n predict
* check positive float for window size
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* Update _index.md
* renaming
* reorg files
* Update _index.md
* hidden which command for versions
* Update _index.md
* Update _index.md
* which: ns parser
* hugo for: which
* hugo for: forecasting fix
* formatting black
* update stock controller test
* Lay groundwork for better residual plotting
* improved delete to allow for periods in title
* improved automatic cleaning of inf
* Added new API
* Added new API
* Added new API
* formatting for black
* Updated our testing CI
* Reverted changes
* Added forecast docs
* Fixed mypy issues
* Fixes tests
* Did some refactoring, added a report
* new api in streamlit
* Added integrated tests
* Update _index.md
* improved loading in custom dataset
* menu spacing
* installer fixes
* Added docs fixes
* Adding comments to test if commit working
* Fixed report
* naming conventions
* formatting
* removing unused var
* Made last report imporvements
* Update README.md
* Added fix
* Switched to warning
* Added fixes
* Added fixes
* Added fixes
* Added fixes
* Update economy av view test
* Remove forgotten print statement
* Update depencencies
* Added verbosity to pytest
* Added fixes
* Fixed pylint
* Fixed actions checkout
* Added fixes
Co-authored-by: colin99d <colin99delahunty@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: James Simmons <simmonsj330@gmail.com >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-10-08 14:54:43 +02:00
DidierRLopes
8edf079041
Big refactor to be explicit about data sources ( #2490 )
...
* refactor stocks datasources
* add rest of data sources
* add_cmd without source
* forgot one tiny thing
* fix crypto tests
* fix forex tests
* fix etf tests
* fix economy tests
* fix oss tests
* fix remaining tests
* fix tests
* Rewrote vcr files
* Take 2
* fix test
* fix tests for FA
Co-authored-by: colin99d <colin99delahunty@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-04 18:04:56 +01:00
Om Gupta
3da5c35a46
fix: Issue 2458 ( #2472 )
...
* bug 2458
* black and fix tests
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-09-01 22:21:00 +01:00
DidierRLopes
065cd78814
forex quote to use yahoo finance instead ( #2436 )
...
* forex quote to use yahoo finance instead
* update docs
* add av as secondary source for quote
2022-08-29 01:29:21 +01:00
Chavithra
9e1a58e2db
Here we merge all API Refactor related branches ( #2236 )
...
* Update api.py
* Updated forex menu
* refactor ycrv command
* refactor ycrv command black
* refactor ecocal command
* Minh changes
* Adding space to test pushing
* title fix ecocal df
* get economic calendar annotation
* fix investingcom tests
* refactor index command
* refactor overview command
* give defaults to wsj view function args
* rename date args investincom
* refacto bigmac command
* fix ecocal typo
* refactor rtps command
* alphavantage gdp
* alphavantage gdp per capita
* alphavantage cpi
* alphavantage tyld
* alphavantage inf
* refactor macro command
* refactor macro command w helpers
* refactor treasury command
* fix macro on terminal
* treasury labels
* refactor maturities
* update treasury maturities doc strings
* refactor get economic calendar finhub
* refactor map command api
* display map filter choices
* route economy api to performance map
* route economy api to performance map
* display group choices on valuation command
* refactor performance and valuation commands
* refactor spectrum model and view
* add choices to spectrum controller
* delete image after view
* fix model tests finviz
* fix finciz view tests
* refactor futures
* fix some tests
* fix more tests
* fix controller test
* refactor fred series notes
* update fred notes docstring
* refacto fred series ids
* fix pred and qa when empty datasets
* refactor fred
* uncomment stuff
* refacto get series data
* fix some tests
* set defaults on args
* refactor fred yield curve
* black
* fix spell and remove ecocal names
* fix linting
* linting
* pylint fix
* change dangerous defaults
* Working through crypto fixes (#2256 )
* Working through crypto fixes
* Continued adding crypto stuff
* Added crypto overview
* Added test fixes
* Added fixtures
* Fixed tests
* Fixed charting issue
* Removed broken APIs
* Final adjustments
* Added test fixes
* map get groups and get ycrv countries into old api
* exposed econdb helper funcs
* remove helpers
* refactor search indices
* linting
* refactor arg currency
* pylint from currency
* Started switching crpyto ascending to ascend
* Merging
* Portfolio model arguements, params, and docstring
* Refactored for etf commands (#2292 )
* Refactored for etf commands
* Fixed tests
* Added load command
* Fixed menu
* Portfolio logic fixes
* Added econometrics (#2260 )
* Added econometrics
* Fixed tests
* Simplified API
* Added test fixes
* Added test csv
* Allowed examples to be loaded
* Fund refactor (#2291 )
* Fund refactor
* Changed fund_name and fund to name
* Changed ascending to ascend
* Stock menu refactoring for easier API usage (#2194 )
* Stocks refactoring for easier API usage
* Linting
* Refactor newly added features
* Linting
* Fixing tests
* Refactor common files used by stocks menu
* Fixing flake8
* Fix linting and tests
* Linting
* Fix flake8
* refactor insider_data
* refactor mentions
* refactor watchlist
* refactor sentiment
* refactor sentiment
* fix yahoofinance tests
* refactor load and candle
* refactor get_news and display_news
* refactor stocks.ins.act
* candle default matplotlib
* fix yahoofinance_view tests
* fix ark model tests
* fix ark view tests
* fix business insider model
* fix business insider view
* refactor csimarket model
* fix tests csi market model
* update dd controller
* fix get suppliers tests
* fix dd controller tests
* fix finhub tests
* fix finviz tests
* fix fmp tests
* fix marketwatch tests
* corrected argument keywords in test_bt_model
* corrected argument keywords in test_bt_view
* refactor fa controller
* refactor marketwatch view
* refactor gov controller
* fix tests fa av
* fix tests elect
* fix dcf tests
* fix polygon tests
* fix fmp tests
* fix quiverquant tests
* fix yahoofinance fa tests
* fix more fa tests
* fix insider tests
* fix more tests
* fix more tests
* fix options tests
* fix stock gov tests
* fix tests test_ba_controller
* fix tests for test_finviz_compare_model.py
* fixed 2 tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* fix final tests
* fixed tests
* fixed tests
* Fix tests
* black
* forgot to black tests
* fixed tests
* fixed tests
* fixed tests
* fixed tests
* flakefix
* Tests + code : Stocks / Discovery
* fix tests
* added recorder
* fixed tests
* fixed tests
* black
* black
* remove unused imports
* refactor display raw
* sia dicts fix
* pylint
* linting
* remove dangerous default
* fix tests
* fix beta model test
* black
* skip screener qa test
* change sector path to sectors
* update tests readme
* fix metric defaults
* black
* substitute lost ticker
* defaults cpic
* another round on sia
* refactor cramer
* reduce default tweets on sentiment
* refactor yf hist, corr, volume
* arkorders default
* refactor income, balance, cashflow
* refacto scorr, screener, getfinnhub
* refactor stockgrid
* ibkr refactor
* another round on stockgrid
* add dividens end point
* refactor discovery endpoints
* update docstrings with similar input
* refactor messages
* refactor ba
* refactor regioons
* refactor twitter sentiment
* refactor hist
* refactor regions
* give default to timeframe
* refactor bunch of defaults and arg names
* remove leftover imports
* refactor vwap
* let tests run
* fix tests
* fix stock tests
* fix stockanalysis tests
* flake
* MYPY
* Made important changes
* added fixes
* Fixed big issue
* Added fixes to tests
* fix qa tests
* fix tests
* fix 1 more test
* last stocks failing
* fix crypto test
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
Co-authored-by: montezdesousa <montezdesousa@gmail.com >
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: colin99d <colin99delahunty@gmail.com >
* fix portfolio tests
* change period to window
* update ca docstrings
* refactor get_similar_companies func
* Fixed
* Update CI
* Update CI 2
* Update CI 3
* Update dependencies
Co-authored-by: colin99d <colin99delahunty@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: montezdesousa <montezdesousa@gmail.com >
Co-authored-by: James Simmons <simmonsj330@gmail.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: northern-64bit <75195383+northern-64bit@users.noreply.github.com >
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
2022-08-17 15:28:54 +01:00
DidierRLopes
fea15aa13d
Fix stuff ( #2150 )
...
* Make sec fillings link clickable in report
* Fix #2130
* styling here and there
* fix crypto panic key output result
* minor styling
* style
* tests
* allow for bitcoin rainbow to go into future
* add 2024 halving
* pylint ignore
2022-07-24 10:38:02 +01:00
montezdesousa
57b61d1b2a
Display the help menu whenever users move to a different menu ( #1968 )
...
* switch auto print_help on exits
* display help when home called from home directory
* change in test to expect help cmd
* change in test to expect help cmd
* sets autoexithelp flag on conftest
* supress help string print on quit
* adapt tests to expect help
* adds help on 3 tests missing
* run black
* respect literal bool type
* second attemp to respect literal bool
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-06-22 13:45:48 +01:00
Sam Kerr
497324d75f
Preferred data source for a given command and help docs for any command ( #1928 )
...
* Add a feature flag loaded from . env for preferred data source
* Update the load command to use the preferred source
* Add a test
* Black syntax checker updates
* Update test syntax
* Update load command documentation
* Add a variable to read a sources file from
* Add a default sources.json file
* Add a helper function to read the source file and get the most relevant value
* Add some comments
* Remove older preferred data source file setting
* Add a default source file for data and use it if no user preference specifies a specific file
* Remove duplicate source file and old settings values
* Update the test file
* Update documentation string
* Update tests/openbb_terminal/test_settings_controller.py
* Black syntax formatting issues
* Fix a test case
* Fix a typo
* Fix Flake8 errors
* Fix Flake8 errors
* Pyupgrade syntax fixes
* Additional linter corrections
* More pylint issues
* Improve predefined default sources
* refactor parse_known_args_and_warn for documentation
* Update openbb_terminal/helper_funcs.py
* Add a feature flag loaded from . env for preferred data source
* Update the load command to use the preferred source
* Add a test
* Black syntax checker updates
* Update test syntax
* Update load command documentation
* Add a variable to read a sources file from
* Add a default sources.json file
* Add a helper function to read the source file and get the most relevant value
* Add some comments
* Remove older preferred data source file setting
* Add a default source file for data and use it if no user preference specifies a specific file
* Remove duplicate source file and old settings values
* Update the test file
* Update documentation string
* Update tests/openbb_terminal/test_settings_controller.py
* Black syntax formatting issues
* Fix a test case
* Fix a typo
* Fix Flake8 errors
* Fix Flake8 errors
* Pyupgrade syntax fixes
* Additional linter corrections
* More pylint issues
* Improve predefined default sources
* refactor parse_known_args_and_warn for documentation
* Update openbb_terminal/helper_funcs.py
* Forex controller
* Tests : Fixing `parse_known_args_and_warn` issue
* Comparison Analysis controller
* Tests : Comparison Analysis
* Tests : Stocks/DarkPoolShorts + Stocks/Options
* Tests : fix call_load tests
* Linting : fixing line size
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-06-14 20:23:55 +02:00
Theodore Aptekarev
35ba7fd79f
Fix tests and bump pandas version ( #1888 )
...
* Fix forex polygon model tests
* Release pandas version lock
* Release pylint version lock on the CI
* Alternative : covid - fix csv separator issue
* FIx spacing change related to pandas upgrade
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-05-31 14:46:45 +02:00
Theodore Aptekarev
0f0604a387
Update pred deps and instructions ( #1885 )
2022-05-31 12:53:48 +03:00
James Maslek
4e451b4553
Oops this should be fixed ( #1881 )
2022-05-27 18:48:22 -04:00
James Maslek
7db8fa04e5
Clean up forex menu. Add in polygon load ( #1871 )
...
* Clean up forex menu. Add in polygon load
* Forex candle matches stock with --ma option
* fxempire tests
* forex controller tests
* Test polygon model
* Hugo
* oops
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt >
2022-05-26 20:54:34 +01:00
didierlopes.eth
707fd8f506
Terminal supporting controller with multiple languages ( #1730 )
...
* initial implementation of terminal supporting multiple languages
* improve quote command
* stocks controller with english translation pattern
* add language to settings
* update reqs to have python-i18n
* find languages automatically
* add to documentation how to support another language
* markdown
* fix no member issue
* fix test
* refactor code with translations
* translate for options and options/scr
* solve translation for all submenus within options controller
* fix stocks controller tests
* translate disc and th
* dps and sia menus
* scr and ins
* add gov controller
* fix tests for new controllers
* stocks/ba and stocks/ca menus
* add stocks/fa
* res controller
* stocks/dd
* stocks/bt
* qa and pred
* crypto and crypto/disc
* overview and onchain menus
* defi
* nft and tools
* crpyto/dd
* stocks and crypto TA
* finish crypto menu
* finish ETF controller
* finish economy menu
* forex
* alternative and mutual funds
* refactor source for translated version
* econometrics and portfolio and brokers
* portfolio
* fix tests
* finish language implementation
* refactor code for cmds
* improve keys
* refactor name funcs and add docstrings
* fix minor stuff
* fix tests
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
Co-authored-by: Chavithra <chavithra@gmail.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-05-24 21:56:16 +01:00
didierlopes.eth
2cb229f35e
Fix a bunch ( #1852 )
...
* spacing before and after rich tables
* fix menus to have standard UI
* fix tests
* fix tests
* fix tests
2022-05-21 16:57:39 +01:00
James Maslek
c69e14a5ca
Improve main terminal menu + small alignments ( #1813 )
...
* random spacing
* add m
* Add context descriptions to main terminal menu
* clean up forex alignment
* lint
2022-05-13 01:54:58 +01:00
jmaslek
893e68efdc
Fx forward rates ( #1721 )
2022-04-20 11:56:02 -04:00
jose-donato
5bf4618b39
Adds QA and Pred to forex ( #1652 )
...
* added qa and pred to forex
* updated test help
* Add forex/qa notebooks api wrapper
* Add forex/qa tests
* Add all menu commands to the integration test script
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-04-08 21:03:36 +03:00
jmaslek
b71abcfbf4
Updating some names ( #1575 )
...
* quick econ fix
* black
* keys and feature flags
* terminal name 👀
* some more replacements
* some more replacements
* edit pyproject
* gst -> openbb
* add example portfolios back to git
* Update api from gst
* sorry. skipping some tests
* another round of names
* another round of test edits
* Missed some .gst refs and update timezone
* water mark stuff
* Fixing Names in terminal.spec and name of GTFF_DEFAULTS to OBBFF_DEFAULTS
* fix more GST to OpenBB Terminal
* Logging : merge conflicts with main
* Revert wrong files
Co-authored-by: Andrew <andrew.kenreich@gmail.com >
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-03-29 09:46:26 -04:00