Commit Graph

38 Commits

Author SHA1 Message Date
tehcoderer
9203900529 validator -> field_validator, a3'd everything 2023-10-16 14:54:04 -04:00
Pratyush Shukla
fdbc6d7e1f Fixes FMP index endpoint to get 1 day interval data (#5535)
* fix FMP endpoint for getting index data for `1day` interval

* fix `open` type to prevent validation error

* modifed `validator` to `field_validator`

* type of fields is `StrictFloat`

* re-record and pass test

* linting
2023-10-16 21:26:54 +05:30
Henrique Joaquim
08549aad58 Fix econcal endpoint (#5567)
* fix econcal for python interface

* fix econcal tests

* fix non supported json output
2023-10-16 16:43:04 +01:00
Pratyush Shukla
f6eac35f0b Stock Historical standardization and UX improvements (#5457)
* polygon add interval standard param

* attempt at standardization

* Alpha Vantage params standardization

* rename `get_intervals` and fixed bug for extracting wrong value

* missed changing it in `extract_data`

* linting

* polygon cleanup

* modified `start_date` & `end_date` type to `datetime` from `dateType`

* standardized intrinio stock historical params

* fixed yfinance

* linting

* revert start and end date to dateType from datetime

* fix alpha vantage

* changed param

* fix intrinio infinite loop

* `validator` is `field_validator`

* revert time params and fixed intervals

* `outputsize` alias set in `Field`

* set interval description using in-build dict

* yfinance stock param standardization

* static

* intrinio cleanup

* Polygon add api params as `PrivateAttr`

* modified yfinance params to `PrivateAttr`

* intrinio remove overriding date params

* fixed description for AV adjusted param

* fix alpha vantage intraday not working

* re-record and pass unit tests

* pass integration tests

* Update test

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2023-10-16 21:00:10 +05:30
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
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
James Maslek
c8a24374d9 Add trading economics economic calendar 2023-10-12 12:10:45 -04:00
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
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
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
4356c7ae91 Change how Literal is used 2023-10-11 19:26:43 +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
19e51e36e5 re-lock 2023-10-11 16:40:34 +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
fc15b7ad41 Fix econometrics bugs. Make tests pass. Lint. 2023-10-11 13:00:17 +02:00
Danglewood
92b12b55c5 update a couple of cboe models 2023-10-10 20:16:01 -07:00
James Maslek
41be83ff76 Add OECD Provider for economy extension (#5534) 2023-10-11 01:20:54 +05:30
Theodore Aptekarev
ed041694fe Add EXTENSIONS and PROVIDERS md files (#5510)
* Add EXTENSIONS.md

* Add Sergey Brin to codespell ignore

* Move providers list into a separate file

* Link providers list to the providers file
2023-10-06 09:52:14 +02:00
Danglewood
ad0bb2428b rename sec_filings -> company_filings (#5501) 2023-10-02 17:16:19 +05:30
Theodore Aptekarev
009699928f Rebrand sdk to platform in code (#5496)
* Relink sdk/sdk -> platform/platform

* Relink sdk -> platform

* Rename folders

* Fix dev_install script

* Fix test generators

* Fix test generators

* Fix test generators

* Organize imports
2023-09-29 10:31:45 +02:00