Commit Graph

5959 Commits

Author SHA1 Message Date
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
0d377ce0f2 working summarizer 2023-01-18 12:21:17 -05:00
martinb-bb
f7f1ef23e9 more features 2023-01-18 11:37:32 -05:00
hjoaquim
cb2798e307 Merge remote-tracking branch 'OpenBB-finance/develop' into develop 2023-01-18 16:24:21 +00:00
hjoaquim
8c39dbce2e Merge remote-tracking branch 'OpenBB-finance/main' into develop 2023-01-18 16:24:04 +00:00
james
e4dc47bfc6 bump 2023-01-18 10:46:33 -05:00
martinb-bb
6a300940c1 working 2023-01-18 10:17:10 -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
kulbinderdio
378b13f17c Merge branch 'develop' into feature/real_estate 2023-01-16 20:16:56 +00:00
James Maslek
5fbad630ac Add extra error handling for yf in etf (#3985) 2023-01-16 14:56:47 -05:00
kulbinder dio
5276606bd1 still trying to resolve linting issues 2023-01-16 19:55:22 +00:00
kulbinder dio
308b0a6add still trying to resolve linting issues 2023-01-16 19:41:31 +00: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
kulbinder dio
fc43e62f39 and once more with black installed 2023-01-16 18:20:38 +00:00
kulbinder dio
e5856597fd trying again to resolve linting issue 2023-01-16 18:15:06 +00: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
kulbinder dio
8e4d634787 Merge branch 'feature/real_estate' of https://github.com/kulbinderdio/OpenBBTerminal into feature/real_estate 2023-01-16 17:48:26 +00:00
kulbinder dio
4cd7aeb803 more newlines for linting 2023-01-16 17:48:18 +00:00
martinb-bb
6792f8e3b1 fixes with vids 2023-01-16 12:22:13 -05:00
kulbinderdio
e7eb820a1c Merge branch 'OpenBB-finance:develop' into feature/real_estate 2023-01-16 17:04:33 +00:00
martinb-bb
737cb895ac large commit 2023-01-16 11:59:02 -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
martinb-bb
eed3c3d59c i18n 2023-01-16 11:04:20 -05:00
Luqman
279f42a48d Merge branch 'develop' into hotfix/bug-#3960 2023-01-16 16:58:05 +01:00
Luqman
1ace755f52 Merge branch 'develop' into feature/real_estate 2023-01-16 16:54:12 +01: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
kulbinder dio
403283f70c newlines added for Linting 2023-01-14 23:15:14 +00:00
kulbinder dio
069dc21cc1 added newline to ends of files to pass Code Linting 2023-01-14 23:05:24 +00:00
kulbinder dio
8dc9f0ee44 test_ alt_controller fixed (output check (extra spaces removed) 2023-01-14 22:25:43 +00:00
kulbinder dio
230868345c New functionality for UK Sold house price data 2023-01-14 21:49:05 +00:00
northern-64bit
71728ec264 Linting 2023-01-14 13:59:36 +01:00
northern-64bit
b880f34053 Fix issue 3960 2023-01-14 13:47:52 +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