Commit Graph

169 Commits

Author SHA1 Message Date
Igor Radovanovic
a5d2e833c4 Passing tests (#5560)
* Passing tests

* fix options

* Fix most tests and bugs

* fix forex missing params

* make symbol upper in polygon fx pairs

* fix fixedincome integration tests (#5564)

* Fixing charting api integration tests (#5562)

* fixing charting api integration tests

* black

* fix stocks less five API fails

* fix the 5 failing stocks integration tests

* recapture fmp stock news unit test

* fix fmp forex api test

* couple more forex integration fixes

* changing the request to always use the legacy session. @jmaslek this is was broken for 3.8 and 3.9; with this change apparently all versions work - lemme know if you see any issue with this change

* ruff

* fix ta

* add missing param

* fix testers for the api

* fix globalnews to use images instead of image

* remove unncessary pandas import

* econcal int tests

* update gitignore

* fix get_querystring to support lists

* add missing parameters

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-10-16 12:57:27 +02:00
Henrique Joaquim
ab430a10a7 change to model_dum() instead (#5561) 2023-10-13 20:12:23 +02:00
Henrique Joaquim
3e8043f97a obbject tests (#5558)
* obbject tests

* ruff

* fix dev_install

* fix unittests

* black on nox

* black on nox

* nox

* fix fetcher test so it can compare dates

* fix intrinio tests

* ruff
2023-10-13 11:39:33 +01:00
Igor Radovanovic
2e0cd88039 Hotfix/fix post tests (#5555)
* Fix econometrics

* Fix ta

* Fix qa. Remove intrinio to not be rate limited

* Lint

* Fix typo
2023-10-13 02:50:38 +05:30
James Maslek
afaeaea3fc Merge pull request #5554 from OpenBB-finance/feature/tradingeconomics
Trading Economics Economic Calendar
2023-10-12 16:35:39 -04:00
Pratyush Shukla
64bdd024c6 Make Intrinio options chains great again (#5540)
* add multithreading

* cleanup

* linting

* use dateutil.parser

* removed `TICKER_EXCEPTIONS`

* modified `date` and `type` fields in standard model

* set alias for `date` and `type` to match standards

* static

* static
2023-10-13 02:05:24 +05:30
James Maslek
a7b20dedae codespell 2023-10-12 16:34:27 -04:00
James Maslek
d04edc15e9 life is ruff 2023-10-12 16:31:08 -04:00
James Maslek
101715785b refactor 2023-10-12 16:27:42 -04:00
Pratyush Shukla
2d97585968 recorded tests 2023-10-13 00:54:54 +05:30
Pratyush Shukla
e7abffee64 fixed fetcher test for api key 2023-10-13 00:54:47 +05:30
James Maslek
057bf3089f merge -- thnx prat 2023-10-12 15:12:56 -04:00
Pratyush Shukla
561018da35 record test 2023-10-13 00:37:06 +05:30
Pratyush Shukla
8977a36673 modified url to remove api_key placeholder 2023-10-13 00:36:43 +05:30
James Maslek
61a66c48e4 merge 2023-10-12 14:47:07 -04:00
Pratyush Shukla
6423e582c2 fix datetime.date import in fetcher test 2023-10-13 00:06:28 +05:30
James Maslek
2073acf00c everything except tests 2023-10-12 14:14:08 -04:00
Henrique Joaquim
2d8c35df7a Data Models disposition on the website (#5538)
* pydantic v4

* flat structure

* md files

* Revert "md files"

This reverts commit bd2170e2ad.

* improve command descriptions

* nice title and description

* human readble data model names on left panel

* implementation details section

* content markdown files

* markdown versioned files

* showcase page

* updates

---------

Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-10-12 18:57:22 +02:00
James Maslek
a852f066d4 dev install 2023-10-12 12:12:40 -04:00
James Maslek
c8a24374d9 Add trading economics economic calendar 2023-10-12 12:10:45 -04:00
Henrique Joaquim
5ea8bee755 Charting extension integration tests (#5547)
* initial proposal for integration tests on the charting extension

* int tests for charting generation

* python generator

* ruff

* boilerplate templates

* python tests

* tests for the api

* using body instead so data don't get redefined

* unit tests for coverage

* ruff

* docstrings

* unnecessary access to keys()
2023-10-12 15:59:57 +01:00
montezdesousa
9dbc7b97b5 Fix buggy docstring in python package methods (#5548)
* fix buggy docstring for methods

* remove space

* fix typing

* avoid name collision with validator

* Revert "avoid name collision with validator"

This reverts commit 8a30a44555.

* typing

* rebuild

* python 3.8, ParamSpec not available

* lint

* ruff noqa
2023-10-12 14:49:08 +01:00
Theodore Aptekarev
e7942e6310 Update dependencies and linting on the CI (#5550)
* Remove ruff and black from platform dependencies

* Update codespell configuration

* Lint python code

* Add toml and tomli to root dev dependencies

* Update requirements.txt files
2023-10-12 15:42:30 +02:00
Igor Radovanovic
e75b0a66e8 Fix stock_search integration test params 2023-10-12 15:03:41 +02:00
Pratyush Shukla
73171d701c Standard convention for multi-ticker symbols (#5549)
* standardize symbol input param in forex and crypto historical data

* static

* linting
2023-10-12 18:24:13 +05:30
Pratyush Shukla
86aaf827f3 validator -> field_validator in standard models 2023-10-12 17:40:22 +05:30
Pratyush Shukla
7298d7689c Small QA to rename SDK to Platform (#5544)
* SDK -> Platform in docs

* renamed in core

* renamed in openbb `init`

* `sdk` variable renamed as `platform`

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-10-12 09:37:25 +01:00
Igor Radovanovic
6a640434e8 Lint 2023-10-11 23:34:25 +02:00
Igor Radovanovic
003e3830e0 Merge 2023-10-11 23:30:31 +02:00
Igor Radovanovic
9e536ea8c1 Fix issue 2023-10-11 23:16:34 +02:00
Danglewood
7cbc661808 Update Cboe model for stocks_search -> is_symbol parameter. 2023-10-11 14:05:16 -07:00
Danglewood
162cfd4cf0 change ticker field in Stock Search to is_symbol 2023-10-11 14:00:33 -07:00
Pratyush Shukla
c36518667c ticker. symbol. consistent. @piiq 2023-10-12 01:24:50 +05:30
Danglewood
27956ccc4e Merge branch 'feature/add-v4-standard-models' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/add-v4-standard-models 2023-10-11 10:43:07 -07:00
Danglewood
f11a9d4801 Merge branch 'feature/openbb-sdk-v4' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/add-v4-standard-models 2023-10-11 10:41:58 -07:00
Igor Radovanovic
6a4f47d1a3 Merge pull request #5542 from OpenBB-finance/hotfix/fix-econometrics
Hotfix/fix econometrics
2023-10-11 19:35:38 +02:00
Igor Radovanovic
4356c7ae91 Change how Literal is used 2023-10-11 19:26:43 +02:00
Theodore Aptekarev
58717ece01 Another attempt to resolve even more linting errors 2023-10-11 19:18:41 +02:00
Theodore Aptekarev
68dc4a3fa0 More linting 2023-10-11 19:08:02 +02:00
Theodore Aptekarev
bfa57dde04 Resolve more linter errors 2023-10-11 18:53:15 +02:00
Igor Radovanovic
5b103f0f2a Add OECD 2023-10-11 18:43:00 +02:00
Igor Radovanovic
baa70b181e Add OECD to install script 2023-10-11 17:46:16 +02:00
Theodore Aptekarev
bd590c58d7 Resolve linter errors 2023-10-11 16:56:37 +02:00
Igor Radovanovic
19e51e36e5 re-lock 2023-10-11 16:40:34 +02:00
Igor Radovanovic
bfe31c3904 Fix 2023-10-11 16:29:01 +02:00
Igor Radovanovic
20dfda472b Revert dep 2023-10-11 16:19:06 +02:00
Diogo Sousa
b9a8098e81 Revert "try 1: pin urllib3 < 2"
This reverts commit 3736c311cb.
2023-10-11 15:05:13 +01:00
Diogo Sousa
3736c311cb try 1: pin urllib3 < 2 2023-10-11 14:57:27 +01:00
Igor Radovanovic
8cc230c452 revert the revert 2023-10-11 15:44:20 +02:00
Igor Radovanovic
2e1d9012f8 revert pydantic 2023-10-11 15:39:20 +02:00