Commit Graph

6329 Commits

Author SHA1 Message Date
hjoaquim
b9b485d4cb Merge remote-tracking branch 'OpenBB-finance/develop' into feature/james-didier-feedback 2024-05-10 11:32:07 +01:00
Henrique Joaquim
83476ada46 [Feature] Update chart creation so it doesn't break the command execution (#6382)
* chart execution to not break the whole call

* pylint: disable=broad-exception-caught

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2024-05-09 22:55:54 +00:00
Danglewood
9bdc0f1407 fix fmp (#6383)
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-05-09 19:57:06 +00:00
montezdesousa
0b9b12d198 [Feature] - Redefined standard fields & multiple_items_allowed property changes (#6377)
* feat: add field annotation and replace multiple items by dict

* comments & details

* fix: fix api & update docs website

* ^

* remove empty info

* descriptions

* descriptions

* fix reference.json

* remove debug code

* remove debug code

* docstring

* docstring

* fix: standard fields propagate to providers

* comment

* better

* better

* better

* better

* better

* mypy fixes

* mypy fixes

* reference

* cli fix: if the argument is required (aka standard) it means we don't want to touch it, unless choices need to be added

* cli fix: touch the help message (with the available providers) only if it's not on the signature (aka standard field)

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: hjoaquim <henriquecjoaquim@gmail.com>
2024-05-09 17:50:24 +00:00
James Maslek
3c39a3f0df correct hub link 2024-05-09 10:35:52 -04:00
Henrique Joaquim
efea74dae5 Merge branch 'develop' into feature/james-didier-feedback 2024-05-09 10:44:56 +01:00
Danglewood
f191d163ba [BugFix] Update SEC pyproject.toml (#6379)
* update sec toml

* dash not underscore
2024-05-09 09:39:31 +00:00
Danglewood
4d6074de2d [BugFix] Fix Currency Search (#6380)
* fix currency search

* test artifact

* static files
2024-05-09 09:38:59 +00:00
hjoaquim
6f0085005e config to set number of cached results to display 2024-05-09 00:45:14 +01:00
hjoaquim
2198397859 prepend OBB to use on the --data 2024-05-09 00:23:45 +01:00
hjoaquim
be8749ca26 display info instead of sections and display cached results 2024-05-09 00:14:34 +01:00
hjoaquim
0dc4b82286 display cached results on every platform menu's help 2024-05-09 00:14:05 +01:00
hjoaquim
db1eba5f3c left spacing regardless description 2024-05-09 00:13:26 +01:00
hjoaquim
0cb1b37652 keep command on the obbject so it can be shown on the results 2024-05-08 23:08:12 +01:00
Henrique Joaquim
7f5517ff59 Merge branch 'develop' into feature/james-didier-feedback 2024-05-08 14:19:24 +01:00
Igor Radovanovic
fbceab637c Merge branch 'develop' into feature/james-didier-feedback 2024-05-08 13:31:43 +02:00
Danglewood
1a49dfdd9e fix pandas warnings (#6375) 2024-05-08 11:31:12 +00:00
Danglewood
9c0ef12fa6 [BugFix] Ad 'x-' to json_schema_extra in Fields with unit_measurement (#6376)
* add 'x-' to json_schema_extra - unit_measurement

* mypy

* more mypy
2024-05-08 11:30:39 +00:00
Danglewood
99b0bb5287 [Feature] EconDB Main Indicators (#6365)
* add main indicators to economy.indicators

* static assets

* ruff

* Adapt and add unit test

* record test cassette

* polygon test cassette

* currency pairs

* recapture test

* mypy

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-05-07 20:03:13 +00:00
hjoaquim
48e0d65172 default name len to 23 2024-05-07 19:07:18 +01:00
hjoaquim
e8f5872ae3 use the PATH instead in the top of the menu help 2024-05-07 18:48:08 +01:00
hjoaquim
63461c5c98 if there's no menu description on reference.json, use the commands of that menu to create a pseudo description 2024-05-07 18:40:59 +01:00
hjoaquim
15f2b81434 add a new line only to separate menus and commands 2024-05-07 18:19:54 +01:00
montezdesousa
712ccbc1c6 Bugfix/cli max rows (#6374)
* fix: cli max rows

* fix: settings menu

---------

Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com>
2024-05-07 18:12:58 +01:00
hjoaquim
5777d090f1 Merge remote-tracking branch 'OpenBB-finance/develop' into feature/james-didier-feedback 2024-05-07 17:38:52 +01:00
Igor Radovanovic
e12aac157e [BugFix] - Fix tests for release (#6372)
* Fix user service

* fix module import

* proper Chart(...) mock

* Fix SEC rss

* improve test on to_chart() method

* Fix form 13F example filing

* remove broken example

* Add lxml dep to SEC

* fix default

* fix: treasury_prices default date, last business day´

* fix: linting

* fix: rebuild

* ^

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-05-07 14:57:12 +00:00
Henrique Joaquim
295babd486 Merge branch 'develop' into feature/james-didier-feedback 2024-05-07 15:51:55 +01:00
Theodore Aptekarev
101990dffa Sync main and develop (#6373)
* add snowflake integration video (#6339)

* [HotFix] Fix broken URLs in docs page. (#6368)

* Fix broken URLs

* use full URL to other docs pages.

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2024-05-07 14:17:59 +00:00
Henrique Joaquim
4e8545461a Merge branch 'develop' into feature/james-didier-feedback 2024-05-07 15:00:37 +01:00
Henrique Joaquim
756eebdf07 [Feature] Handle repeated non standard arguments (#6366)
* remove about message

* handle repeated arguments

* accomodate all the choices from different providers

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-05-07 13:57:35 +00:00
Henrique Joaquim
02848c47b7 Merge branch 'develop' into feature/james-didier-feedback 2024-05-07 13:23:13 +01:00
Igor Radovanovic
5c0b36cddb [BugFix] - Fix lowercase symbols (#6342)
* Fix lowercase symbols

* fix decorator for to_upper

* add annotated results with underlying symbol info

* ?

* Improvements

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com>
2024-05-07 12:22:44 +00:00
Danglewood
d3b9ce6d37 [BugFix] Set Chart Style Before Output (#6367)
* set chart style before output

* docstring

* black

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-05-07 12:04:46 +00:00
hjoaquim
7e53284fd6 Merge branch 'feature/james-didier-feedback' of github.com:OpenBB-finance/OpenBBTerminal into feature/james-didier-feedback 2024-05-07 12:13:21 +01:00
hjoaquim
d0d1965115 styling: no new lines after settings 2024-05-07 12:13:07 +01:00
Henrique Joaquim
70b085e2e1 Merge branch 'develop' into feature/james-didier-feedback 2024-05-07 12:10:54 +01:00
Henrique Joaquim
63723f7b2c [BugFix] Remove Literal[None,...] (#6371)
* remove Literal[None,...]

* pylint: disable=unused-argument

* change  to Filesystem     1K-blocks      Used Available Use% Mounted on
tmpfs            3257224      3044   3254180   1% /run
/dev/nvme0n1p5 491732848 290872352 175808336  63% /
tmpfs           16286112     81500  16204612   1% /dev/shm
tmpfs               5120         8      5112   1% /run/lock
efivarfs             246        66       176  28% /sys/firmware/efi/efivars
tmpfs           16286112         0  16286112   0% /run/qemu
/dev/nvme0n1p1    262144     60008    202136  23% /boot/efi
tmpfs            3257220     15056   3242164   1% /run/user/1000 to avoid misleading linting attr errors
2024-05-07 10:57:03 +00:00
hjoaquim
c5f4460f0b ommit coverage from menus 2024-05-07 10:13:26 +01:00
hjoaquim
41e4eac9d1 show msg only if it's an OBBject 2024-05-07 10:11:36 +01:00
hjoaquim
90a84a6ad9 remove comment 2024-05-07 10:10:45 +01:00
hjoaquim
5bf2bbd76a section description 2024-05-07 09:58:48 +01:00
Henrique Joaquim
380891de4e [Feature] Improve OBBject Registry (#6364)
* registry belongs to the session instead

* help message on results

* abstract the update_completer a bit and also force the re-link of newly created obbjects so they're immidiatly available

* new settings to control the obbject registry

* new method to remove a certain index from the stack

* using the new flags to control messages on the registyr

* fix: add spaces to results --help

* Update cli/openbb_cli/controllers/feature_flags_controller.py

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>

* rename to settings_controller

* typo wrong attr

* better messages and actually removing the oldest obbject

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2024-05-06 14:49:22 +00:00
Danglewood
ec7ff94707 [BugFix] SEC ETF Holdings - Try Catch for RemoteDisconnect Error (#6359)
* try catch for RemoteDisconnect error

* await sleep

* remove not implemented helper

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2024-05-06 14:20:42 +00:00
montezdesousa
cd4e36e7fe [BugFix] - Remove multiple .envs (#6363)
* Remove .envs

* Clean menu_text.py

* Remove TODO
2024-05-03 10:32:10 +00:00
Igor Radovanovic
18115e4e91 [Enhancement] - Sanitize sensitive data from .cli.his (#6361)
* Sanitize sensitive data from .cli.his

* fix long command providers

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-05-02 11:21:48 +00:00
Henrique Joaquim
409703387b avoid range index as it breaks interactive tables (#6360) 2024-05-02 11:07:40 +00:00
montezdesousa
a0d580ab25 [Feature] - Display command providers (#6355)
* fix: avoid calling Session() multiple times

* rename session refs

* fix: cmd text

* fix: avoid Session()

* fix: add providers by cmd

* fix: timezones

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-05-01 21:17:02 +00:00
Danglewood
c45997567c [BugFix] Intrinio EquityPriceHistorical - Return Error Message When Invalid Key (#6357)
* return error message when invalid request

* mypy
2024-05-01 21:15:26 +00:00
Henrique Joaquim
9a02e501f8 create a title out of the route being used to use it as table title (#6356) 2024-05-01 17:52:13 +00:00
Igor Radovanovic
e37c0c0a40 Remove OpenBB Terminal from docs page (#6354) 2024-04-30 18:07:21 +00:00