* add user agent to yahoo request
* initialize pandas series with float
* Add a billions to economy SCALE
* add color to rtps
* make values required for certain settings
* spell required correctly, dont block -h in settngs
* quick lint
* added couple guess games lines lol
* Add this clenow volatility momentum thing
* Hugo + FIx controller
* clean up
* mypy fix
* Add to menu and dont show header
* menu testing
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
* Fix parameter name for Trade Balance
* Handle the case of 'null' response content with OK status code
* Change TBFR parameter name to TB in hugo docs
* beta function initial commit
* Used pct returns instead of raw returns
* beta function initial commit
* Used pct returns instead of raw returns
* Moved beta from stocks/ca to stocks/qa
* Updated tests for stocks/qa/beta
* Added hugo docs page for stocks/qa/beta
* Updated beta docstrings and added graceful exit on bad ref ticker
* Add survey command
* Add link to survey within docs
* Change exit message to include survey
* Grammar
* Little tiny mistake
* Add in documentation for settings, featflag and sources
* Details
* Add width and height
* Fix survey not working
* Add static method and change 2-minute
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
* 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
* Fixing paths for build procedure
* Adding back env file
* Updating pyproject and setup.nsi files for release
* Update version on feature_flags.py
* Fix default sources path not working in installers
* Fix crypto/ov/wf
* Remove old and slow tests from openbb scripts folder
* Adding a note about to explain that prediction is not available for Mac users
* Disabling prediction menu via env file
* Fix tkinter bug on windows ci by specifying the mpl backend
* Adding prediction back in and deleting previous comments about prediction not being available
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* start working on guess command
* add guess game file
* Allow to do more than 1 attempt in the game
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* The prediction menu installation instructions are not correct and should not be used.
Tensorflow *cannot* be installed via Poetry. `tensorflow-macOS` and `tensorflow-metal` perform terribly and should not be used. Installing tensorflow via `conda install -c conda-forge tensorflow` is the only way tensorflow should be installed.
* Fix some indentation
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* pull sector industry country data from yfinance
* fix imports with missing info
* run black on helper
* fix tests
* fix tests
* fix linting
* autofill stock data and display progress bar
* redirect stock data file
* substitute only stocks not provided by user
* reset benchmark when new portfolio is loaded (bug fix)
* rewrite help, will be fixed in previous pr
* fix mypy
* fix linting
* fix linting with open
* format progress bar
* run black
* avoid clearing of all fields
* reformat error message
* improve returns calculation performance
* general linting
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
* 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>
* fixed polygon timespan, it wasn't using the montly/weekly flags
* validate if the column exists before proceeding with the sort
* if the stock dataframe is empty we'll keep the previous behaviour. also, added quotes to keep the formatting the same as the original message.
Co-authored-by: Chavithra <chavithra@gmail.com>