* 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
* bump
* Update release branch
* revert conda yaml
* logging hash
* Update version number
* Added scipy to intel
* Add xgboost to intel
* add scipy libs to windows only
* add scipy sparse
* update scipy and pywin
* update tests
* UPdate installation.md to reflect 2.2
* fix yf unit tests
* Try to get futures tests working
* Ignore tz in yf download
* Found another end date needed
* delelte yf cache
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: luqazino@gmail.com <luqazino@gmail.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
* change start date to model
* rewrite test
* ruff
* add end date
* move futures and update test
* return if wrong dates
* fix controller test
* record mode rewrite model and view
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Make the get_equal_weights handle portfolio's with stock's filtered out, due to the stocks having to many NaNs.
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* upgrade yfinance to 0.2.4
* fix some tests failing bc yfinance new date format
* fix remaining tests
* fix tests
* rewrite failing test
* black
* rerecord test
* fix get_1y_sp500 test
* missing import here
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* 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
* Update overlap_model.py
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>
* 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
* Update overlap_model.py
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>
* 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
* Issue #3882 Fixed
* 2 files reformatted by black
* tests added
* 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
* fixed mypy errors
* Fixed parser options for currency conversion
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>
* fix inception bug and clean some useless attributes
* reorder attributes
* add returns and cumulative returns
* fix cumulative returns
* fix cumulative returns
* remove cumulative ret
* add some doc and encapsule methods
* order detail
* add more details on docstrings
* wrong docstring
* add commnet
* Update portfolio_engine.py
* fix bug with unsupported type
* 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
* fix table header
* fix portfolio integration test
* ruff
* fix tests
* rewrite yfinance call
* fix test_draw
* test_stocks_helper
* bt model
* fix comp analysis
* fix ftd
* fix dd
* fix screener
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
* 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
* Issue #3882 Fixed
* 2 files reformatted by black
* tests added
* 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
* fixed mypy errors
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>
* 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
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
* generate integration tests report
* new console report
* simple run_scripts
* move tests script to folder
* add skipping
* always display skips
* func name
* allow running from relative path
* rename some vars and time
* typo
* change portfolio supress and warning
* uncomment economy test
* rename test controller
* multiprocessing
* display test progress and available
* rename func
* mypy
* should not be here
* small changes
* type hinting and docstrings
* new subprocesses default
* forget context and chunksize
* clean len skipt
* small comment
* fix subproc default with v
* minor change
* fix path
* better this way
* make output visible
* allow only sequential run with verbose mode
* change message
* detail
* include andrew idea
* limit multiprocessing to clone version
* fix for package application
* must be up here
* allow verbose with multiprocessing but warn
* update readme
* move tests to core
* Update README.md
* Update README.md
* move readme outside
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* parse subproc arg
* Update README.md
* 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
* Delete glossary base command
* move scripts
* ruff
* update pyproject.toml
* update yfinance
* fix futures and economy test, rewrite
* rewrite stocks test yfinance dependent
* refactor sia to yfinance 0.2...
* fix last failing sia tests
* black
* update reqs
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
* 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
* Add crypto dd functions to sdk
* 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
* Fixes currency and trailmap
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
* #3835 add end date for historical
* Add to terminal function
* Add to other ca functions and update tests
* missed the controller test
* Add helper function for start and end date
* test for helper function
* default end = today
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
* Added single block data
* Added single block data tests to test_blockchain_model.py and test_blockchain_view.py
* Made changes requested by reviewer.
* Updating with some of the new changes. Still have some to fix.
* Changed everything requested except a couple I need help on.
* Finished the last two changes.
* Resolving
* Added function for sdk and fixed a linter issue.
* Formatting
* Fixed tests
* tests
* Fix tests
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Display daily returns as bar chart with color=red for negative returns and color=green for positive return
* Display daily returns as bar chart with color=theme.down_color for negative returns and color=theme.up_color for positive return
* Black formatting
Co-authored-by: Lars Karbach <lars@karbach.org>
Co-authored-by: James Maslek <jmaslek11@gmail.com>