Commit Graph

5813 Commits

Author SHA1 Message Date
Diogo Sousa
fe57561fb1 clean system settings 2023-07-21 14:27:58 +01:00
Diogo Sousa
c8eeab05dc rename var 2023-07-21 14:18:51 +01:00
Diogo Sousa
11e8422043 remove leftover 2023-07-21 14:15:58 +01:00
Diogo Sousa
42aa9cde99 build credentials mapping : rename func 2023-07-21 14:15:00 +01:00
Diogo Sousa
a06ec39409 rename method and add todo 2023-07-21 14:11:59 +01:00
Diogo Sousa
c09cdc5053 doctring again 2023-07-21 14:09:01 +01:00
Diogo Sousa
76fd7a4808 complete docstring and fix typing: provider interface 2023-07-21 14:07:46 +01:00
Diogo Sousa
8d4d3afa73 remove done todos 2023-07-21 14:05:47 +01:00
Diogo Sousa
d1adc9d31b add todo 2023-07-21 14:04:06 +01:00
Diogo Sousa
b9044b3fc7 publish package folder 2023-07-21 13:56:47 +01:00
Diogo Sousa
87a3fb2aad mypy easy win 2023-07-21 13:45:22 +01:00
Diogo Sousa
8c63d69101 avoid using semi colon inside error messages 2023-07-21 13:37:31 +01:00
Igor Radovanovic
9bf63e78f1 API key handling for providers (#5231)
* API key handling for new providers

* add else return to update_settings()

* Breaking code

* breaking changes: provider refactoring, multiple api keys + no api keys

* Updating fetchers and bugs

* Cleanup

* Breaking stuff

* make every fmp key lower case and accept lower case keys name only

* do the same for other providers

* linting

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2023-07-21 13:05:41 +01:00
Henrique Joaquim
ac771cf14a Merge branch 'develop' into feature/openbb-sdk-v4 2023-07-21 09:42:10 +01:00
montezdesousa
3018be889d add some charts PR stuff into the main repo (#5224)
* add some charts PR stuff into the main repo

* add charting method working for jupyter

* dont raise

* renamed router

* cleaner

* ruff

* remove print, add todo

* minor readme adjustment on url

* adding pandas-ta

* add pandas-ta to deps

* remove optional content

* settings env file

* Use import relative to the package instead of REPO

* using openbb_directory const instead

* optional content

* optional content

* optional content

* black

* added user styles for console

* initializing backend in the charting manager and moving things - working version

* pyling

* add defaults

* ruff

* fixing circular import

* fix backend creation

* cmd location on the args instead

* considering charting settings on ta class

* cleaning ta extension

* adding missing dependency on ta

* charts on window

* misplaced import

* rename file no_import to dummy_backend

* redirect import

* introducing debug_mode and cleaning todos on ta_class

* rename backend folder to core

* move charts inside app folder and allocate models

* move logs folder into app folder

* fixing paths

* fixing todos on openbb_figure

* setting dummy backend to warn and open in browser if pywry missing

* ruff

* write msg inside exception

* refactor the use of the theme

* change package builder module names

* removing all references to theme as global variable

* ajudsting the usage of kwargs on the charting_router

* removing references to rich style and console things

* dinamically import the backend functions on the charting manager

* add comment

* fix backend funcs import

* read debug_mode from env

* no need to fix manager, but ignore ruff inside __init__

* break command_runner __execute_func into smaller functions

* don't raise unless debug mode

* replace some errors by OpenBBError

* raise provider error if failure

* add timedelta minus 7 for eods

* 5 is better

* print chart error if any

* same print for warnings

* fixing the broken indicators and removing clutter

* warn warnings in debug mode

* fix path

* fixes on the ta examples

* bringing back the utils functions

* add error handling messages and sync debug mode

* rename base_filter to call_filter

* fix chart on api

* complete comment

* add runtime debug_mode in the static version

* removing comment

* working with dataframes in the package

* ruff

* ruff

* ruff

* readme

* ruff

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-07-21 09:40:04 +01:00
James Maslek
87b5bdb521 Release Cleanup (#5233)
* turn hold off when run even if no figure

* Add warning text to PlotlyTA

* better wording

* fixes #5232

* Fix askobb + updaate reqs

* bump requests

* Couple other bumps

* Here we go with the mac builds

* That wasn't right

* Not gonna have a good time today

* Previous miniconda

* did that wrong

* Wrong version

* ?

* installer-url instead

* 3.1 not 5.1

* CONDA UPDATE

* Revert the mac builds

* Run poetry lock and update some packages

* bump poetry on unit test

* Fix one test

* Add vanilla 3.11

* Fix issue on runner

* One last try

* Remove windows conda :D
2023-07-20 22:26:05 +00:00
Pratyush Shukla
259d39db9d Added stocks.fa.cal 2023-07-21 02:11:25 +05:30
Pratyush Shukla
45b4f3a461 Modified param interval to type Literal 2023-07-21 00:49:34 +05:30
Pratyush Shukla
cf71714d27 Added economy.index 2023-07-21 00:12:18 +05:30
Pratyush Shukla
dfa1fc1f35 modified to install everything 2023-07-20 23:32:39 +05:30
teh_coderer
41ef3d416f Hotfix/ improve tables/charts (#5228)
* improve charts, tables

* update

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-19 23:58:32 +00:00
James Maslek
8b007785a1 Adds a matlab like hold on to plot on same axis (#5173)
* definitely not juan walking me through everything

* trying to pretty it

* start doing same axis with hold

* actually do the sameaxis correctly

* Better docstring

* Fix mypy

* mypy3

* pylint fixes

* Add message about candle

* might work, might now

* Update stocks_controller.py

* Update plotly_helper.py

* Update plotly_helper.py

* Make fmp view legends nice

* Update helper_funcs.py

* Add custom legends for when hold on

* bigger font

* add colors to new axes

* add custom title, remove location

* Start guide.

* Update plot-holds.md

Add figures

* More words

* Update plot-holds.md

* Finish guide

* tests

* Sneak in test updates for release

* guess not sneak test

---------

Co-authored-by: teh_coderer <me@tehcoderer.com>
2023-07-19 23:29:24 +00:00
DidierRLopes
1bfc4190e1 Update routine tags (#5221)
* Update routine tags

This updates available routine tags.

I added other topics than not OpenBB menus. Let me know if anything is missing.

@jmaslek @andrewkenreich @deeleeramone

CC: @Disorrder

* Update constants.py

* Update constants.py

* Update constants.py
2023-07-19 22:30:11 +00:00
Pratyush Shukla
0028c8e235 Added economy.risk 2023-07-20 01:13:41 +05:30
Pratyush Shukla
1b9912b306 Fixed date validations 2023-07-20 00:13:39 +05:30
Pratyush Shukla
55a41acc94 Added script to install all extensions and providers 2023-07-19 23:17:54 +05:30
Igor Radovanovic
d7b01f2102 Minor edits 2023-07-19 12:49:55 +02:00
Igor Radovanovic
099a949813 Linting 2023-07-19 11:24:23 +02:00
Pratyush Shukla
3d88d0c4af Added economy.index command 2023-07-19 02:30:50 +05:30
Pratyush Shukla
0c67f469d2 Added economy.available_indices 2023-07-19 02:30:32 +05:30
Igor Radovanovic
2fdff38f72 Merge branch 'develop' into feature/openbb-sdk-v4 2023-07-18 07:58:44 -07:00
Igor Radovanovic
1be732af8c Appease pydocstyle 2023-07-18 16:44:29 +02:00
James Maslek
7d52593e53 Merge pull request #5229 from OpenBB-finance/standalone-unit-test
Manually triggered unit test
2023-07-18 10:19:21 -04:00
James Maslek
d6c63479bc Add the unit tests with manual trigger 2023-07-18 10:16:42 -04:00
Igor Radovanovic
e0d020ee41 Increase robustness of docstrings 2023-07-18 15:14:07 +02:00
Igor Radovanovic
e27a74634c Linting 2023-07-18 13:22:39 +02:00
Igor Radovanovic
db65e7b961 Improve docstring display 2023-07-18 13:05:58 +02:00
Diogo Sousa
56b0393b66 change static assets names 2023-07-17 21:43:30 +01:00
Diogo Sousa
4c65add171 redeuce some code and rename from_plugins to from_extensions 2023-07-17 18:02:19 +01:00
Diogo Sousa
dc6e2c0970 better var name 2023-07-17 17:26:45 +01:00
Diogo Sousa
e0e8753ab5 remove unused import 2023-07-17 16:59:08 +01:00
Diogo Sousa
a405eacd35 dont raise, always forgetting 2023-07-17 16:55:06 +01:00
Diogo Sousa
82fa49b7d5 create user, settings json files if they don't exist 2023-07-17 16:51:52 +01:00
Theodore Aptekarev
04d5cb1e16 Merge branch 'develop' into feature/openbb-sdk-v4 2023-07-17 16:51:00 +02:00
James Maslek
f7f048da46 Merge branch 'develop' of https://github.com/OpenBB-finance/OpenBBTerminal into develop 2023-07-17 10:26:04 -04:00
Diogo Sousa
7a8a043d31 create .openbb_sdk if does not exist 2023-07-17 15:25:15 +01:00
Pratyush Shukla
c0bfca6a16 refactor core readme 2023-07-17 19:42:40 +05:30
Pratyush Shukla
2b4810e31a added more info in provider readme 2023-07-17 19:31:02 +05:30
Pratyush Shukla
9b4460e2a3 refactored table of contents 2023-07-17 19:02:21 +05:30
Igor Radovanovic
dfda9a385a Fix FRED 2023-07-17 15:04:58 +02:00