Commit Graph

7033 Commits

Author SHA1 Message Date
Henrique Joaquim
95a4ee7680 Merge branch 'develop' into feature/argparse_translator 2024-02-23 10:55:23 +00:00
Henrique Joaquim
e98e19d2e4 Feature/v4 deprecate everything (#6113)
* comment call_news

* remove news

* remove keys controller

* remove settings controller

* remove ta forex

* remove qa economy

* remove ta stocks

* remove qa stocks

* remove fa stocks

* remove ins stocks

* remove gov stocks

* remove dps stocks

* remove ba stocks

* remove bt stocks

* remove stocks

* remove stocks base controller class

* ruff

* remove qa forex

* remove oanda

* remove forex

* remove forex

* remove forex

* remove mention to fx_tickers

* remove ta crypto

* remove qa crypto

* remove dd crypto

* remove crypto controller

* remove crypto references

* remove economy controller

* remove economy folder

* remoe etf controller

* remove reports controller

* remove dashboards controller

* remove alt controller

* rmeove etf files

* remove alt files

* remove custom reports

* remove dashboard files

* remove econometrics controller

* remove forecast controller

* remove reports files

* remove forecast files

* remove econometrics files

* remove portfolio

* remove futures

* remove fixedincome

* remove funds

* remove sdk and common

* remove all from init

* remove reference to ipykernel

* remove reference to ta_helpers

* remove reference to ta_helpers

* cleanup

* adjustments to choices

* remove old sdk generator

* remove mention to dashboards

* ruff

* cleanup

* remove logging infra

* remove decorators

* remove sdk audit

* remove tought of the day

* remove tought of the day

* fix commands andmenus choices

* fixing lints

* ruffs

* remove old tests
2024-02-23 10:55:12 +00:00
Henrique Joaquim
d5cfb57dab remove charting extension env var (#6118) 2024-02-23 09:04:59 +00:00
Danglewood
2c6cfa1b6c add missing field descriptions to yfinance equity price historical (#6116)
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-02-23 08:29:41 +00:00
Danglewood
6c105df82f update extensions list (#6114) 2024-02-23 08:04:04 +00:00
Pratyush Shukla
274a027bf5 [Feature] - Add exception_handler decorator to static (#6112)
* add exception handler decorator

* add exception handler decorator code

* updated static

* rebuild to fix docstring indentation

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2024-02-22 19:06:57 +00:00
montezdesousa
6095c4314f [Feature] - Equity router descriptions & examples (#6103)
* feat: equity/calendar

* feat: compare router

* fix descriptions

* darkpool + discovery

* fix paragraph issues

* fix descriptions

* fundamental part 1

* fundamental part2

* transcipts

* ownership

* fix

* price

* shorts

* Update darkpool_router.py

* minor fix

* shorts examples

* examples

* ruff

* black

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-02-22 14:04:26 +00:00
hjoaquim
98d7049b0d comment call_news 2024-02-22 13:57:18 +00:00
hjoaquim
594218a75b handling base models 2024-02-22 13:55:10 +00:00
hjoaquim
29b8df6b09 Merge branch 'feature/argparse_translator' of github.com:OpenBB-finance/OpenBBTerminal into feature/argparse_translator 2024-02-22 13:54:39 +00:00
hjoaquim
f56093c7c5 better output 2024-02-22 13:51:32 +00:00
hjoaquim
167e10dde7 deps 2024-02-22 11:58:48 +00:00
Henrique Joaquim
55b1a2959a Merge branch 'develop' into feature/argparse_translator 2024-02-22 11:21:24 +00:00
montezdesousa
0ecb742955 [Bug fix] - Fix package mypy (#6110)
* fix: package mypy

* types

* black
2024-02-22 11:11:44 +00:00
Luqman
50185180f0 Update unit-test workflow to check for changes to openbb_platform (#6109) 2024-02-22 11:10:50 +00:00
Danglewood
11df8e1b05 [BugFix] Fix ECB Yield Curve (#6108)
* fix ecb yield curve

* standard model update
2024-02-22 08:45:09 +00:00
James Maslek
3cc6025ab4 Update the quantitative extension to make more sense (#6087)
* Split out a rolling submenu for the rolling functions

* Make a performance and a stats submenu.

* Test the statistics functions

* lint

* lint

* dupe test

* pylint

* ruff

* Try tests quick

* black magic signature funcs

* fix my custom tests

* Fix the existing imports/urls

* push the api update

* okay I figured out whats going on

* this should be all  of them

* Correct docstringing examples

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2024-02-21 17:09:57 +00:00
Danglewood
754e14ca71 [BugFix] Fixes to_df() where the date series contains multiple TZ-offsets. (#6099)
* allow mixed utc offset in a tz-aware date column

* enforce ascending from all providers for price.historical

* fix tests

* add comments and apply treatment to basemodel_from_df before JSON output

* yfinance consistency

* add unit test

* add unit test

* better test

* ruff

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-02-21 12:37:09 +00:00
montezdesousa
5f9d958260 [Feature] - Create openbb assets folder (#6101)
* create openbb assets folder

* fix unittest

* rebuild

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-02-21 12:31:18 +00:00
Danglewood
ad2dae277d [Docs] Remove Reference to to_chart in OBBject. (#6096)
* remove reference to to_chart in OBBject.

* put chart description back in OBBject properties
2024-02-21 09:05:38 +00:00
montezdesousa
f8a5f5fb37 [Feature] - OBB.GET (#6097)
* create OBB.GET and data slicer page

* remove quotes

* format description

* wording

* functions.json

* sidebar position

* remove if stamente
2024-02-20 23:48:27 +00:00
hjoaquim
4a38c3a121 router name should be lower() to match the class processor 2024-02-20 19:17:20 +00:00
hjoaquim
bfa459b34d adjustments - recursive iteration only if it's a class 2024-02-20 19:16:56 +00:00
hjoaquim
3a34d1f07f fix for literals and choices 2024-02-20 16:57:06 +00:00
hjoaquim
484801f2f2 Merge branch 'feature/argparse_translator' of github.com:OpenBB-finance/OpenBBTerminal into feature/argparse_translator 2024-02-20 15:50:43 +00:00
hjoaquim
f9739b2aad poetry lock 2024-02-20 15:44:34 +00:00
Henrique Joaquim
293e7b24e4 Merge branch 'develop' into feature/argparse_translator 2024-02-20 15:37:28 +00:00
Danglewood
fe3fa6af8e [Enhancement]: Add TMX data provider extension. (#5913)
* dev install

* add TMX provider extension

* normalize ytm and coupopn_rate values

* black

* codespell

* ruff

* black again

* pylint

* ftw

* undo what Pylint thinks is best

* more black

* renovate insider_trading standard model

* fix tests

* typo

* tests

* empty string

* pylint unused argument

* nans for some reason

* black

* static files

* static files with openbb-tmx installed this time

* yfinance TypeError..?

* NA -> N/A

* update for version bump

* list exchange-calendars as tmx dependency

* eod chains date -> eod_date

* new line

* not that file

* more black

* one more black

* fix weird merge thing

* ruff

* index constituents params

* insider trading

* fixing things

* black

* black AGAIN

* news integration params

* the other missing param

* ruff

* historical dividends field update

* add json_schema_extra

* gainers

* symbols -> symbol

* company news symbol

* unit test param

* review items

* wrangle a rogue field

* index router example

* company news thing - symbols -> symbol

* field name map

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2024-02-20 14:41:26 +00:00
Henrique Joaquim
3415eb5f70 Merge branch 'develop' into feature/argparse_translator 2024-02-20 14:35:44 +00:00
Henrique Joaquim
7d84690316 [BugFix] Fix integration tests (#6100)
* fix int tests

* fix obbject int tests

* fix quant tests

* fix index tests

* use python 3.10 instead

* remove cache

* end_date < start_date
2024-02-20 14:03:43 +00:00
Igor Radovanovic
9fee65ab68 Add ETF examples (#6102)
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2024-02-20 13:35:30 +00:00
James Maslek
b84a0910ac clean up the remains from my yeeting (#6089)
* clean up the remains from my yeeting

* was not careful
2024-02-20 13:24:21 +00:00
Danglewood
339f979186 [BugFix] Fix treasury_rates() (#6092)
* fix treasury_rates

* drop rows with no data

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-02-19 16:19:51 +00:00
Igor Radovanovic
0b5260fc10 [BugFix] - Fix POST docstring examples (#6095)
* Fix POST docstring examples.

* Move router examples to command decorator
2024-02-19 16:12:19 +00:00
hjoaquim
3055d7c923 generated platform commands 2024-02-19 14:39:28 +00:00
hjoaquim
a9ef6eafbd dinamically generate platform menus 2024-02-19 13:15:55 +00:00
hjoaquim
cfefeadcf3 revert changes to files 2024-02-19 11:44:25 +00:00
hjoaquim
869b7d8ad2 remove unnecessary file 2024-02-19 11:32:41 +00:00
hjoaquim
45787cfaf2 Merge remote-tracking branch 'OpenBB-finance/develop' into feature/argparse_translator 2024-02-19 11:31:17 +00:00
hjoaquim
878b4efc6e introducing the platform controller factory 2024-02-19 11:27:31 +00:00
Danglewood
9f1891931c [Enhancement] Add analyst_search to the Equity/Estimates Router (#6088)
* standardize price_target

* add analyst search

* black

* more black

* ruff

* linter, test parmas

* last missing param

* get rid of convert to upper

* ruff

* pylint
2024-02-18 17:24:28 +00:00
Danglewood
60a93c3266 [BugFix] Fix Equity Integration Tests (#6086)
* fix equity integration tests

* black

* pylint

* black

* black

* move df_apply to helpers

* unused import

* remove file that shouldn't have been added

* oops. didn't remove a couple lines
2024-02-18 17:23:30 +00:00
Danglewood
ccf46aad92 [Feature] Add end point: etf.equity_exposure() with FMP provider (#6079)
* add etf.equity_exposure from FMP

* empty data error

* recapture cassette

* pylint unused argument

* Fix router example typo

* fix test...?

* static file to fix test?

* fix test..?

* __json_schema_extra__

* black

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2024-02-15 19:55:26 +00:00
James Maslek
3893338534 Add dates to /quantitative as needed. (#6078)
* Add dates to /quantitative as needed.

Run new black

* Fix tests

* Pycharm is weird sometimes

* uncommit

* Add default window + error handling + mistake

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-02-15 17:07:06 +00:00
Henrique Joaquim
fa5dedf4a5 Release/4.1.4 (#6081)
* static assets

* patch version increase

* core update

* bumping versions

* bump finviz version

* bump versions

* bump versions on package.extension

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2024-02-15 11:37:00 -05:00
Igor Radovanovic
4ba7e109bc Fix price_target column for Benzinga (#6083) 2024-02-15 16:25:29 +00:00
Igor Radovanovic
9903876093 [BugFix] - Fix most integration tests (#6082)
* Fix most integration tests

* Lint
2024-02-15 16:24:10 +00:00
hjoaquim
c7aa6f367e move help to base class; print tables using rich table (for now); clear the choices for better autocompletion 2024-02-15 13:12:18 +00:00
Danglewood
07e98ab58b [Feature] Add Regional Data Endpoint from FRED (#6071)
* add regional data endpoint from FRED

* codespell

* ruff

* sort imports

* add provder='fred' to integration test

* thought I already sorted those imports..

* pylint..

* more test params....

* even more test params...

* even more test params....

* static assets

* reconfigure params

* ruff

* alias dict

* recapture cassette

* router doctstring

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2024-02-15 12:30:16 +00:00
montezdesousa
7deb4e69f6 [Feature] - Comma separated string and list inputs (#6062)
* feat: balancesheet

* feat: income statement

* fix: cash flow statement

* feat: financial ratios

* feat: reported financials

* feat: revenue business line

* feat: revenue per geography

* fix: warnings

* Update balance_sheet.py

* fix: remove warning imports

* feat: balance sheet growth

* feat: calendar ipo

* feat: cashflow growth

* feat: __validators__

* fix: typing

* fix: validator msg

* feat: trailing dividend_yield

* feat: short volume

* feat: share statistics

* feat: price target + consensus

* fix: update validator

* feat: historical dividends

* feat: key executives

* fix: getattr directly

* fix: type hint validator

* fix: add default to getattr

* typo

* feat: otc

* feat: options chains

* fix: remove list validators

* feat: add validator dict to fetchers

* lint

* update standard models

* lint

* feat: rename validator

* fix: ownership

* feat: query params description

* fix: balance yfinance

* key execs, income statement

* remove change

* fix: revenue geographic

* fix: disable pylint

* fix: unusual + balance

* unit test validator

* minor fix

* explicit validators

* update test

* feat: multiple items allowed

* rebuild

* move check_single_value

* crypto historical

* order providers

* fix typing

* rename extra dict

* marking multiple items allowed

* Revert "marking multiple items allowed"

This reverts commit 7da04817e1.

* error msg

* fix: default provider runtime vs configuration

* minor fix

* docstring

* revert default changes

* get provider before executing cmd

* fix container bug

* clean filter

* add comment

* prevent bad defaults

* update docstring

* typing

* fix

* black

* fix docstring generation

* [Feature] - Mark multiple item fetchers (#6074)

* feat: price target

* bezinga company news

* equity quote

* marking multiple items allowed

* more multiple items

* black

* rebuild

* another batch

* rebuild

* another

* cpi

* move prop

* rebuild

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>

* rename var

* update msg

* rename func

* fix test

* mypy

* ruff

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2024-02-15 12:19:18 +00:00