Commit Graph

5843 Commits

Author SHA1 Message Date
Diogo Sousa
bcf8ead72f add dynamic version to readme 2023-07-24 12:41:45 +01:00
montezdesousa
1453885ab4 add public routines flag (#5236)
* add public routines flag

* Spelling

* mypy

* Tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-07-24 13:22:47 +02:00
Diogo Sousa
96cada40cf simplify readme 2023-07-24 12:16:57 +01:00
Diogo Sousa
fd6349a8f6 some consistency 2023-07-24 12:12:07 +01:00
Igor Radovanovic
f7d003d314 More fixes 2023-07-24 13:08:58 +02:00
Diogo Sousa
dd9c00473e fix error description 2023-07-24 12:03:50 +01:00
Diogo Sousa
0b5b849a74 provider description 2023-07-24 12:01:23 +01:00
Diogo Sousa
6f58c7bb13 chart description fix 2023-07-24 11:59:24 +01:00
Diogo Sousa
92150b6257 remove title 2023-07-24 11:57:00 +01:00
Diogo Sousa
4d10bff56e typo 2023-07-24 11:55:41 +01:00
Igor Radovanovic
3532776c80 Bug Fixes and improvements 2023-07-24 12:54:26 +02:00
Diogo Sousa
98b50c3149 update core README 2023-07-24 11:27:19 +01:00
Diogo Sousa
7b76ab4839 black 2023-07-22 17:50:01 +01:00
Diogo Sousa
ca5ccf0d56 rename __app__ file 2023-07-22 17:49:42 +01:00
Diogo Sousa
ead226a6a3 place common utilities inside the container 2023-07-22 17:45:54 +01:00
Diogo Sousa
f7800d8bf3 rename root to extensions, more obvious 2023-07-22 13:35:50 +01:00
Diogo Sousa
5f67a3fc8f rename root 2023-07-22 13:29:46 +01:00
Diogo Sousa
372bc883fb make extension building more explicit 2023-07-22 13:22:26 +01:00
Diogo Sousa
29927e6973 rename provider interface property 2023-07-21 18:20:59 +01:00
Diogo Sousa
b8ff87bae1 clean credentials.py 2023-07-21 18:11:54 +01:00
Diogo Sousa
e07e543b9e clean credentials.py 2023-07-21 18:11:23 +01:00
Diogo Sousa
04147ac91d explicit fetch data instead of getattr 2023-07-21 17:52:23 +01:00
Diogo Sousa
5b5f6982d5 typo 2023-07-21 17:25:50 +01:00
Diogo Sousa
95e297770d raise another exception 2023-07-21 16:30:40 +01:00
Diogo Sousa
0855883e9d wont catch if its a bug 2023-07-21 16:28:11 +01:00
Diogo Sousa
480693b3cb raise errors instead of printing 2023-07-21 16:25:02 +01:00
Diogo Sousa
0e2f0b4bfa rename fetcher var 2023-07-21 15:00:18 +01:00
Tony Roberts
948cda9691 Add missing functools.wraps decorator to filter_call (#5237)
Without this the decorated method object can't be inspected at runtime.
2023-07-21 14:45:31 +01:00
Diogo Sousa
02b09290e2 ruff 2023-07-21 14:31:01 +01:00
Diogo Sousa
d911617bea clean system settings 2023-07-21 14:30:40 +01:00
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