Commit Graph

3952 Commits

Author SHA1 Message Date
Diogo Sousa
5ce85bfae6 error 2023-01-19 21:35:32 +00:00
Diogo Sousa
5ea1d8c948 these are unecessary 2023-01-19 21:32:26 +00:00
Diogo Sousa
0ff64533d0 black 2023-01-19 20:35:33 +00:00
Diogo Sousa
a13e94ede0 Merge branch 'feature/login' of github.com:OpenBB-finance/OpenBBTerminal into feature/login 2023-01-19 20:32:49 +00:00
Diogo Sousa
eb66dc5f0c clear before prompt 2023-01-19 20:32:37 +00:00
montezdesousa
8d03b8c6b0 Merge branch 'develop' into feature/login 2023-01-19 20:24:16 +00:00
Diogo Sousa
87a51e6fe9 add logout and whoami 2023-01-19 20:23:41 +00:00
Danglewood
e2bad4dba3 Adds filings function to the Stocks menu (#3910)
* 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

* adds filings function

* Updates test_print_help.txt

* Adds new filings function to SDK documentation.

* updates Stocks Menu screenshot to include `filings`

* updating unit testing

* requested changes

* more changes

* black

* removed a trail here that should have stayed local

* adds export flag

* correction

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-19 14:40:26 -05:00
Diogo Sousa
2733834f06 no login, go to prompt 2023-01-19 19:16:52 +00:00
Diogo Sousa
be5fc3eda0 pylint 2023-01-19 19:06:08 +00:00
Diogo Sousa
fbc7766cad import order 2023-01-19 19:00:13 +00:00
Diogo Sousa
b90bb043db docstring 2023-01-19 18:58:31 +00:00
Diogo Sousa
8071408bfc return type 2023-01-19 18:55:19 +00:00
Diogo Sousa
32ee937602 requirements update 2023-01-19 18:51:11 +00:00
Diogo Sousa
5a0012ddcf handle possible errors 2023-01-19 18:49:33 +00:00
Diogo Sousa
2abf8ce56f Merge branch 'develop' into feature/login 2023-01-19 16:44:38 +00:00
James Maslek
e7185b10f3 merge the release changes into develop (#4016)
* 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>
2023-01-19 11:41:39 -05:00
Diogo Sousa
d1e30fc410 forgot poetry lock 2023-01-19 14:16:32 +00:00
Diogo Sousa
cc8910613d add jwt to poetry 2023-01-19 14:16:15 +00:00
Diogo Sousa
b1a5bde9a5 rename func 2023-01-19 14:16:04 +00:00
Diogo Sousa
869925877b easier to read 2023-01-19 14:13:25 +00:00
Diogo Sousa
29d62ebd26 looking a bit better 2023-01-19 13:42:53 +00:00
Diogo Sousa
3ba90b695e first version for login prompt 2023-01-19 13:14:16 +00: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
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
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