Commit Graph

7131 Commits

Author SHA1 Message Date
Igor Radovanovic
9e059062ac Fix keys 2023-10-17 12:46:47 +02:00
Diogo Sousa
d4491ce214 make symbol required in stock_quote 2023-10-17 11:44:28 +01:00
Igor Radovanovic
7b3a025bbb add providers to economy api 2023-10-17 12:42:13 +02:00
Henrique Joaquim
57df6dc86e Publish versions a3 to Pypi (#5568)
* bump versions and script to publish

* small improvements

* uncomment exception

* openbb

* publishing guidelines

* improve docs
2023-10-17 11:24:10 +01:00
Igor Radovanovic
59b5fc1a79 Fix import 2023-10-17 12:18:27 +02:00
Igor Radovanovic
4178298457 Fix typo 2023-10-17 12:12:39 +02:00
Igor Radovanovic
3f3477f4af Fix typo 2023-10-17 12:04:35 +02:00
hjoaquim
d82951bb56 updating the integration test actions 2023-10-17 10:57:09 +01:00
Igor Radovanovic
324cfa6f8f Fix regression in tests. Lint 2023-10-17 11:43:08 +02:00
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
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
5c3fbfa899 Merge branch 'feature/tradingeconomics' of https://github.com/OpenBB-finance/OpenBBTerminal into feature/tradingeconomics 2023-10-13 00:55:01 +05:30
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
7ead89bcd5 api key is called c here 2023-10-12 15:20:15 -04:00
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
Theodore Aptekarev
dc8fe89ab7 Merge branch 'develop' into feature/openbb-sdk-v4 2023-10-12 16:03:06 +02:00
Theodore Aptekarev
ab480cfd73 Merge with develop (#5551) 2023-10-12 16:01:00 +02: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
f30adf654c Merge pull request #5524 from OpenBB-finance/feature/add-v4-standard-models
Feature/add-v4-standard-models - Add some standard models for future use.
2023-10-11 23:40:24 +02: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