* Adds relative-strength percentile to stocks/ta
* allow exporting tables
* shifted from common to stocks and added tests
* added documentation
* added in nav bar
* fix test
* remove whitespace in docstring
* fix type error
* fix test
* fix tests
* test
* added tickers to a separate table
* add image to doc
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
* improve sia experience
* Pytest : stocks/sector_industry_analysis controller
* Tests : rewrite expected files
* refactor based on Jer feedback
* add the code that I forgot to push lol
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
* Add helper command to filter unix paths and other edge cases
* Remove sort argument filtering from parsing
* Make --file arg mandatory for loading files
* Refactor queue parsing logic
* Enable adding controller level input parsing filters
* Remove the github repo path hack because it's not needed anymore
* Fix typos and line length linting
* Update unix path parser to match known extensions
* Update oss custom filters to not require space after slash arg
* Fix tests and failing linters
* Add pre-commit hook to check for reserved arguments validity
* Fix tests
* Fix finviz compare screener tests
* Fix screener test
* Fix screener test
* Fix float representation in pd dataframe on finviz screener tests
* Update test records
* Update test records
* Remove explicit float formatting in tests
* Update tests
* Remove prepending file argument
* Update long arguments that have lost their short default to file
* Update arguments in docs
* Update portfolio test data
* Fix econometrics/desc throwing error on empty df and fix tests
* Update tests
* Fix econometrics load autocompletion
* Fix portfolio tests giving different results every time
* Allow loading openbb scripts from arbitrary path
* Fix passing path as a terminal argument
* Fix guess game being case sensitive
* Silence bandit warning about using pseudo-random generators
* Update gov tests
* Fix screener sort fields that have forward slash
* Make controllers apply custom argument filters on entry
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
* fix available countries and title
* fix title
* capitalize headers
* display just one day by default
* default all countries & high imporatnce
* format output
* fix display to standard date yyyy/mm/dd
* rewrite expected ecocal test
* change date format slash to dash
* mypy
* complete description
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
* Added futures dashboard
* Got a semi working prototype
* Updated csv
* Improved UI and data gathering
* Got a working prototype
* Updated title
* Added description for futures
* Fixed tests
* fix binance controller API key
* add news to main menu
* feedparser
* trying to help
* requirements for didier
* one test
* fix suggestion by @rpydaneogrendim on Twitter
* fix tests
* trying to help again?
* test
Co-authored-by: james <jmaslek11@gmail.com>
* 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>
* 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
* 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
* 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>