Commit Graph

6655 Commits

Author SHA1 Message Date
Igor Radovanovic
cbf8a86ed4 Begin 2023-09-12 15:53:01 +02:00
Igor Radovanovic
d7da32483a Merge pull request #5430 from OpenBB-finance/feature/improved_helpers
Feature/improved helpers
2023-09-12 15:25:38 +02:00
Igor Radovanovic
d5ad4652c6 Cleanup 2023-09-12 15:06:29 +02:00
Igor Radovanovic
f0b190783c Rebuild static assets 2023-09-12 15:02:44 +02:00
Igor Radovanovic
1b21696dc9 Improve to_dict 2023-09-12 14:29:45 +02:00
Igor Radovanovic
969b0262bd Handle dict of dicts 2023-09-11 22:24:46 +02:00
Igor Radovanovic
b7d1272a84 to_dict 2023-09-11 22:12:18 +02:00
Igor Radovanovic
bd19a99b7a to_dataframe 2023-09-11 17:43:19 +02:00
Igor Radovanovic
6ee5092bf9 Passing tests 2023-09-11 16:59:45 +02:00
Igor Radovanovic
4213885a7b Semi-passing tests 2023-09-11 13:37:08 +02:00
Igor Radovanovic
72f40324de Preserve order 2023-09-11 12:42:22 +02:00
Pratyush Shukla
ceddb03fe6 updated lock because of econometrics 2023-09-10 19:30:24 +05:30
Diogo Sousa
035a398f0a simplify last PR 2023-09-08 12:19:10 +01:00
montezdesousa
3ad3375c6a fix missing descriptions (#5420)
* fix missing descriptions

* black & ruff

* remove f string

* update desc

* update desc

* update desc

* update desc

* update desc

* update desc
2023-09-08 12:11:46 +01:00
Diogo Sousa
735389f0ce econometrics version at a0 2023-09-08 10:40:04 +01:00
Diogo Sousa
6081deeaea fix econometrics not loading 2023-09-08 10:32:09 +01:00
montezdesousa
139f77e435 Feature/release pypi (#5410)
* lock + descriptions

* core + provider

* poetry lock

* update toml

* poetry lock

* publish rc12 to testpypi

* rebuild

* poetry lock

* update system version

* change tomls

* poetry lock everything

* lock core

* lock extensions and providers

* update READMEs Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>

* update main toml and extensions map

* update core toml, lock

* Released 4.0.0a0

* point hub to .co

* bump version in system settings

* bump openbb-core to 0.1.0a1

* bump openbb-charting to 0.1.0a1

* Release openbb-core0.1.0a1 and openbb-charting0.1.0a1

* full rebuild

* dev again
2023-09-08 09:59:28 +01:00
Pratyush Shukla
7ed8ff2d03 linting 2023-09-08 02:06:45 +05:30
James Maslek
ac27475ca8 Starting to port econometrics to v4 (#5394)
* add econometrics basics

* actual function

* stuff

* Edit df helpers to make function work as expected

* Get this to work

* Exclude from web api

* More functions + lint

* Cointegration + lint

* add causality

* add unitroot

* merge + update

* add to_polars :D

* add to_numpy

* aha.  I can now do multi index in basemodels

* Add panel models!

* Add tests for my multi index stuff

* cache pip envs on testing

* life can be ruff sometimes
2023-09-08 02:03:36 +05:30
Igor Radovanovic
03ffcc7e6b MyPy 2023-09-07 21:51:23 +02:00
hjoaquim
0ec5b9c197 ruff 2023-09-07 16:05:42 +01:00
Igor Radovanovic
2d7b48721b rebuild static 2023-09-07 16:31:49 +02:00
Igor Radovanovic
e012aa82da MyPy 2023-09-07 16:30:31 +02:00
Henrique Joaquim
5c0e820834 hiding the warning under env flag (#5416) 2023-09-06 15:34:14 +01:00
montezdesousa
7d11893278 Move .env location (#5415)
* move .env location

* update readme

* update readme

* fixing test i've broke

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-09-06 14:58:13 +01:00
montezdesousa
83728254b7 ruff 2023-09-06 13:54:25 +01:00
montezdesousa
9db51d1234 fix hub service test 2023-09-06 13:22:10 +01:00
hjoaquim
86e73691e5 small adjustments 2023-09-06 13:06:20 +01:00
hjoaquim
e39b7fedf2 small adjustments 2023-09-06 13:05:56 +01:00
montezdesousa
d9f41aafca handle missing credentials sdk2hub 2023-09-06 12:59:28 +01:00
montezdesousa
b6d64b44b5 add missing hub keys (#5414) 2023-09-06 12:34:48 +01:00
Pratyush Shukla
35e9ac4e03 fix date validation 2023-09-06 00:53:41 +05:30
Pratyush Shukla
dc9731c575 removed eod redundant files 2023-09-06 00:25:58 +05:30
Pratyush Shukla
159ce741c6 pip to poetry 2023-09-05 19:10:33 +05:30
montezdesousa
558cc0c916 fix cboe bugs 2023-09-05 14:33:53 +01:00
Pratyush Shukla
fcb03ddeee add data providers (#5409)
* move changed files to this branch - openbb_sdk

* added correct cspell w/@montezdesousa

---------

Co-authored-by: montezdesousa <montezdesousa@gmail.com>
2023-09-05 02:59:34 +05:30
montezdesousa
1a20616f97 Revert "Revert "fix log formatter test""
This reverts commit c40a64f8ef.
2023-09-04 21:54:40 +01:00
montezdesousa
c40a64f8ef Revert "fix log formatter test"
This reverts commit 335ac7a3d7.
2023-09-04 21:53:59 +01:00
montezdesousa
335ac7a3d7 fix log formatter test 2023-09-04 21:53:37 +01:00
montezdesousa
e8f70f72e3 add version to built packages (#5408)
* add version to built packages

* remove file
2023-09-04 19:33:57 +01:00
montezdesousa
cd9a3dc9c8 Hotfix/toml cleanup (#5407)
* update extensions toml

* update providers

* update core and provider

* poetry lock everything

* openbb toml

* remove SDK ref

* reorg openbb toml

* lock

* change version

* typo

* providers toml

* rebuild only with core packages

* add toml comment

* rebuild

* lock with 0.1.0
2023-09-04 17:37:55 +01:00
Henrique Joaquim
48a97dd33c [SDK v4] Changing the behaviour of the chartargument (#5406)
* ruff happy

* missing endpoints on charting router

* remove old endpoints

* adjusting the preferences

* better name and grouping static methods together

* adding a function to get implemented charting functions

* only adds chart if implementation is found

* static assets with no chart for routes where it's not implemented

* typo

* typo

* ruff n black

* Rebuild static assets

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2023-09-04 14:52:03 +01:00
montezdesousa
f99110755e ruff 2023-09-04 13:47:34 +01:00
Igor Radovanovic
01fb950f3f Merge pull request #5398 from OpenBB-finance/feature/obbject-representations
Make OBBject.to_dataframe more flexible
2023-09-04 13:36:13 +02:00
Theodore Aptekarev
94d2174e2b Fix typo 2023-09-04 12:59:46 +02:00
Igor Radovanovic
55bb192f2f Merge and fixes 2023-09-04 12:16:47 +02:00
montezdesousa
ae5ebca2cb Router cleanup (#5402)
* split router code into functions

* raise error when not obbject

* check if obbject

* check return first
2023-09-04 11:13:45 +01:00
Theodore Aptekarev
dce9912c34 Ignore S101 on workspace level and fix some tests 2023-09-04 11:56:06 +02:00
Henrique Joaquim
2aeb9e059b Services refactor (#5396)
* removing unused service related code

* unsued

* rename from managers to services

* changing the way we initialize and use services

* tests

* init in the top

* making system service a singleton

* diferentiating between logging app/subapp

* user service as a singleton

* ruff

* avoid new instances of CommandRunner

* ruff

* elif instead

* merge conflict, bad import

* rename method to fix test

* fixing tests

* @montezdesousa suggestion

---------

Co-authored-by: montezdesousa <montezdesousa@gmail.com>
2023-09-04 10:14:00 +01:00
Henrique Joaquim
f02748cd26 Work on Contributing Guidelines (#5369)
* example documentation for adding a data point

* moving to the root of the sdk

* adding the table of contents

* Edits

* Update README

* adding cookiecutter to the cg

* adding a comment to differentiate from cookiecutter

* charting extension considerations

* Edit cg

* adding dependencies considerations

* Add standardization parts to cg

* Added usage of other extension

* CamelCase to snake_case w/ @montezdesousa @IgorWounds

* static files

* set relative import for packages w @montezdesousa @IgorWounds

* Finalize contributing guidelines w/ @IgorWounds and @hjoaquim

* revert data.py changes

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: montezdesousa <montezdesousa@gmail.com>
2023-09-04 07:50:50 +01:00