Commit Graph

90 Commits

Author SHA1 Message Date
tehcoderer
dfb007463e implement abstract async extract on Fetcher, with simple switch 2023-11-29 17:44:43 -05:00
tehcoderer
3a65bd3406 Merge branch 'develop' into feature/more-async 2023-11-29 16:06:17 -05: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
tehcoderer
df1718e687 Update equity_historical.py 2023-11-29 15:16:46 -05:00
tehcoderer
095556984d Merge branch 'develop' into feature/more-async 2023-11-29 15:01:59 -05:00
tehcoderer
d41b99b990 intrinio 2023-11-29 15:01:05 -05: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
tehcoderer
6a5d1f9398 Merge branch 'develop' into feature/more-async 2023-11-29 11:56:05 -05:00
tehcoderer
8065fea29c tests 2023-11-29 11:46:16 -05:00
tehcoderer
6c018b44e9 Merge branch 'develop' into feature/more-async 2023-11-29 11:40:52 -05: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
tehcoderer
e7b2e9cb3e Merge branch 'feature/more-async' of https://github.com/tehcoderer/OpenBBTerminal into feature/more-async 2023-11-29 11:33:55 -05:00
tehcoderer
34d6c2815e insider 2023-11-29 11:33:41 -05: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
Theodore Aptekarev
e44f17567b Merge branch 'develop' into feature/more-async 2023-11-29 13:42:13 +01: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
tehcoderer
460c3556aa Update insider_trading.py 2023-11-28 20:19:33 -05:00
tehcoderer
d707c6a43d Merge branch 'develop' into feature/more-async 2023-11-28 17:53:28 -05: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
tehcoderer
565a51fe46 Merge branch 'develop' into feature/more-async 2023-11-28 17:06:20 -05:00
tehcoderer
754cb9f4a9 tests, improve fred series 2023-11-28 17:01:48 -05:00
Pratyush Shukla
c7e6906851 split -> splits in calendar router (#5814) 2023-11-28 21:13:04 +00:00
tehcoderer
962343d2da Merge branch 'develop' into feature/more-async 2023-11-28 14:57:54 -05:00
tehcoderer
6271faa49f update merged fred models 2023-11-28 14:57:19 -05:00
montezdesousa
ed2fc04814 replace provider error by openbb (#5812) 2023-11-28 19:19:21 +00:00
tehcoderer
f03253637b Merge branch 'develop' into feature/more-async 2023-11-28 13:59:57 -05: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
tehcoderer
c5cb9662d7 add async overload to Fetcher.extract_data 2023-11-28 10:14:06 -05:00
tehcoderer
d920d73def Merge branch 'develop' into feature/more-async 2023-11-28 09:48:01 -05: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
Theodore Aptekarev
87fd0ec0ad Merge branch 'develop' into feature/more-async 2023-11-28 12:09:57 +01: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
tehcoderer
db04c57e4e Merge branch 'develop' into feature/more-async 2023-11-27 20:57:06 -05: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
tehcoderer
4a4f43f80b Update helpers.py 2023-11-27 14:20:35 -05:00
tehcoderer
e8a3589646 Update discovery_filings.py 2023-11-27 11:09:14 -05:00
tehcoderer
51be7d0b22 Merge branch 'develop' into feature/more-async 2023-11-27 10:59:17 -05: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
tehcoderer
6938cc7899 revert tests for now 2023-11-27 09:38:08 -05:00
tehcoderer
6b8616c1ea Merge branch 'develop' into feature/more-async 2023-11-27 09:32:33 -05: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