Commit Graph

6015 Commits

Author SHA1 Message Date
James Maslek
827d19f4d8 allow dates to be jsoned into key 2024-01-31 11:03:53 -05:00
James Maslek
bccd124986 Merge branch 'develop' into feature/data-cache 2024-01-31 10:26:26 -05:00
Henrique Joaquim
5fd11beaee Feature/improved pr template (#6018)
* format w new black

* Revert "format w new black"

This reverts commit 74b9619cc6.

* better pr templates

* developer template
2024-01-31 14:30:34 +00:00
James Maslek
bbf5da0e58 Add OECD unemployment (+more) + data cache idea (#5917)
* Add OECD unemployment + data cache idea

* Docstring edits

* Tests

* Add composite leading indicator

* i truested ruff --fix too much

* Add short + long term interest rates

* pylint

* pylint2

* was not committing.  my b

* add csv cache + make it default.  remove pyarrow from poetry

* Clean up

* Didnt run on this file.  My bad

* Why was this ignored /shrug

* pylint

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-01-31 00:34:09 +00:00
Igor Radovanovic
7a07970fc8 Remove Ultima provider (#6012) 2024-01-30 09:57:01 +00:00
Henrique Joaquim
e21721ca39 remove reviewpad (#6010) 2024-01-30 09:18:54 +00:00
Henrique Joaquim
4163f477d4 format w new black (#6009)
* format w new black

* format w new black

* black again

* black the terminal

* ignoring unused arguments

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2024-01-29 13:37:21 +00:00
Pratyush Shukla
2d7c5c68fe Update openbb-devtools (#6008)
* update deps

* unpinned package versions from gh linting action

* codespell

* updated black dependency

* linting

* linting

* linting

* pin codespell version

* black

* black again

* install devtools in linting action
2024-01-29 12:21:06 +00:00
Igor Radovanovic
4755711be6 [Feature] - Field order added to the OBBject extra as preference (#5999)
* Disable auto_build on test run

* Add field order to OBBject

* Improvements

* Remove noxfile

* Disable auto_build on test run

* Add field order to OBBject

* Revert

* lint

* Add docs

* Not sure how this happened

* lint
2024-01-29 11:15:21 +00:00
Danglewood
e7798c211e hotfix/intrinio-options-date: Fix comparing values between str and datetime (#5997)
* fix compare between str and datetime

* unused argument

* get_weekday

* lint

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-01-26 23:40:03 +00:00
Igor Radovanovic
c6eefd26b9 [Feature] - Support for custom examples in router commands (#5993)
* Disable auto_build on test run

* Add support for custom router examples

* Revert odd file change

* Fix API pollution

* Refactor examples with @montezdesousa

* Check if model is inside the PI

* Fix

* feat: add & fix examples (#6001)

* feat: add & fix examples

* fix: ruff + comment

* feat: read parameter pool from file

* feat: typing + unit test

* Disable auto_build on test run

* Add field order to OBBject

* Revert

* lint and revert

* fix test

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-01-26 23:22:21 +00:00
Luqman
34312d236a Auto Labelling for OpenBB Excel Docs Changes (#5998)
* Update pull request labels

* Update labeler.yml with new label for Excel files

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-01-26 21:21:11 +00:00
Pratyush Shukla
94ea6d8105 Release openbb-finviz 1.0.0 to the public (#6000)
* set version to `1.0.0`

* Set correct dep version in main package

* Add `finviz` to table
2024-01-26 17:31:57 +00:00
Pratyush Shukla
13283fbfce CI listing quick fix (#6002)
* BIGGGG LINTING

* fixing lints

* fixing lints

* black

* very ruff

* no export

* fix hedge_view again

* lints

* platform lints

* lints

* black

* black it @hjoaquim

* fix some more linting

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2024-01-26 17:08:42 +00:00
Danglewood
f7c9865de7 hotfix/insider-trading: Fix #5988 (#5990)
* fix validation errors

* empty strings

* validator

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
2024-01-25 20:55:46 +00:00
Danglewood
305b865637 hotfix/intrinio-index: Drop None Rows From intrinio Historical Index (#5987)
* drop None rows from intrinio historical indexes

* add empty data error

* static assets
2024-01-25 20:41:53 +00:00
teh_coderer
dff51f25d3 don't include custom_headers in openapi schema (#5994) 2024-01-25 16:00:32 +00:00
Danglewood
21f413d43e fix nasdaq test cassettes (#5989) 2024-01-25 15:09:11 +00:00
Eric Li
2e0551e845 Fixing Docs Typos (#5955)
* fixed typo

* fixed stocka typo

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2024-01-25 10:08:45 -05:00
Eric Li
00402d4c59 added symbol to headers (#5981)
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2024-01-24 14:44:50 +00:00
Henrique Joaquim
ea9cedbb2e remove useless file (#5991) 2024-01-24 10:20:38 +00:00
Danglewood
03197c9a41 update extension descriptions page (#5985) 2024-01-23 12:02:22 +00:00
Henrique Joaquim
604f5496f8 Add support for multiple symbols on obb.equity.price.historical (#5984)
* av - support for multiple symbols

* tiingo - support for multiple symbols

* include symbol only if necessary
2024-01-23 08:59:42 +00:00
Danglewood
04df52d06a feature/finviz-provider: Adds Community Finviz Provider Extension (#5952)
* add finviz provider

* recapture tests

* recapture tests again?

* invalid test param

* static packages

* units_measurement -> unit_measurement

* static packages as core only

* openbb_core version bump in pyproject.toml

* try adding user-agent to test response

* fix tests

* linting

* provider model cosmetic changes

* fix install script and typo in openbb toml

* static

* fix: re-record unittests

* empty data error

* definitions as a file

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-01-22 20:21:48 +00:00
Eric Li
7f657d9867 Hotfix/th etfs (#5959)
* added etf trading hours

* black formatter

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Luqman <luqazino@gmail.com>
2024-01-22 17:06:41 +00:00
northern-64bit
7fccc1546a Fix typo in website/README.md (#5980)
* Fix typo in  website/README.md

* Update linting.yml

* Update linting.yml

* Update linting.yml

* Change ref conditions

* Update linting.yml

---------

Co-authored-by: Luqman <luqman.bello@openbb.finance>
Co-authored-by: Luqman <luqazino@gmail.com>
2024-01-22 15:34:48 +00:00
Danglewood
e2f7e597fa feature/cboe-async: Refactor Cboe for Async (#5900)
* refactor cboe for async

* codespell

* unused imports

* pylint

* more pylint

* platform metadata

* classmethod decorator

* test params

* intrinio quote

* test param names

* date in test needs to be a datetime.date not string

* make fmp unix timestamp tz-aware and normalize percent change

* different way of parsing datetime string

* recapture cboe equity historical test

* unused import

* index snapshot update

* black

* extension map

* pylint

* cboe pyproject.toml

* proposal to standardize equity_quote

* one more file

* removing changes on static assets

* index_historical

* index_historical again

* last_time -> last_timestamp

* obsolete router path

* fix tests

* test param

* restore market index deprecation that I forgot about

* fixing tests

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2024-01-22 15:17:42 +00:00
Henrique Joaquim
a9b4d2070f Release OpenBB Platform v4.1.3 (#5983)
* fixing pyproject.toml

* adding pandas-ta to technical package for publishing

* bumping technical

* test for pyproject toml
2024-01-22 15:02:32 +00:00
Pratyush Shukla
f052666a5e remove yfinance from extras in toml (#5982) 2024-01-22 11:47:55 +00:00
Danglewood
9697aeb284 feature/add-yfinance-functions: Add equity.profile for yFinance (#5978)
* equity profile for yFinance

* pylint

* equity quote

* unused imports
2024-01-20 23:26:59 +00:00
Danglewood
2428d3efe2 docs/http-requests: Contributor Guide For Building HTTP Requests (#5973)
* contributor guide for http requests

* add a docstring

* add section on get_querystring

* extra space

* add note for people installing PyPI in a zsh terminal shell

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-01-20 16:46:25 +00:00
Danglewood
cf5a6417a0 regex out any invisible control character from sales_conditions field (#5977) 2024-01-20 16:46:11 +00:00
teh_coderer
237defad95 hotfix/ allow multiple identify calls (#5976)
* allow multiple `identify` calls

* Update posthog_handler.py
2024-01-19 21:31:03 +00:00
Luqman
801ebb2cad Update labeler.yml and labels-PR.yml (#5974) 2024-01-19 19:42:25 +00:00
Henrique Joaquim
a7f5e73e34 Fixing Posthog handler for thread safety (#5968)
* fixing posthog handler for thread safety

* removing loggging init from the global scope - per sensei juan

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-01-19 18:59:17 +00:00
Ayrton Parkinson
17ef2bf8e6 Fix link to discord channel (#5910)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2024-01-19 13:50:07 -05:00
montezdesousa
80f5cbfd6d Release 4.1.1. (#5964)
* update dev_install

* fix effr test

* Update dev_install.py

* fix fundamental balance test

* fix equity price historical test

* fix price target model

* black

* rebuild static files

* update publish.md

* fixed dev_install

* update publishing doc

* updated `openbb-core` to 1.1.1

* updated extensions

* updated providers

* updated `openbb` package

* updated static extension map

* updated publishing doc

* fixed toml for `openbb-finra`

* @jmaslek yfinance IS DEFAULT

* updated static

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2024-01-19 11:53:58 +00:00
montezdesousa
65bc870be3 move templates (#5970) 2024-01-18 18:36:21 +00:00
montezdesousa
e9ddbd36cf Uppercase excel reference (#5958)
* uppercase reference

* fix name header

* add tab title

* remove reference excel folder

* add to gitignore excel reference files

---------

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2024-01-18 12:10:40 +00:00
montezdesousa
c6c003e47e bug fix (#5969) 2024-01-18 11:54:00 +00:00
Pratyush Shukla
2f4abee46c [DEPRECATION] index.market renamed to index.price.historical (#5962)
* deprecate index.market and add index.price.historical

* add index.historical standard model

* add index.historical provider models

* index extension tests

* provider tests

* linting
2024-01-18 05:34:11 +00:00
Henrique Joaquim
31d03eb5f1 equity.estimates.price_target - Integrate with Benzinga (#5946)
* deprecation message

* fix lints

* adding equity.estimates.ratings and fmp as its provider

* unit tests for fmp

* removing unused file

* typos

* add benzinga to AnalystRatings

* revert changes to estimates router

* moving it to price target instead

* reverting changes

* fmp support for multiple ticker

* benzinga price target

* ruffy

* unused argument

* fix type hints

* tests for the new fetcher

* new integration tests

* fixing tests

* missing std arg

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-01-17 18:39:40 +00:00
Danglewood
37c7b14605 hotfix/fix-company-filings: Fixes too many mandatory fields. (#5909)
* Fixes too many mandatory fields.

* black

* black again

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2024-01-17 15:16:40 +00:00
jose-donato
54b6a2e22a fix: adds logic to check whther user is logged in on hub (#5941)
Co-authored-by: Luqman <luqazino@gmail.com>
2024-01-17 15:16:34 +00:00
Pratyush Shukla
7fd223d591 move government-us to community in dev_install (#5963) 2024-01-17 14:12:50 +00:00
montezdesousa
a2e3f04711 Log custom headers (#5966)
* add custom headers

* fix: send on startup and defaults

* pylint

* unittests
2024-01-17 12:22:29 +00:00
minhhoang1023
6fb7860a3e Update to OpenBB Add-in for Excel (#5965) 2024-01-17 11:10:31 +00:00
Danglewood
711c6203ab hotfix/float-values: Convert Intrinio balance sheet values to float type (#5961)
* convert intrinio balance sheet values to float type

* unused import

* typo in alias dict
2024-01-16 17:52:37 +00:00
DidierRLopes
f58380bed9 Excel tutorials on the docs (#5956)
* update workflows name to tutorial

* update title

* get barebones to bring in Excel videos

* tutorial excel videos in
2024-01-16 17:09:35 +00:00
montezdesousa
16cffc5f81 Docs/remove core refs (#5957)
* remove references to core: PathHandler + ProviderInterface

* remove unused function

* add comment

* regenerate

* fix a few examples

* add comment

* rename file
2024-01-15 15:24:20 +00:00