Commit Graph

5882 Commits

Author SHA1 Message Date
Henrique Joaquim
2931c08dce updating to pick up the core folder instead (platform folder was droped) (#5836) 2023-11-30 16:00:35 +00:00
Theodore Aptekarev
2999931c79 Prevent gh-actions from publishing v3 unless explicitly asked to (#5835)
* Prevent gh-actions from publishing v3 unless explicitly asked to

* ) says: "Wait for meeeeeee!"

* Update branch name regex

* Revert release-v3 changes
2023-11-30 15:54:49 +00:00
Theodore Aptekarev
a784bbacb0 Move pytest dependencies from openbb level to to core dev deps level (#5829)
* Move pytest to core dev deps

* removing openbb-core from devtools

* Fix dev_install script not picking developer dependencies

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-11-30 15:02:41 +00:00
jose-donato
5e92623d6a fix: second attempt (#5832) 2023-11-30 12:40:39 +00:00
Henrique Joaquim
fc95ded9bb Revamp openbb-core README (#5830)
* core readme

* mentioning query params
2023-11-30 12:13:16 +00:00
jose-donato
df99862639 fix: search button? (#5831) 2023-11-30 12:09:08 +00:00
Igor Radovanovic
b65f51f7cc Account commands: add option to return user settings (#5825)
* Add verbosity to login

* Fix tests

* Add verbosity for other

* pratty=False

* docstring

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2023-11-30 11:27:26 +00:00
montezdesousa
5aaa855f30 Feature/release rc0 (#5821)
* publish core and extensions

* build static

* lock openbb

* force commit package changes

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-11-30 09:58:25 +00:00
DidierRLopes
a96e52de20 Docs/pro new widgets struct (#5805)
* Improve widgets library structure

* add styling to widgets library images

* black linting

* update widgets library index generator

* update border of docs image

* shift grouping Minh suggestion

* no ruff in this file

* Update chart-from-raw-data.md

* lint

* add pro to index docs

* add workflows to docs

* dunno how to spell existent lol

* navbar logo to go to root docs

* push missing bg

* backend for terminal pro repo - Andrew suggestion

* update content slightly

* no widgets-library content should be pushed, this is generated at runtime

* add Rita's vidos + review everything
2023-11-30 00:34:27 +00:00
Theodore Aptekarev
dc81f6cd24 Standardize balance, income, cash for Intrinio (#5809)
* Fix test coverage test failing

* Fix spot rates integration test

* Apply the standardization to intrinio balance, income and cash

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-11-29 20:54:56 +00:00
James Maslek
6d13807047 debuggint int tests (#5823)
* debug

* debug2

* extra debug step

* Another hail mary

* add debug

* MMMMMbop

* didnt import base64

* Other tests with headers

* increase timeout to 20

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-11-29 20:49:34 +00:00
Henrique Joaquim
6e3038b9e7 Fix tests (#5819)
* fix equity tests - python

* remove test for intrinio

* remove index.fred and fix tests w/@hjoaquim,@IgorWounds

* fix ultima company news model w/@hjoaquim,@IgorWounds

* re-record intrinio insider trading w/@hjoaquim,@IgorWounds

* adjust endpoint

* adjust endpoint

* adjust params

* fix equity test w/@IgorWounds

* re-record

* remove ultima test

* adding keys to the workflow

* typo

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-11-29 18:35:45 +00:00
Pratyush Shukla
563df69024 Set level as default tag value for index.market in Intrinio (#5801)
* set level as default tag value

* set limit to 1000

* re-record fetcher test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-11-29 16:35:44 +00:00
Danglewood
fe53c93d64 hotfix/fmp-replace-zero: Replace Zero with None in FMP Balance, Cash, Income (#5815)
* replace zeros with None in Balance, Cash, Income

* black

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-11-29 16:17:49 +00:00
Pratyush Shukla
ce14ee612f Fix nasdaq top retail working without a key resulting in an error (#5811)
* raise error if no api key found

* check for empty strings

* black

* fix test

* less verbose

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-11-29 14:16:31 +00:00
Danglewood
06daf98366 hotfix/fmp-insider-trading - Fix FMP Insider Trading (#5817)
* fix fmp insider trading

* re-capture tests

* fix intrinio test
2023-11-29 13:50:22 +00:00
montezdesousa
99882a1c5a warn loading error by default (#5818) 2023-11-29 13:49:27 +00:00
omahs
c8bc7fe256 Fix typos (#5808)
* fix typo

* fix typos

* fix typo

* fix typos

* fix typos

* fix typos

* fix typo

---------

Co-authored-by: Luqman <luqazino@gmail.com>
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-11-29 12:03:33 +00:00
Pratyush Shukla
f5317126e9 Add Historical Dividends to Intrinio inplace of Calendar Dividends (#5813)
* HistoricalDividends re-defined

* re-define fmp model

* add intrinio model

* re-record intrinio test

* fix integration tests

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-11-28 22:25:36 +00:00
Pratyush Shukla
c7e6906851 split -> splits in calendar router (#5814) 2023-11-28 21:13:04 +00:00
montezdesousa
ed2fc04814 replace provider error by openbb (#5812) 2023-11-28 19:19:21 +00:00
Theodore Aptekarev
06f0e7257e Add sector news standard model (#5795)
* Add Sector News standard model

* Fix test coverage test failing

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-11-28 18:40:41 +00:00
Theodore Aptekarev
688624ce96 remove finra, wsj and goventment-us from built ins (#5806) 2023-11-28 18:40:31 +00:00
montezdesousa
1ee70bcb6e small fix (#5810) 2023-11-28 18:33:49 +00:00
Danglewood
3959f95cce Feature/fred-releases: Adds some FRED functionality to the economy router. (#5793)
* fred economic releases search

* add FRED functions for series and searching.

* codespell

* ruff

* data description.

* replace two functions with one fred_search

* rename standard model to fred_series

* remove consolidated fred model

* return series metadata as warning

* recapture test

* fill nan with None
2023-11-28 18:30:43 +00:00
Danglewood
f42c4571ef Hotfix/yfinance-adjusted: Fix for #5798 (#5803)
* fix yfinance-adjusted

* update test

* don't need that transform query param piece

* re-record test, etf_historical make adj_close not mandatory

* yfinance caching..

* mock cookie and crumb?

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-11-28 13:44:38 +00:00
Pratyush Shukla
c8824a404a Add symbols field to standard model data (#5802)
* add symbols field to standard model data

* fix provider models

* re-record polygon fetcher test

* fix polygon query alias

* re-record polygon fetcher
2023-11-28 08:12:59 +00:00
Pratyush Shukla
609999ffd6 fix calendar split (#5804) 2023-11-28 07:58:07 +00:00
Pratyush Shukla
e0b491178a Equity multiples add symbol data field (#5800)
* add symbol data field

* cleanup

* remove limit param from standard model

* remove limit from equity integration test

* re-recrod fmp and intrinio fetcher tests
2023-11-27 20:49:17 +00:00
montezdesousa
9716b21d6c Feature/release b2 (#5799)
* publish core and extensions

* rebuild and force commit package changes

* Remove tiingo, finra and wsj from extras

---------

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2023-11-27 15:43:06 +00:00
Igor Radovanovic
1ae3d58faf Fix hqm (#5796) 2023-11-27 13:10:36 +00:00
Pratyush Shukla
9219a63c00 New Intrinio Endpoints (#5789)
* redefined CalendarDividend standard model

* fix nasdaq calendar dividend model

* removed Filings standard model

* add DiscoveryFilings standard model

* fix fmp calendar dividend and discovery filing models

* add cik description in standard model utils

* redefine CompanyFilings standard model

* fix fmp company filings model

* fix sec company filings model

* remove regulators/sec/filings command

* redefine InsiderTrading standard model

* fix fmp insider trading model

* redefine InstitutionalOwnership standard model

* fix fmp institutional ownership model

* redefine KeyMetrics standard model

* fix fmp key metrics model

* fix fmp market snapshots model

* add attributes standard model and commands

* redefine EquityInfo standard model

* remove SearchFinancialAttributes standard model file

* add new intrinio endpoints

* linting

* pass standard model description test

* fix tests? w/@montezdesousa

* pass fmp fetcher tests

* re-record sec company filings test

* pass intrinio fetcher tests

* re-record intrinio insider trading test

* index integration test

* regulators integration test

* equity integration test

* fix same owner name in intrinio instituional ownership

* re-record intrinio insider training

* crypto price historical integration test reduce end_date
2023-11-27 12:35:19 +00:00
teh_coderer
a31df4b300 fix \n in field descriptions breaks markdown table (#5792) 2023-11-25 00:27:46 +00:00
DidierRLopes
dd833ffbac Update Pro documentation (#5784)
* fix pro videos to latest ones

* small fix

* attempt border on pro

* Update index.md

* Update index.md

* Update charting.md

* Update homepage.md

* Update index.md

* Update index.md

* Update index.md

* Update data-provider.md

* Update chat-with-widget.md

* Update index.md

* Update folders.md

* Update grouping.md

* Update report.md

* Update templates.md

* Update advanced-search.md

* Update copilot.md

* pro images gradient

* update images with border

* Update news.md

* Update news.md

* add examples to platform v4 generation/ fixed data model ref titles

* fix `data_reference_cards` sort by title

* Merge branch 'docs/update-pro-videos' of https://github.com/OpenBB-finance/OpenBBTerminal into docs/update-pro-videos

---------

Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-11-24 22:23:16 +00:00
Danglewood
49bdd76e9f hotfix/yfinance-download: Fix Intraday Helper (#5785)
* fix yfinance_download intraday helper

* fix today getting cutoff

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-11-23 16:22:45 +00:00
montezdesousa
bb5e76ce5c Feature/general fixes (#5786)
* fix mypy

* import helper from source

* improve missing api key msg

* fix

* remove dynamic default

* rename rest_api_settings file

* add comment async/sync

* fix bug

* Revert "fix bug"

This reverts commit 7d9a0d2749.

* fix bug
2023-11-23 16:16:56 +00:00
teh_coderer
bc2fa9b3e1 Feature/platform async (#5763)
* init

* updates

* Update helpers.py

* tests

* Update helpers.py

* Update command_runner.py

* Update helpers.py

* deps

* Update helpers.py

* only check `async` if model is specified, revert `qa`, `ta`, and `econometrics`

* merge issues

* Update command_runner.py

* remove typing and type: ignore

* fix helpers typing

* add aiohttp to core deps, remove from charting

* remove @overload

* ruff

* import helper from source

* helpers typing+pylint

* black

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2023-11-23 13:01:56 +00:00
Danglewood
5cc5cce263 hotfix/fix-technical-output: Include Dates in Output (#5754)
* fixes output to include dates

* ichimoku

* add trading_periods param to cones

* add param to integration tests

---------

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2023-11-22 21:09:55 +00:00
Henrique Joaquim
4400cd9a8f Merge provider and core into core (#5774)
* small changes - moving provider inside the core

* uptade readme

* lint

* remove old provider readme

* leftovers

* refactor website examples

* ruff

* fix nox

* relock

* fix fails_to_deliver headers

* fix for tests that have renamed endpoints

* fix discovery

* removed test for renamed endpoint

* fix broken syntax - test_search_financial_attributes

* fix cash/income/balance

* fix derivatives tests

* fix etf tests

* fix news tests

* fix regulators

* black

* wrong test param

* sort equity gainers/losers by percent

* platform markdown generation import

* Hotfix/fix int tests core merge (#5779)

* removing tests on old endpoint

* removing visualization on old endpoint

* fixing equity tests

* fixing examples

* fix news tests

* fix index test

* example

* add comments

* example

---------

Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-11-22 13:48:01 +00:00
Luqman
9da18eefe3 small changes (#5781) 2023-11-22 13:17:45 +00:00
Luqman
48dd13e004 fix github pages deployment (#5780) 2023-11-22 12:58:41 +00:00
montezdesousa
24bc6ec52f Rename session file (#5771)
* rename session file

* rename method

* Update README.md

* placed  as note

* revert readme change

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-11-22 11:17:39 +00:00
DidierRLopes
467f248705 Small fix (#5777)
This file gets automatically generated
2023-11-22 10:11:34 +00:00
teh_coderer
1e4feffd77 Docs/fix doc generations (#5775)
* few changes

* Update get_search_results.md

* updates

* undo build

* Update test_generate_docs.py

* Update controller_doc_classes.py

* Update params_controller.py

* Update params_controller.py
2023-11-21 21:10:45 +00:00
Luqman
40dece279d Feature/fix platform unit test (#5772)
* changed checkout ref

* Testing

* revert changes
2023-11-21 17:43:55 +00:00
montezdesousa
c0d93e4dc1 Released this code (#5761)
* updates after release

* bump pytest-recorder

* Revert "bump pytest-recorder"

This reverts commit 245f178a7e.

* needs to be in dev group

* rerecord yfinance tests

* record in us

---------

Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-11-21 14:08:02 +00:00
Igor Radovanovic
2f1bbb2ab3 Add support for multiple ticker (#5770)
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu>
2023-11-21 11:15:19 +00:00
DidierRLopes
ab746ceb4e Generate widgets library (#5767)
* generate widgets library

* Update gh-pages.yml

* black

* ruff fix

* add index to widgets-library

* linter
2023-11-21 10:01:52 +00:00
James Maslek
dce447b423 install v4 (#5766)
* install v4

* add run on pr

* this seems sus

* thnx juan

* flip

* thnx juan

* idk

* Update index.js

* Update Root.tsx

* Update index.js

* try again

* fix front matter

* fix description front matter

* Revert "fix description front matter"

This reverts commit cccc7b2469.

* try to fix this mickey

* fixed all that mickey @DidierRLopes broke

* Update index.js

* generate platform fix

* black fix

---------

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: tehcoderer <me@tehcoderer.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2023-11-21 06:38:50 +00:00
DidierRLopes
c680a74872 Add Pro videos to docs + fix CI (#5765)
* add pro vids

* Update gh-pages.yml
2023-11-20 20:53:28 +00:00