diff options
author | montezdesousa <79287829+montezdesousa@users.noreply.github.com> | 2024-03-09 23:22:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-09 23:22:40 +0000 |
commit | f328a45b9586243ddb4bff518e8f07b9d264a124 (patch) | |
tree | a87c85bca04ca0a3bff35c56b9774c1c39a1c851 | |
parent | 8254bd5638aa293d1dafb5cfa1f1380d3efdec15 (diff) |
[Feature] - refactor examples (#6154)
* remove auto examples and split python from api
* add missing exampels
* rebuild
* query params focstring
* black
* add scoped examples
* group model imports in the router
* unblock api
* fix
* classify examples
* fix package identation
* black sig
* fix indentation without linter
* fix python examples
* remove doc
* pylint
* again
* add model validators
* commodity, crypto, currency
* filter examples
* fix python examples
* fix filter and build
* undo toml change
* add comment
* oop
* comment
* typing
* lint
* Update router.py
* Update econometrics_router.py
* fix to_python
* to_python
* to_python
* black
* fix multiple line field descriptions
* remove circular import
* add missing import
* pass indent as object attr
* doc
* doc
* this looks better
* forgot this
* fix: new examples adapted
* fix prev commit
* avoid future problems
* Update ownership_router.py
* rebuild + remove todo
* make description mandatory for python examples
* simple indent
* append_examples func works for both website and docstring
* Add example unit tests
* Edit example unit tests
* fix validator
* this works
* fix to_python
* fix mandatory docstrings
* typing
* shorter error msgs
* economy router
* fix more examples
* more examples
* more examples
* more examples
* field desc
* minor fix
* fix etf examples
* handling types better
* lint
* rename method
* rename var
* docstring + move method
* typing
* prompt
* rebuild
* prompt fix in PythonEx
* fix examples without model
* example mock data
* add get_field_type func to get field data type
* panel data
* mock data
* fix
* fix
* docstring
* ohlcv
* pylint
* quantitaive router
* simplify mock data
* fix remaining quantitative routers
* a bit more flexibility for examples
* lint
* mock dat from sample
* docstring
* assertion
* bugfix
* minor fix
* technical
* fix integration tests
* fix docstring
* econometrics examples
* econometrics examples
* remove warning
* add technical examples
* fix bad examples
* fix more examples
* update test rules
* remoce old pydantic referenc
* fix bug in treasury prices
* fix quantitative examples
* discovery router
* equity shorts
* equity shorts
* fix currency pairs
* fix sec_router example
* fix panel data to support all funcs
* black
* more examples fixes
* simplify test
* rebuild
* test doc
* add provider to some ex
* ^
* last
* add provider
* rebuild
* working examples
* noqa
* pylint
* pylint
* clean
* minor fix
* fix test
* lint
* ruff
---------
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
85 files changed, 3813 insertions, 1763 deletions
diff --git a/openbb_platform/core/openbb_core/app/assets/parameter_pool.json b/openbb_platform/core/openbb_core/app/assets/parameter_pool.json deleted file mode 100644 index 41b8af1d0f8..00000000000 --- a/openbb_platform/core/openbb_core/app/assets/parameter_pool.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "crypto": { - "symbol": "BTCUSD" - }, - "currency": { - "symbol": "EURUSD" - }, - "derivatives": { - "symbol": "AAPL" - }, - "economy": { - "country": "portugal", - "countries": ["portugal", "spain"] - }, - "economy.fred_series": { - "symbol": "GFDGDPA188S" - }, - "equity": { - "symbol": "AAPL", - "symbols": "AAPL,MSFT", - "query": "AAPL" - }, - "etf": { - "symbol": "SPY", - "query": "Vanguard" - |