Commit Graph

9 Commits

Author SHA1 Message Date
Danglewood
dd49c5ff35 [BugFix] Fix ReferenceGenerator Unions and Choices (#6599)
* fix duplicated unions in reference.json

* missing static files

* fix choices

* black

* mypy

* more mypy

* line too long

* fix typo

* fix another typo

* static files

* tradingeconomics country choices

* financial statement period choices

* black

* mypy

* test params

* price-historical interval choices

* test params

* test cassettes

* new test cassettes again

---------

Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-08-05 11:03:44 +00:00
Danglewood
29066b19a3 [Feature] OptionsChains Properties (#6564)
* stashing

* update providers

* edge cases

* linter

* grammar police

* yfinance tests?

* linter

* more linting

* one test update

* move properties code to separate file

* to_df

* tmx return type

* tradier tests

* cboe cassettes

* elif instead of if

* sort expirations and strikes

* test cassettes

* change tests

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2024-08-01 08:31:11 +00:00
Danglewood
78445ce007 [Feature] Delay/Optimize Imports (#6532)
* round 1

* black

* more black

* providers a-thru-fmp

* charting settings

* charting backend

* black

* charting_settings

* missing nasdaq import

* nasdaq mypy

* fed money measure

* some linting

* black

* more linting

* more linting

* charting imports

* black

* pylint

* refactor fred

* more linting

* rest of the providers

* didn't want that file

* more cleanup

* missed

* ta_helpers

* router views

* chart ta_class

* forgot a file

* forgot another file

* biztoc

* package builder

* technical router

* fred params

* bump finviz

* fix tmx

* more cleanup

* try again

* currency historical

* equity search

* missed files in commit

* fix some tests

* black

* fix more test cassettes

* more patchy

* black

* linters

* more tests

* black

* mypy

* delete unused model

* more linting

* forgot files

* more linting

* make up your mind, black, and stop moving pylint for me

* more black

* back to where we were before black destroyed it

* ..........

* ..................

* unused fetcher test

* remove standard model validator

* commodity router

* treasury prices

* oecd tests

* finra

* container cleanup

* black

* forgotten file

* linter

* remove wrapped ""

* fix merge

* patches

* ecb test

* finra cassette

* finviz cassettes

* nasdaq cassettes

* oecd cassettes

* yfinance cassettes

* more test cassettes

* black

* merge cleanup

* cboe helpers

* black

* fix typo

---------

Co-authored-by: Henrique Joaquim <henriquecjoaquim@gmail.com>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-07-09 16:28:15 +00:00
montezdesousa
5ec2db7643 [BugFix] Replace some base exceptions by OpenBBError (#6502)
* fix: replace base exceptions by openbberrors

* Update yield_curve.py

* fix typo

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2024-06-17 09:09:28 +00:00
Danglewood
c5e16684ba [Feature] Intrinio Delayed Options (#6505)
* stashing

* intrinio delayed options

* stuff and things

* test cassettes and static assets

* options snapshots

* description

* commit intrinio files

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-06-16 22:13:46 +00:00
montezdesousa
0b9b12d198 [Feature] - Redefined standard fields & multiple_items_allowed property changes (#6377)
* feat: add field annotation and replace multiple items by dict

* comments & details

* fix: fix api & update docs website

* ^

* remove empty info

* descriptions

* descriptions

* fix reference.json

* remove debug code

* remove debug code

* docstring

* docstring

* fix: standard fields propagate to providers

* comment

* better

* better

* better

* better

* better

* mypy fixes

* mypy fixes

* reference

* cli fix: if the argument is required (aka standard) it means we don't want to touch it, unless choices need to be added

* cli fix: touch the help message (with the available providers) only if it's not on the signature (aka standard field)

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: hjoaquim <henriquecjoaquim@gmail.com>
2024-05-09 17:50:24 +00:00
Henrique Joaquim
6cfc47541a [BugFix] Adding safe timestamp conversion everywhere (#6299)
* safe fromtimestamp

* sage timestamp convertion on equity profile

* safe fromtimestamp

* fix imports

* Lint

* Force UTC Currency Snapshots

* Add that to market_snapshots too.

* black

* ignoring some typing

* ignoring some typing

* typing

* typing

* typing

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2024-04-19 15:00:02 +00:00
Igor Radovanovic
a255fa52a0 [Enhancement] - PyDocstyle Compliant (#6284)
* PyDocstyle Compliant batch 1

* Batch 2

* Batch 3

* Batch 4

* Batch 5

* Batch 6

* Batch 7

* Linting

* MyPy

* mypy things

* black

* more mypy

* black

* fix that

* black again

* undo that

* Fix error message

* pylint

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2024-04-09 13:30:29 +00:00
Danglewood
eaae8c2248 [Feature] Add Tradier Provider Extension (#6178)
* add tradier provider

* python 3-9 tz parsing

* unused argument

* add handling for cassette playback on GitHub

* sort equity historical nicely

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-03-11 12:32:08 +00:00