Commit Graph

3964 Commits

Author SHA1 Message Date
Diogo Sousa
673db3b2ca unecessary dataclass 2023-01-20 15:33:44 +00:00
Diogo Sousa
405265845f remove unecessary func 2023-01-20 14:25:21 +00:00
Diogo Sousa
0869d452e2 fetch configs at start 2023-01-20 13:41:30 +00:00
Diogo Sousa
88afbd8d8d message 2023-01-20 12:39:46 +00:00
Diogo Sousa
e182841161 remove user from statics 2023-01-20 12:38:48 +00:00
Diogo Sousa
b1eacd0450 pyupgrade 2023-01-20 12:33:46 +00:00
Diogo Sousa
0731aa0f62 ruff 2023-01-20 12:28:06 +00:00
Diogo Sousa
e8404ae6db change return obj 2023-01-20 12:24:58 +00:00
Diogo Sousa
dfe58c9c86 move logout and change to results 2023-01-20 12:01:34 +00:00
Diogo Sousa
19b35ba4a5 nop 2023-01-20 10:14:50 +00:00
Diogo Sousa
ba80ad82bd login does not follow the controller pattern, so will name it differently 2023-01-20 10:11:02 +00:00
Diogo Sousa
dffbd61f62 improve login prompt message 2023-01-20 10:07:30 +00:00
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