Commit Graph

3944 Commits

Author SHA1 Message Date
hjoaquim
fb79ead5a1 update scipy and pywin 2023-01-18 23:46:09 +00:00
james
11d41ca1fe add scipy sparse 2023-01-18 18:34:53 -05:00
james
99e1ca0a90 add scipy libs to windows only 2023-01-18 17:30:30 -05:00
james
8b5a785c18 Add xgboost to intel 2023-01-18 16:44:56 -05:00
James Maslek
352eb02d5f Merge branch 'develop' into release/2.2.0 2023-01-18 16:01:31 -05:00
Henrique Joaquim
dab5519190 Fix M1 build (#4010)
* 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

* adding xgboost explicitly

* testing juan sugestion

* removing unncessary stuff that the hook deals with

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2023-01-18 15:48:54 -05:00
luqazino@gmail.com
6c536f2303 Merge branch 'release/2.2.0' of https://github.com/OpenBB-finance/OpenBBTerminal into release/2.2.0 2023-01-18 21:15:30 +01:00
luqazino@gmail.com
c766c62dec Added scipy to intel 2023-01-18 21:15:28 +01:00
Chavithra PARANA
5fb806cd45 Update version number 2023-01-18 19:56:24 +01:00
montezdesousa
8b96fdbb29 Fix historical futures plot axes (#4006)
* 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>
2023-01-18 17:26:30 +00:00
James Maslek
09742151d8 Merge branch 'main' into release/2.2.0 2023-01-18 11:13:14 -05:00
james
ead16d5b88 logging hash 2023-01-18 10:57:43 -05:00
james
4edfa4f991 revert conda yaml 2023-01-18 10:53:49 -05:00
james
bf2438354c Update release branch 2023-01-18 10:51:55 -05:00
james
e4dc47bfc6 bump 2023-01-18 10:46:33 -05:00
martinb-bb
a9a16016b1 [FIX] Pytorch-lightning trainer conflict with TQDM progress bar (#4002)
* fix for tqdm progress bar conflict

* fix tests

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-18 10:07:30 -05:00
montezdesousa
4e4d0ca9ca change .env loading priority (#4005) 2023-01-18 08:52:05 -05:00
montezdesousa
f34b474052 Fix integration tests bugs (#3993)
* fix tk

* fix newsletters

* fix lt

* exception on pir

* fix attrib bug and remove warning

* fix earnings

* fix ins, lt, whatif

* fillna

* fix vis

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-17 17:34:10 +00:00
Luqman
37258f3642 Feature/release branch gitflow (#3998)
* release branch gitflow implentation
2023-01-17 18:01:07 +01:00
James Maslek
ba2c7452fe Add ticker to the load export file (#3997)
* bump

* Change export name to have the ticker

* revert yaml
2023-01-17 10:16:00 -05:00
northern-64bit
162c72715f Fix #3787 (#3966)
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>
2023-01-16 21:48:12 -05:00
northern-64bit
aaa4467160 Hotfix/bug #3945 (#3963)
* Add exception to http requests made by ftd

* Formatting

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-16 20:46:29 -05:00
northern-64bit
5d1686128c Fix the news command and making it more stable (#3965)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-16 20:10:50 -05:00
James Maslek
5fbad630ac Add extra error handling for yf in etf (#3985) 2023-01-16 14:56:47 -05:00
montezdesousa
4d3f5aecfb Bump yfinance to 0.2.4 and fix tests (#3977)
* 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>
2023-01-16 19:24:58 +00:00
Sergio A. S
9fd4527dc1 Update overlap_model.py - wrong typehint (#3970)
* 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>
2023-01-16 13:54:00 -05:00
Sergio A. S
cf5f0ffb6c Update vwap.md (#3971)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-16 13:34:00 -05:00
Sergio A. S
d78aa5bd65 Update overlap_model.py (#3955)
* 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>
2023-01-16 13:10:29 -05:00
Sergio A. S
c08488fbda Update sma.md (#3956)
* 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 sma.md

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-16 12:49:22 -05:00
Mert Nuhuz
a00e90a8d2 Feature/macro convert (#3924)
* 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>
2023-01-16 11:32:46 -05:00
Luqman
d7457dee49 Linting fix (#3984)
Linting fix
2023-01-16 16:53:43 +01:00
Luqman
0b9af50b6d Gitflow - Added manual trigger to Linting (#3981)
* Minor Fix for branch name check

* added manual trigger to linting
2023-01-16 10:21:28 -05:00
Luqman
0694c80562 Minor Fix for branch name check (#3979) 2023-01-16 15:25:38 +01:00
montezdesousa
86fd7ae426 Add multiple countries option to events (#3938)
* allow multiple countries in events cmd

* fix test

* fix last test

* black

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-13 19:10:20 -05:00
Bongani Bendile
19919189ec Last Price Bug into Previous Close #3865 (#3949)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-13 18:32:57 -05:00
James Maslek
6ae8d88d2d Put yf.info behind an exchange flag on load (#3951)
* Put yf.info behind an exchange flag

* Guides

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-01-13 17:45:27 -05:00
montezdesousa
e9b832f779 Fix portfolio returns (#3931)
* 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>
2023-01-13 17:25:53 -05:00
jose-donato
2939b1c4e8 Fixed failing badge not used anymore (#3932)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-13 16:52:26 -05:00
montezdesousa
9438329378 Rewrite and skip yfinance tests (#3953)
* economy

* fix futures

* fix stocks tests

* skip unfixable tests

* fix ark
2023-01-13 19:41:45 +00:00
Luqman
f8377af2e6 GitFlow - improve check for changes (#3948)
Gitflow Implementation
2023-01-13 15:14:07 +01:00
Mert Nuhuz
4303bdc682 Issue #3882 Fixed (#3885)
* 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>
2023-01-12 10:14:58 -05:00
Rob-Rychs
6f473be88c broken link (#3889)
* 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

* broken link

due to quandl.com redirecting to nasdaq.com, for the link to work and get the appropiate API key you need to remove the period at the end of this link...

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: james <jmaslek11@gmail.com>
2023-01-12 10:11:56 -05:00
Jeroen Bouma
efe46dec8e Update installation guides with videos (#3903)
* 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

* Update installation guides with videos

* Add fix for Ruff crashing

* Me no longer do what James said

* 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: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-12 10:06:03 -05:00
James Maslek
ac5e1b083c Rebase develop? (#3935)
* 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>
2023-01-12 09:57:23 -05:00
Chavithra
6dfbcc9884 Update dependency: grpcio (#3937)
* Update grpcio

* Revert "Update grpcio"

This reverts commit 676c50a2bdde5ca64614bddd3eaebbccd68c5994.

* Update dependencies
2023-01-12 12:50:52 +01:00
jose-donato
3fd68b6062 Hotfix/dots sources (#3928)
* fix: wordwrap

* 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: str

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2023-01-11 17:37:10 +00:00
Luqman
547b0742c2 Gitflow - Autodoc (#3922) 2023-01-11 16:49:20 +01:00
montezdesousa
c6b2ec5857 Integration tests refactor (#3781)
* 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>
2023-01-11 14:23:43 +00:00
James Maslek
1aebf488ac Add crypto dd functions to sdk (#3888)
* 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>
2023-01-10 17:36:26 -05:00
James Maslek
26a59f3265 poetry add ccxt@latest (#3920)
* 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

* poetry add ccxt@latest

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2023-01-10 14:49:10 -05:00