Commit Graph

4658 Commits

Author SHA1 Message Date
hjoaquim
9faad4147e update financedatabase to 2.0.4 2023-02-24 10:19:35 +00:00
hjoaquim
75099f18bf deprecating non used function 2023-02-24 10:04:34 +00:00
hjoaquim
3c52a522e8 fix test_stocks_controller 2023-02-24 09:57:45 +00:00
hjoaquim
60b7bbf649 fix etf/test_stockanalysis_view.py 2023-02-24 09:54:16 +00:00
hjoaquim
da7fd0a01d fix etf/test_stockanalysis_model.py 2023-02-24 09:53:37 +00:00
hjoaquim
1264ea44b3 fix /economy/test_yfinance_view tests 2023-02-24 09:52:30 +00:00
hjoaquim
eeb0743a0d Merge branch 'feature/finance-database-update' of github.com:OpenBB-finance/OpenBBTerminal into feature/finance-database-update 2023-02-24 09:51:14 +00:00
hjoaquim
fa6f66f36b typos 2023-02-23 16:49:46 +00:00
james
1deffe368d deps 2023-02-23 11:07:33 -05:00
jeroen
640df80f33 This needed fixing anyways 2023-02-23 16:37:24 +01:00
jeroen
b704ca0cdf Fix routine script 2023-02-23 16:09:34 +01:00
jeroen
f4daa9104b Depreciate the sia menu 2023-02-23 16:09:34 +01:00
jeroen
9e480cf811 Fixing all the tests I hope 2023-02-23 16:09:34 +01:00
Jeroen Bouma
2c3a7f186b Merge branch 'develop' into feature/finance-database-update 2023-02-23 15:45:51 +01:00
jeroen
9cf078611c Updates 2023-02-23 14:12:36 +01:00
DidierRLopes
f1a824a179 Add tweet news in terminal toolbar (#3757)
* Add tweet news in terminal toolbar

* allow to store tweet news settings

* update dependencies

* Add tweet news in terminal toolbar

* lint

* dependencies

* 5s timeout for twitter api

* poetry update for resolve

* reqs

* set news to false by default

* update tweepy

* update reqs

* update reqs again?

* update setuptools

* small improv

* Add tweet news in terminal toolbar

* update packages

* black linting

* black formatting

* ruff fixes

* fix settings controller

* Reqs

* fix tz issue

* add keywords selection

* linting

* helper funcs mypy

* pylint fixes

* Checkout poetry.lock + pyproject.toml

* Update dependencies

* Remove integration test file

* News Toolbar : Fix bugs

* Tests : News Toolbar

* Update dependencies

* Tests : change variable name

* Remove unused keys

* Remove unecessary global variable

* Fix linting

* Lighter API call

* Ruff

* Linting + Remove keys

* Linting

* Dotenv loading issue.

* Ruff

* Revert "Dotenv loading issue."

This reverts commit 4493f1a3e7.

* Tests : fix

* Tests : fix test_settings_controller.py

* Twitter Toolbar : avoid checking API when not enabled

* Tests : news toolbar

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
2023-02-23 13:22:22 +01:00
jeroen
3b8d6a4e89 Add FinanceDatabase v2 2023-02-23 01:36:45 +01:00
Henrique Joaquim
58d2ea1637 Auto login on the SDK if local session is found (#4297)
* token generation on the terminal

* revoke and show commands

* auto login on the sdk if local session is found

* fix tests

---------

Co-authored-by: Luqman <luqazino@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-22 14:40:01 +00:00
Henrique Joaquim
a054e5d005 User UUID to use the designated column instead (#4299)
* token generation on the terminal

* revoke and show commands

* uuid on the right column

* adding logs to the account commands

* login info at this point does not make sense anymore

* get_user_uuid function

* log formatter to use get_user_uuid function

* ruff + black

* fix tests

* fix tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-22 14:22:05 +00:00
Elyanah Aco
2079649e44 Set query arg in economy/eval as required (#4317)
* Set query arg as required

* Edit economy/eval documentation

---------

Co-authored-by: elyanah <elyanah.aco02@gmail.com>
2023-02-22 08:30:50 -05:00
Luqman
1c30ad2eec Nightly Publish to Pypi (#4315)
* pypi nightly feature

* Added trigger to nightly push

* Edited command in PyPI docs

* Code cleanup
2023-02-21 23:50:47 +01:00
James Maslek
2c9cddbd75 Change sources path (#4312) 2023-02-21 17:29:48 +00:00
Colin Delahunty
cebf454cdf Added flake8-simplify (#4227)
* Added flake8-simplify

* Update linting.yml

* update.  left 1 for you colin

* Fix that one

* Missed

* Fix

* mypy

---------

Co-authored-by: james <jmaslek11@gmail.com>
2023-02-20 19:27:34 -05:00
northern-64bit
1c84da9f16 Handle end_date with CCXT source when loading crypto (#4296)
* Handle `end_date` with `CCXT` source when loading crypto

* Fix linting

* Fix linting

* Improve code readability

* Final linting

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-20 18:41:59 -05:00
northern-64bit
33e79a2aaa Fixes #3873 and adds generic naming to financial statements (#4142)
* Fix plotting error

I choose to fix it by removing the denomination transform, since it doesn't affect the result (even when fixed).

* Add generic naming to financial statements, except for EODHD source

* Fix linting

* Fix linting

* Fix bugs

* Fix linting

* Handle invalid plot options for sources

* Fix linting

* Fix linting

* Some tests

* more tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-20 18:29:27 -05:00
northern-64bit
6e5b3998c5 Display correct risk free rate in the portfolio menu help message (#4217)
* Fix printing of help message

* Fix risk free rate usage

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-20 17:54:00 -05:00
James Maslek
258fab8658 Speed up pytest with xdist plugin (#4307) 2023-02-20 16:25:10 -05:00
James Maslek
9af4dc00e5 Hotfix for SIA menu (#4294)
* Make sia function

* Wording

* Fix attrib

* Linting

* port test

---------

Co-authored-by: jeroen <jer.bouma@gmail.com>
2023-02-20 12:20:06 -05:00
teh_coderer
02b7f4403a Update trailmap.py (#4301) 2023-02-20 10:54:18 -05:00
Luqman
8dff6b1f20 Fix Unit Test (#4298)
* Fix Unit Test

* Added comments

* remove punctuation

* Edit depth

* fix linting
2023-02-20 14:48:40 +01:00
0x-Mr.7i74N
382874b4d9 Update api-keys.md (#4256)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-19 20:15:44 -05:00
xinbaDev
6e3a683beb fix variable name (#4289)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-19 20:11:51 -05:00
James Maslek
8bf5637e1e Merge pull request #4291 from northern-64bit/hotfix/bug-#4290
Fix spelling mistake in portfolio menu help message
2023-02-19 20:03:15 -05:00
James Maslek
758abb5d09 Merge branch 'develop' into hotfix/bug-#4290 2023-02-19 19:58:09 -05:00
James Maslek
0c6721864d Merge pull request #4292 from northern-64bit/hotfix/bug-#4278
Fix `--help` for `stocks/candle`, `stocks/tob` and `stocks/news`
2023-02-19 19:57:52 -05:00
northern-64bit
ca67168a47 Fix linting 2023-02-19 22:39:01 +01:00
northern-64bit
659ea2c306 Fix help message for stocks menu 2023-02-19 22:25:19 +01:00
northern-64bit
8b15faa90d Fix spelling mistake in portfolio menu help message 2023-02-19 22:01:34 +01:00
James Maslek
5e37b94076 Merge pull request #4274 from OpenBB-finance/release/2.4.1
Release/2.4.1
2023-02-17 12:46:57 -05:00
James Maslek
8f35afc7d7 Merge branch 'develop' into release/2.4.1 2023-02-17 12:14:14 -05:00
Henrique Joaquim
7998ae7887 Adds Personal Access Token Commands (#4266)
* token generation on the terminal

* revoke and show commands

* save to keys

* test for hub_model

* black

* controller tests

* fix wrong merge

---------
2023-02-17 17:13:51 +00:00
James Maslek
10024138d3 Merge branch 'develop' into release/2.4.1 2023-02-17 11:29:27 -05:00
teh_coderer
96af407585 SDK Added about() for methods and class, fixed pypi.md (#4273)
* added log_if_login and about() for methods and class, fix pypi.md

* Update sdk_helpers.py

* mypy
2023-02-17 11:29:07 -05:00
James Maslek
7bdaa4b007 Merge branch 'main' into release/2.4.1 2023-02-17 10:25:39 -05:00
james
2e97d64f2f pyproject 2023-02-17 10:25:18 -05:00
james
f0bcdecd2a Release branch 2023-02-17 10:18:39 -05:00
Luqman
bbeaef4732 Code Coverage (#4236)
* Code Coverage

* minor fix

* Remove coverage limit check

* Check code cov

* removed env

* Tests : fixing tests + autocompletion bug

* Tests : skip a test

* Linting

* Tests : skip slow coins test on crypto

* Added check for coverage

* Remove failure test

* Minor tweak

* Added code coverage to base test

---------

Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-17 15:59:14 +01:00
jose-donato
6de733e607 Small typos on readme (#4267)
small typos

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-17 08:25:54 -05:00
James Maslek
8aa1c34efb Merge pull request #4271 from Deucedadorian/patch-1
Update api-keys.md
2023-02-17 08:22:08 -05:00
Dylan Cole
b1a123f66a Update api-keys.md
fix typo
2023-02-17 01:50:10 -05:00