* Add edge case handlers for crypto balance. ResolvesOpenBB-finance/OpenBBTerminal#2094
* Clear print statement.
* Run previous df generation.
* Run pure row merge.
* Fixing spacing.
* Adding test and fixing previous test failures.
* Clear comment.
* Adding vcr test.
* revert to old poetry.lock
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
* Add all data sources to data_sources_default.json so we can have a list in one place
* create menu to get and set data sources
* improve settings controller
* james request
* improve helper message
* minor improvement
* fix tests
* Portoflio : add pa export command for Degiro
* Update controller + tests
* Tests
* Degiro : update pa export format
* Fixing Premium
* Black
* Show index
* add ecocal command to menu
* add menu legend
* run black and pylint
* fix date input
* add command to main.yml
* sort and remove duplicates
* run black on model
* fetch user timezone automatically
* remove tz option and None displays
* adds choices to controller
* fix dates corner case
* create test for get_economic_calendar
* write tests for investingcom_view
* fix ycrv model
* remove unused imports
* rewrite expected for economy print help
* rewrite expected for portfolio model
* fix linting
* fix linting
* try to pass pylint again
* create _index.md
* complete docstrings
* rewrite expected on portfolio model
* Update _index.md
* Update _index.md
* change -i default to all
* rewrite portfolio model and mark vcr
* run black on test changes
* revert changes on tests
* add limit to nr of events
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
* Add python 3.9 conda environment
* Bump dependency versions
* Bump default python version in github actions to 3.9
* Update install documentation
* Update tests
* Bump black version in conda environments
* Skip test_display_norm in econometrics menu tests
* Bump black and tensorflow versions in pyproject toml
* Attempt to fix failing concurrent windows tests
* Skip test_display_norm in econometrics menu tests
* Bump python in conda test workflows
* Update requirements.txt
* Fix old version fallback tag
* adds pythonic portfolio class
* start calculate trades refactoring
* adds comments to portfolio model - delete afterwards
* finish calculate trades refactoring
* restore original portfolio_model.py
* implement calculate_allocations
* adapt and test controller load, show, bench, alloc and perf
* add old code that was ok
* adapt controller
* adapt portfolio_view
* run black on pythonic_portfolio.py
* fix crypto bug
* change column name in example datasets
* substitute portfolio_model.py
* update show command
* push cumulative returns calculation to model
* fix last change in cumulative returns
* add comments on possibly unused code
* run black on changes
* bring metrics from helper to model
* push rolling metrics from view to model
* Details and linting
* Fix tests
* remove empty attribute and rename class
* fix view and controller rf
* change returns calculation method
* remove CASH from code
* remove cash from tickers_list
* run black on changes
* change function name
* adapt to PortfolioModel
* fix tests
* fix tests on help
* fix linting
* call metrics from PortfolioModel
* call drawdown from model
* fix some mypy issues
* fix remaining mypy issues
* fix test
* Fix linting
* Remove unused function
* Small fixes
* Remove old code and adjust summary to simply work
* Update the Excel since CASH is no longer a thing
* Fix tests
* Update the csvs
* Updates to usage of full_shares and more details
* Fix -t flag for perf
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
* Making pa active + pa minor features
Makes pa actice and adds country to the df. The groupby command also gets percents of holding allocation. It also fixes warnings and prepares for a later pr that I'm currently working on.
* Fix linting
* black linter
* Fixes
Should fix everything
* Linting
* Making pa controller to base class standard
* Fix linting
* first metrics
* Adding calmar ratio
* Adding metrics to controller
* Linting
* Linting
* Test fixes
* Test fixes
* Adding tests
* Linting
* Restructuring added tests
* Linting
* Updating hugo website and fixing help
* Fixing commands
* Fix kelly criterion command
* Fixing tests
* Linting
* More linting
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
* Change about us to open_terminal_documentation
* Change the home menu to be more compact
* Make changes to menu layout and change bottom bar
* Change about command to send you to the documentation and add about to bottom bar
* Add in about choices to all menus
* Adjust wording
* Adjust the website to match terminal commands and make adjustments for common menus
* Update the website and small change to about command
* Small adjustment to about command
* Remove update command
* Add some more info about arguments
* Fix broken link
* Add pro tip
* Update keys to work well with about
* Fix some common paths
* Add back in the update command with exception if packaged application
* Remove update comment
* Fix all the things
* Make about more robust and also add in exe
* Make sure that there are actual commands and menus
* Making pa active + pa minor features
Makes pa actice and adds country to the df. The groupby command also gets percents of holding allocation. It also fixes warnings and prepares for a later pr that I'm currently working on.
* Fix linting
* black linter
* Fixes
Should fix everything
* Linting
* Making pa controller to base class standard
* Fix linting
* Refactor API to accept Crypto Symbol as an input argument
* Crypto API fixes
* Fixes
* Linting
* Linting
* More linting
* Fixes
* Tests : cryptocurrency/helper
* Tests : cryptocurrency/glassnode
* Pytest : Cryptocurrency/due_diligence
* Pytest : cryptocurrency/discovery
* Pytest : cryptocurrency/due_diligence
* Remove not a needed function argument
* Linting
* Test fixes
* Fixing mentioned fixes
* Test fixes
* Tests: cryptocurrency/defi
* Fix linting
* Final test fixes
Co-Authored-By: Chavithra <6114398+Chavithra@users.noreply.github.com>
* Fix merge
* Linting
* Fixing error
* Linting
* Removed long link
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Chavithra <6114398+Chavithra@users.noreply.github.com>
* Added code to look at Yahoo Finance Financials (Income, Balance sheet and cashflow, if tickers not found in Alpha Vantage. Should cover all UK (only tested with .L appended to tickers).
* Added code to look at Yahoo Finance Financials (Income, Balance sheet and cashflow, if tickers not found in Alpha Vantage. Should cover all UK (only tested with .L appended to tickers).
* change
* refactored to keep yahoo fa financials (income, cash, balance) separate.
* refactored to keep yahoo fa financials (income, cash, balance) separate.
* refactored to keep yahoo fa financials (income, cash, balance) separate.
* refactored to keep yahoo fa financials (income, cash, balance) separate (fixed dates).
* Fixed source bug
* empty commit
* fixed header date issue
* Fixed source
* fixed bugs related to no data returned
* fixed bugs related to no data returned
* fixed bugs related to no data returned
* Added yf to av when no data returned from av
* Added support for polygon statement of cash flows
* Fixed issue I created
* fixed pylint error else after return
* fixed pylint error with disable R1732
* fixed tests relating to av
* Updated polygon model and fixed tests
* fixed load GNR in fa after SNR.L in stocks
* fixed load GNR in fa after SNR.L in stocks
* Added newline to print
* Added newlines
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
* Fixing default view and ascending order in cglosers and cggainers
* Fixing futurewarnings error, adding test data, and changing dollar sign issue
* Adding --rewrite-expected test to pass CI
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* 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>
* Fixing fails to deliver bug and resulting NaN values in dataframe bug
* Taking out print statement
Co-authored-by: didierlopes.eth <dro.lopes@campus.fct.unl.pt>
* 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>
* Fixing bug #1907 scraping management data
* adding csv for failed tests on last push for bug fix
* business_insider_view tests
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: james <jmaslek11@gmail.com>
* Remove masking for heatmap
* Add a comment
* Add a flag to show either half or the full correlation matrix.
* Fix printed correlation table cutting off for large data sets
* Update the test
* Update some formatting issues
* Fix another formatting error
* Formatting issue
* Remove a double blank line
* Black formatting changes
* Fix a pylint formatting issue
* Use rich table and add a raw flag
* Fix formatting issue
* Capitalize ticker name in table columns
* Update a test
* Add docs for new arguments
* retrigger checks
* fix#1850
* fix#1831
* add extra check to Reddit API keys
* ignore warning message to update praw api
* improve OpenBB links
* fix quick performance only on stocks class because I'm James bitch
* fix quick performance only on stocks class because I'm James bitch
* fix#1829
* fix#1821
* add messari to keys - fix#1819
* example of multiple oclumns to check on options/chains
* minor improvement in xlabel re. #1814
* remove repeated command
* fix#1698
* fix line too long
* fix#1814 fr now
* fix tests
* Fix multiple bugs
* Disable false positive pylint in some crypto models
* Fix website not building because of expo command removed
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* improve econometrics load, custom_reset
* improve econometrics UX and remove options cmd
* fix sector and industry analysis
* improve econometrics and export data from main menu
* improve toolbar vis to add helper -h
* imporve type and desc
* add logger
* econometrics improve ols
* improve root and norm commands
* more cleanup
* improve econometrics commands
* api econometrics
* tests econometrics
* improve index command
* change modify to add,delete,combine and rename
* minor fix
* update docs
* update pylint
* update pylint
* tests
* Update documentation
* fix type command
* index
* improve more econometrics for Jer
* improve docs
* fix tests
* fix test
* remove help
* Add in robustness for when you select two dependent variables
* Update Website documentation
Co-authored-by: JerBouma <jer.bouma@gmail.com>
* 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>