summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Radovanovic <74266147+IgorWounds@users.noreply.github.com>2023-09-15 15:44:33 +0200
committerIgor Radovanovic <74266147+IgorWounds@users.noreply.github.com>2023-09-15 15:44:33 +0200
commit4d9f3b357de16013701b9752e4df89e9c66e83e5 (patch)
treec57afb14e9c09cd4800f9a028a8a6d505df46a30
parented0bc37038870476789b534425e858c69d0becb8 (diff)
Bug fixes and benzinga fetcher tests
-rw-r--r--openbb_sdk/providers/benzinga/tests/record/http/test_fetchers/test_benzinga_global_news_fetcher.yaml116
-rw-r--r--openbb_sdk/providers/benzinga/tests/record/http/test_fetchers/test_benzinga_stock_news_fetcher.yaml110
-rw-r--r--openbb_sdk/providers/benzinga/tests/test_fetchers.py34
-rw-r--r--openbb_sdk/providers/utils/credentials_schema.py32
-rw-r--r--openbb_sdk/providers/utils/unit_test_generator.py5
5 files changed, 271 insertions, 26 deletions
diff --git a/openbb_sdk/providers/benzinga/tests/record/http/test_fetchers/test_benzinga_global_news_fetcher.yaml b/openbb_sdk/providers/benzinga/tests/record/http/test_fetchers/test_benzinga_global_news_fetcher.yaml
new file mode 100644
index 00000000000..1f4b98411b2
--- /dev/null
+++ b/openbb_sdk/providers/benzinga/tests/record/http/test_fetchers/test_benzinga_global_news_fetcher.yaml
@@ -0,0 +1,116 @@
+interactions:
+- request:
+ body: null
+ headers:
+ Accept-Encoding:
+ - gzip, deflate, br
+ Connection:
+ - keep-alive
+ accept:
+ - application/json
+ method: GET
+ uri: https://api.benzinga.com/api/v2/news?display_output=headline&page=0&page_size=15&token=MOCK_TOKEN
+ response:
+ body:
+ string: "[{\"id\":34614580,\"author\":\"Khyathi Dalal\",\"created\":\"Fri, 15
+ Sep 2023 09:34:57 -0400\",\"updated\":\"Fri, 15 Sep 2023 09:36:43 -0400\",\"title\":\"Paxos
+ Reveals PayPal Stable Coin PYUSD Is Backed By Treasury And Cash Reserves\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/markets/cryptocurrency/23/09/34614580/paxos-reveals-paypal-stable-coin-pyusd-is-backed-by-treasury-and-cash-reserves\",\"image\":[{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/untitled_design80.jpg\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/untitled_design80.jpg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/untitled_design80.jpg\"}],\"channels\":[{\"name\":\"Cryptocurrency\"},{\"name\":\"Fintech\"},{\"name\":\"News\"},{\"name\":\"Markets\"}],\"stocks\":[{\"name\":\"PYPL\"}],\"tags\":[{\"name\":\"Bitcoin\"},{\"name\":\"PayPal\"},{\"name\":\"pyusd\"}]},{\"id\":34615277,\"author\":\"Mehab
+ Qureshi\",\"created\":\"Fri, 15 Sep 2023 09:29:56 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:29:57 -0400\",\"title\":\"Here's How Much You Should Invest
+ In Shiba Inu Today For A $1M Payday If SHIB Hits 1 Cent?\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/markets/cryptocurrency/23/09/34615277/heres-how-much-you-should-invest-in-shiba-inu-today-for-a-1m-payday-if-shib-hits-1-cent\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/Shiba_Inu_Photo_by_Dennis_Diatel_on_Shutterstock_31.jpeg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/Shiba_Inu_Photo_by_Dennis_Diatel_on_Shutterstock_31.jpeg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/Shiba_Inu_Photo_by_Dennis_Diatel_on_Shutterstock_31.jpeg\"}],\"channels\":[{\"name\":\"Cryptocurrency\"},{\"name\":\"News\"},{\"name\":\"Markets\"}],\"stocks\":[{\"name\":\"$SHIB\"}],\"tags\":[{\"name\":\"Shib
+ whales\"},{\"name\":\"Shiba Inu\"}]},{\"id\":34614973,\"author\":\"Benzinga
+ Neuro\",\"created\":\"Fri, 15 Sep 2023 09:21:35 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:21:36 -0400\",\"title\":\"Think Twice Before Buying A Pixel
+ Watch \u2014 Users Claim Google Is Denying Screen Replacement\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34614973/think-twice-before-buying-a-pixel-watch-users-claim-google-is-denying-screen-replacement\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/Pixel_Watch_Photo_by_Yasin_Hasan_on_Shutterstock_1.jpeg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/Pixel_Watch_Photo_by_Yasin_Hasan_on_Shutterstock_1.jpeg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/Pixel_Watch_Photo_by_Yasin_Hasan_on_Shutterstock_1.jpeg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Tech\"},{\"name\":\"Media\"}],\"stocks\":[{\"name\":\"AAPL\"},{\"name\":\"GOOG\"},{\"name\":\"GOOGL\"}],\"tags\":[{\"name\":\"Consumer
+ Tech\"},{\"name\":\"gadgets\"},{\"name\":\"Google\"},{\"name\":\"Pixel Watch\"}]},{\"id\":34613464,\"author\":\"Vandana
+ Singh\",\"created\":\"Fri, 15 Sep 2023 09:20:09 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:20:09 -0400\",\"title\":\"RTX/Saudi Defense Firm's Failed Arms
+ Megadeal - Blame Emergence Of China, Russia Links\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/government/23/09/34613464/rtxsaudi-defense-firms-failed-arms-megadeal-blame-emergence-of-china-russia-links\",\"image\":[{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/raytheon-wikimedia.jpg\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/raytheon-wikimedia.jpg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/raytheon-wikimedia.jpg\"}],\"channels\":[{\"name\":\"Government\"},{\"name\":\"Large
+ Cap\"},{\"name\":\"News\"},{\"name\":\"Contracts\"},{\"name\":\"Markets\"},{\"name\":\"General\"}],\"stocks\":[{\"name\":\"RTX\"}],\"tags\":[{\"name\":\"Briefs\"}]},{\"id\":34594523,\"author\":\"Joana
+ Scopel\",\"created\":\"Fri, 15 Sep 2023 09:17:37 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:17:38 -0400\",\"title\":\"THC Mushroom Gummies To AI Cannabis
+ Chatbots: Elevate Your Brand With Latest Innovations At This Conference\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/markets/cannabis/23/09/34594523/thc-mushroom-gummies-to-ai-cannabis-chatbots-elevate-your-brand-with-latest-innovations-at-this-\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/14/ashley_artist_legacy_-14.jpg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/14/ashley_artist_legacy_-14.jpg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/14/ashley_artist_legacy_-14.jpg\"}],\"channels\":[{\"name\":\"Cannabis\"},{\"name\":\"News\"},{\"name\":\"Penny
+ Stocks\"},{\"name\":\"Small Cap\"},{\"name\":\"Events\"},{\"name\":\"Markets\"}],\"stocks\":[{\"name\":\"ACB\"},{\"name\":\"CBDW\"},{\"name\":\"MRMD\"},{\"name\":\"OVATF\"},{\"name\":\"PLNHF\"},{\"name\":\"CSE:OVAT\"},{\"name\":\"TSX:ACB\"},{\"name\":\"CSE:MRMD\"}],\"tags\":[{\"name\":\"1606
+ Corp.\"},{\"name\":\"Ashley Macias\"},{\"name\":\"Aurora Cannabis Inc.\"},{\"name\":\"Benzinga
+ Cannabis Capital Conference\"},{\"name\":\"CCC\"},{\"name\":\"CCC Chicago\"},{\"name\":\"Chris
+ Ostrowski\"},{\"name\":\"Dutchie\"},{\"name\":\"Flowhub Holdings\_Inc.\"},{\"name\":\"Honour\"},{\"name\":\"House
+ of Puff\"},{\"name\":\"Hyphae Wellness\"},{\"name\":\"Jon Lowen\"},{\"name\":\"Kristina
+ Lopez Adduci\"},{\"name\":\"Kurt Kaufmann\"},{\"name\":\"Kyle Sherman\"},{\"name\":\"MariMed
+ Inc.\"},{\"name\":\"New Cannabis Products\"},{\"name\":\"Ovation Science Inc.\"},{\"name\":\"Querkle\"},{\"name\":\"Seed
+ Talent\"},{\"name\":\"Surfside\"},{\"name\":\"Timeless Vapes\"}]},{\"id\":34614597,\"author\":\"Akanksha
+ Bakshi\",\"created\":\"Fri, 15 Sep 2023 09:16:50 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:16:50 -0400\",\"title\":\"Yum China Leverages Technology To
+ Expand Stores Without Adding More Staff: Report\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/markets/equities/23/09/34614597/yum-china-leverages-technology-to-expand-stores-without-adding-more-staff-report\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/yumc.png\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/yumc.png\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/yumc.png\"}],\"channels\":[{\"name\":\"Equities\"},{\"name\":\"News\"},{\"name\":\"Markets\"},{\"name\":\"Media\"}],\"stocks\":[{\"name\":\"YUMC\"}],\"tags\":[{\"name\":\"Briefs\"},{\"name\":\"Eurasia\"}]},{\"id\":34613694,\"author\":\"Vandana
+ Singh\",\"created\":\"Fri, 15 Sep 2023 09:13:49 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:13:49 -0400\",\"title\":\"Goldman Sachs Offers Unique Investment
+ Opportunity For Affluent Investors: Own a Slice Of Private Sports Team\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34613694/goldman-sachs-offers-unique-investment-opportunity-for-affluent-investors-own-a-slice-of-private-spo\",\"image\":[{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/dollar_sharon-photo_by_sharon_mccutcheon_on_unsplash-.jpg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/dollar_sharon-photo_by_sharon_mccutcheon_on_unsplash-.jpg\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/dollar_sharon-photo_by_sharon_mccutcheon_on_unsplash-.jpg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Markets\"},{\"name\":\"General\"}],\"stocks\":[{\"name\":\"GS\"}],\"tags\":[{\"name\":\"Briefs\"}]},{\"id\":34611331,\"author\":\"Jelena
+ Martinovic\",\"created\":\"Fri, 15 Sep 2023 09:13:20 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:13:20 -0400\",\"title\":\"Get Ready To Roll: Old Pal Debuts
+ In New York With Classic Flavors, Here's Where To Find It\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/markets/cannabis/23/09/34611331/get-ready-to-roll-old-pal-debuts-in-new-york-with-classic-flavors-heres-where-to-find-it\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/budding-h3pwuqxpp_0-unsplash17.jpg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/budding-h3pwuqxpp_0-unsplash17.jpg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/budding-h3pwuqxpp_0-unsplash17.jpg\"}],\"channels\":[{\"name\":\"Cannabis\"},{\"name\":\"News\"},{\"name\":\"Retail
+ Sales\"},{\"name\":\"Markets\"}],\"stocks\":[],\"tags\":[{\"name\":\"Dave
+ Vautrin\"},{\"name\":\"New York Cannabis\"},{\"name\":\"Old Pal\"},{\"name\":\"premium\"},{\"name\":\"PURA\"},{\"name\":\"Rusty
+ Wilenkin\"}]},{\"id\":34611240,\"author\":\"Vandana Singh\",\"created\":\"Fri,
+ 15 Sep 2023 09:11:18 -0400\",\"updated\":\"Fri, 15 Sep 2023 09:11:19 -0400\",\"title\":\"Third
+ Largest US Bank Citigroup In Layoff Talks After Management Restructure\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34611240/third-largest-us-bank-citigroup-in-layoff-talks-after-management-restructure\",\"image\":[{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/citibank.jpg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/citibank.jpg\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/citibank.jpg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Markets\"},{\"name\":\"General\"}],\"stocks\":[{\"name\":\"C\"}],\"tags\":[{\"name\":\"Briefs\"}]},{\"id\":34614698,\"author\":\"Mohit
+ Manghnani\",\"created\":\"Fri, 15 Sep 2023 09:08:10 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:08:12 -0400\",\"title\":\"Disney's Mixed Bag: Economic Upside
+ in Inflation, Declining TV Viewership, and Marvel VFX Workers Unionize\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34614698/disneys-mixed-bag-economic-upside-in-inflation-declining-tv-viewership-and-marvel-vfx-workers-unioni\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/dis_1.png\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/dis_1.png\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/dis_1.png\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Top
+ Stories\"}],\"stocks\":[{\"name\":\"DIS\"}],\"tags\":[{\"name\":\"AI Generated\"},{\"name\":\"Ultima
+ Insights\"}]},{\"id\":34602719,\"author\":\"Jelena Martinovic\",\"created\":\"Fri,
+ 15 Sep 2023 09:02:35 -0400\",\"updated\":\"Fri, 15 Sep 2023 09:02:37 -0400\",\"title\":\"Cannabis
+ Industry Changes As Marijuana Rescheduling Looms\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/markets/cannabis/23/09/34602719/cannabis-industry-changes-as-marijuana-rescheduling-looms\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/cannabis_deals_geralt_lindsayfox_pixabay12.jpg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/cannabis_deals_geralt_lindsayfox_pixabay12.jpg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/cannabis_deals_geralt_lindsayfox_pixabay12.jpg\"}],\"channels\":[{\"name\":\"Cannabis\"},{\"name\":\"Government\"},{\"name\":\"News\"},{\"name\":\"Penny
+ Stocks\"},{\"name\":\"Regulations\"},{\"name\":\"Entrepreneurship\"},{\"name\":\"Movers
+ & Shakers\"},{\"name\":\"Small Cap\"},{\"name\":\"Markets\"},{\"name\":\"General\"}],\"stocks\":[{\"name\":\"ACB\"},{\"name\":\"CNTMF\"},{\"name\":\"CPMD\"},{\"name\":\"CWBHF\"},{\"name\":\"HERTF\"},{\"name\":\"JAZZ\"},{\"name\":\"KAVL\"},{\"name\":\"OILFF\"},{\"name\":\"SMG\"},{\"name\":\"UNRV\"},{\"name\":\"VFF\"},{\"name\":\"TSXV:ZYUS\"},{\"name\":\"TSXV:SNYB\"},{\"name\":\"CSE:TIUM\"},{\"name\":\"TSX:ACB\"},{\"name\":\"TSXV:CANB\"},{\"name\":\"CSE:CANN\"},{\"name\":\"CSE:OILS\"},{\"name\":\"TSX:CWEB\"}],\"tags\":[{\"name\":\"appointments\"},{\"name\":\"CCC\"},{\"name\":\"CEO\"},{\"name\":\"executives\"},{\"name\":\"Fluent\"},{\"name\":\"High
+ Times\"},{\"name\":\"KCSA Strategic Communications\"},{\"name\":\"marijuana
+ legalization\"},{\"name\":\"Nova Farms\"},{\"name\":\"Pure Sunfarms\"}]},{\"id\":34614434,\"author\":\"Benzinga
+ Insights\",\"created\":\"Fri, 15 Sep 2023 09:02:02 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:02:06 -0400\",\"title\":\"What 10 Analyst Ratings Have To Say
+ About KeyCorp\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/analyst-ratings/23/09/34614434/what-10-analyst-ratings-have-to-say-about-keycorp\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/analyst_ratings_image_3.png\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/analyst_ratings_image_3.png\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/analyst_ratings_image_3.png\"}],\"channels\":[{\"name\":\"Analyst
+ Ratings\"}],\"stocks\":[{\"name\":\"KEY\"}],\"tags\":[{\"name\":\"BZI-AAR\"}]},{\"id\":34614361,\"author\":\"Benzinga
+ Insights\",\"created\":\"Fri, 15 Sep 2023 09:01:34 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:01:39 -0400\",\"title\":\"What 10 Analyst Ratings Have To Say
+ About Trane Technologies\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/analyst-ratings/23/09/34614361/what-10-analyst-ratings-have-to-say-about-trane-technologies\",\"image\":[{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/analyst_ratings_image_2.jpeg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/analyst_ratings_image_2.jpeg\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/analyst_ratings_image_2.jpeg\"}],\"channels\":[{\"name\":\"Analyst
+ Ratings\"}],\"stocks\":[{\"name\":\"TT\"}],\"tags\":[{\"name\":\"BZI-AAR\"}]},{\"id\":34614287,\"author\":\"Benzinga
+ Insights\",\"created\":\"Fri, 15 Sep 2023 09:01:10 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:01:12 -0400\",\"title\":\"What 9 Analyst Ratings Have To Say
+ About Five9\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/analyst-ratings/23/09/34614287/what-9-analyst-ratings-have-to-say-about-five9\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/analyst_ratings_image_0.png\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/analyst_ratings_image_0.png\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/analyst_ratings_image_0.png\"}],\"channels\":[{\"name\":\"Analyst
+ Ratings\"}],\"stocks\":[{\"name\":\"FIVN\"}],\"tags\":[{\"name\":\"BZI-AAR\"}]},{\"id\":34614233,\"author\":\"Benzinga
+ Insights\",\"created\":\"Fri, 15 Sep 2023 09:00:47 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 09:00:49 -0400\",\"title\":\"11 Analysts Have This to Say About
+ Lam Research\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/analyst-ratings/23/09/34614233/11-analysts-have-this-to-say-about-lam-research\",\"image\":[{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/analyst_ratings_image_4.png\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/analyst_ratings_image_4.png\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/analyst_ratings_image_4.png\"}],\"channels\":[{\"name\":\"Analyst
+ Ratings\"}],\"stocks\":[{\"name\":\"LRCX\"}],\"tags\":[{\"name\":\"BZI-AAR\"}]}]\n"
+ headers:
+ Cache-Control:
+ - max-age=3, must-revalidate
+ Connection:
+ - keep-alive
+ Content-Type:
+ - application/json
+ Date:
+ - Fri, 15 Sep 2023 13:41:24 GMT
+ ETag:
+ - G0wrvvQnNRS1knrAdBMtkYok5ddSKb0IoiZ2EvWMBTU=
+ Transfer-Encoding:
+ - chunked
+ Vary:
+ - Accept,Accept-Encoding
+ Via:
+ - kong/2.8.3, 1.1 b8c21c40c485a68c7663b93787f93464.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - nw5AJsuUWHY1mMSSkH5NlXoJ4eqRTYJfD-YsJ7u7_t0Nl_LIV4592Q==
+ X-Amz-Cf-Pop:
+ - ZAG50-C1
+ X-Bz-Request-Id:
+ - 192.168.155.192-8443-33-34752149-76-1694785284.505
+ X-Cache:
+ - Miss from cloudfront
+ X-Kong-Proxy-Latency:
+ - '0'
+ X-Kong-Upstream-Latency:
+ - '38'
+ X-Powered-By:
+ - Pentium
+ status:
+ code: 200
+ message: OK
+version: 1
diff --git a/openbb_sdk/providers/benzinga/tests/record/http/test_fetchers/test_benzinga_stock_news_fetcher.yaml b/openbb_sdk/providers/benzinga/tests/record/http/test_fetchers/test_benzinga_stock_news_fetcher.yaml
new file mode 100644
index 00000000000..7cc150d18ee
--- /dev/null
+++ b/openbb_sdk/providers/benzinga/tests/record/http/test_fetchers/test_benzinga_stock_news_fetcher.yaml
@@ -0,0 +1,110 @@
+interactions:
+- request:
+ body: null
+ headers:
+ Accept-Encoding:
+ - gzip, deflate, br
+ Connection:
+ - keep-alive
+ accept:
+ - application/json
+ method: GET
+ uri: https://api.benzinga.com/api/v2/news?display_output=headline&page=0&pageSize=15&tickers=AAPL%2CMSFT&token=MOCK_TOKEN
+ response:
+ body:
+ string: "[{\"id\":34614973,\"author\":\"Benzinga Neuro\",\"created\":\"Fri,
+ 15 Sep 2023 09:21:35 -0400\",\"updated\":\"Fri, 15 Sep 2023 09:21:36 -0400\",\"title\":\"Think
+ Twice Before Buying A Pixel Watch \u2014 Users Claim Google Is Denying Screen
+ Replacement\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34614973/think-twice-before-buying-a-pixel-watch-users-claim-google-is-denying-screen-replacement\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/Pixel_Watch_Photo_by_Yasin_Hasan_on_Shutterstock_1.jpeg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/Pixel_Watch_Photo_by_Yasin_Hasan_on_Shutterstock_1.jpeg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/Pixel_Watch_Photo_by_Yasin_Hasan_on_Shutterstock_1.jpeg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Tech\"},{\"name\":\"Media\"}],\"stocks\":[{\"name\":\"AAPL\"},{\"name\":\"GOOG\"},{\"name\":\"GOOGL\"}],\"tags\":[{\"name\":\"Consumer
+ Tech\"},{\"name\":\"gadgets\"},{\"name\":\"Google\"},{\"name\":\"Pixel Watch\"}]},{\"id\":34613471,\"author\":\"Rounak
+ Jain\",\"created\":\"Fri, 15 Sep 2023 08:36:31 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 08:36:32 -0400\",\"title\":\"Deal Of The Day: Get The Power Of
+ 16-inch MacBook With M1 Max Chip At A $1,700 Discount\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34613471/deal-of-the-day-get-the-power-of-16-inch-macbook-with-m1-max-chip-at-a-1-700-discount\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/Macbook_pro_16.jpeg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/Macbook_pro_16.jpeg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/Macbook_pro_16.jpeg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Tech\"}],\"stocks\":[{\"name\":\"AAPL\"}],\"tags\":[{\"name\":\"Apple\"},{\"name\":\"Appleverse\"},{\"name\":\"Consumer
+ Tech\"},{\"name\":\"gadgets\"},{\"name\":\"MacBook\"},{\"name\":\"Tech Deals\"}]},{\"id\":34612540,\"author\":\"Rounak
+ Jain\",\"created\":\"Fri, 15 Sep 2023 08:19:10 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 08:19:11 -0400\",\"title\":\"Does The iPhone 15 Pro Have A 'Discoloration'
+ Issue? First Hands-On Photos Suggest It Is A Fingerprint Magnet\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34612540/does-the-iphone-15-pro-have-a-discoloration-issue-first-hands-on-photos-suggest-it-is-a-fingerprint\",\"image\":[{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/iPhone_15_Pro_7.png\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/iPhone_15_Pro_7.png\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/iPhone_15_Pro_7.png\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Tech\"}],\"stocks\":[{\"name\":\"AAPL\"}],\"tags\":[{\"name\":\"Apple\"},{\"name\":\"Appleverse\"},{\"name\":\"Consumer
+ Tech\"},{\"name\":\"gadgets\"},{\"name\":\"iPhone\"},{\"name\":\"iPhone 15\"}]},{\"id\":34612488,\"author\":\"Mohit
+ Manghnani\",\"created\":\"Fri, 15 Sep 2023 08:14:55 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 08:14:57 -0400\",\"title\":\"Microsoft's Challenging Week: Legal
+ Scrutiny in EU, Teams Outages, and Security Enhancements for Windows 11\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34612488/microsofts-challenging-week-legal-scrutiny-in-eu-teams-outages-and-security-enhancements-for-windows\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/msft.png\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/msft.png\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/msft.png\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Top
+ Stories\"}],\"stocks\":[{\"name\":\"MSFT\"}],\"tags\":[{\"name\":\"AI Generated\"},{\"name\":\"Ultima
+ Insights\"}]},{\"id\":34609080,\"author\":\"Anusuya Lahiri\",\"created\":\"Fri,
+ 15 Sep 2023 07:51:12 -0400\",\"updated\":\"Fri, 15 Sep 2023 07:51:13 -0400\",\"title\":\"Salesforce
+ Embarks on Hiring Spree, Adding 3,300 New Faces to Drive Growth\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34609080/salesforce-embarks-on-hiring-spree-adding-3-300-new-faces-to-drive-growth\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/salesforce_logo.jpg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/salesforce_logo.jpg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/salesforce_logo.jpg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Management\"},{\"name\":\"Tech\"},{\"name\":\"Media\"}],\"stocks\":[{\"name\":\"CRM\"},{\"name\":\"MSFT\"},{\"name\":\"SNOW\"},{\"name\":\"TWLO\"}],\"tags\":[{\"name\":\"AI
+ Generated\"},{\"name\":\"Briefs\"}]},{\"id\":34610390,\"author\":\"Benzinga
+ Neuro\",\"created\":\"Fri, 15 Sep 2023 07:21:28 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 07:42:32 -0400\",\"title\":\"Apple Silently Hikes Battery Replacement
+ Cost For Certain Watch Models\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34610390/apple-silently-hikes-battery-replacement-cost-for-certain-watch-models\",\"image\":[{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/Apple_Watch_Series_9_and_Ultra_2_0.png\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/Apple_Watch_Series_9_and_Ultra_2_0.png\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/Apple_Watch_Series_9_and_Ultra_2_0.png\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Tech\"},{\"name\":\"Media\"}],\"stocks\":[{\"name\":\"AAPL\"}],\"tags\":[{\"name\":\"Apple
+ Watch\"},{\"name\":\"Appleverse\"},{\"name\":\"Consumer Tech\"},{\"name\":\"gadgets\"}]},{\"id\":34609402,\"author\":\"Rounak
+ Jain\",\"created\":\"Fri, 15 Sep 2023 06:44:25 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 06:44:26 -0400\",\"title\":\"'Child Sexual Abuse Is Stored On
+ iCloud. Apple Allows It': Anti-Apple Posters Emerge In Front Of Apple Park\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34609402/child-sexual-abuse-is-stored-on-icloud-apple-allows-it-anti-apple-posters-emerge-in-front-of-apple-p\",\"image\":[{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/Apple_Logo.jpeg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/Apple_Logo.jpeg\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/Apple_Logo.jpeg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Tech\"}],\"stocks\":[{\"name\":\"AAPL\"}],\"tags\":[{\"name\":\"Apple\"},{\"name\":\"Appleverse\"},{\"name\":\"Consumer
+ Tech\"},{\"name\":\"Cybersecurity\"},{\"name\":\"iPhone\"},{\"name\":\"privacy\"}]},{\"id\":34607134,\"author\":\"Ananya
+ Gairola\",\"created\":\"Fri, 15 Sep 2023 05:48:36 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 05:48:37 -0400\",\"title\":\"Beware: Your iPhone 15 Could Permanently
+ Fry If Charged With The Wrong USB-C Charger\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34607134/beware-your-iphone-15-could-permanently-fry-if-charged-with-the-wrong-usb-c-charger\",\"image\":[{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/Apple-iPhone-15-lineup-AirPods-Pro-2nd-generation-USB-C-connection-230912_big.jpg.large_2x.jpeg\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/Apple-iPhone-15-lineup-AirPods-Pro-2nd-generation-USB-C-connection-230912_big.jpg.large_2x.jpeg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/Apple-iPhone-15-lineup-AirPods-Pro-2nd-generation-USB-C-connection-230912_big.jpg.large_2x.jpeg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Tech\"},{\"name\":\"Media\"}],\"stocks\":[{\"name\":\"AAPL\"}],\"tags\":[{\"name\":\"Apple\"},{\"name\":\"Appleverse\"},{\"name\":\"Consumer
+ Tech\"},{\"name\":\"iPhone 15\"},{\"name\":\"Lightning port\"},{\"name\":\"USB-C
+ ports\"}]},{\"id\":34604471,\"author\":\"Anusuya Lahiri\",\"created\":\"Fri,
+ 15 Sep 2023 05:38:27 -0400\",\"updated\":\"Fri, 15 Sep 2023 05:38:28 -0400\",\"title\":\"ASML
+ Stock Drops As Key Supplier TSMC Reportedly Postpone Deliveries Amidst Industry
+ Demand Concerns\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/markets/equities/23/09/34604471/asml-stock-drops-as-key-supplier-tsmc-reportedly-postpone-deliveries-amidst-industry-demand-conc\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/15/asml_2.png\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/15/asml_2.png\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/15/asml_2.png\"}],\"channels\":[{\"name\":\"Equities\"},{\"name\":\"News\"},{\"name\":\"Markets\"},{\"name\":\"Tech\"},{\"name\":\"Media\"}],\"stocks\":[{\"name\":\"AAPL\"},{\"name\":\"ASML\"},{\"name\":\"NVDA\"},{\"name\":\"TSM\"}],\"tags\":[{\"name\":\"AI
+ Generated\"},{\"name\":\"Briefs\"},{\"name\":\"Eurasia\"}]},{\"id\":34606269,\"author\":\"Rounak
+ Jain\",\"created\":\"Fri, 15 Sep 2023 05:10:31 -0400\",\"updated\":\"Fri,
+ 15 Sep 2023 05:10:32 -0400\",\"title\":\"Want To Upgrade To The iPhone 15
+ or 15 Pro From iPhone 14? Here Are The Trade-In Prices Apple Is Offering\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34606269/want-to-upgrade-to-the-iphone-15-or-15-pro-from-iphone-14-here-are-the-trade-in-prices-apple-is-offe\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/Apple-iPhone-15-Pro-lineup-color-lineup-geo-230912_big.jpg.large_2x.jpeg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/Apple-iPhone-15-Pro-lineup-color-lineup-geo-230912_big.jpg.large_2x.jpeg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/Apple-iPhone-15-Pro-lineup-color-lineup-geo-230912_big.jpg.large_2x.jpeg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Tech\"}],\"stocks\":[{\"name\":\"AAPL\"},{\"name\":\"AMZN\"},{\"name\":\"T\"},{\"name\":\"TMUS\"},{\"name\":\"VZ\"}],\"tags\":[{\"name\":\"Apple\"},{\"name\":\"Appleverse\"},{\"name\":\"Consumer
+ Tech\"},{\"name\":\"gadgets\"},{\"name\":\"iPhone\"},{\"name\":\"iPhone 14\"},{\"name\":\"iPhone
+ 15\"}]},{\"id\":34605247,\"author\":\"Ananya Gairola\",\"created\":\"Fri,
+ 15 Sep 2023 04:37:31 -0400\",\"updated\":\"Fri, 15 Sep 2023 04:37:32 -0400\",\"title\":\"Oracle's
+ Larry Ellison And Microsoft's Satya Nadella Bridge Decades-Long Rivalry\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34605247/oracles-larry-ellison-and-microsofts-satya-nadella-bridge-decades-long-rivalry\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/larry_ellison_1.jpeg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/larry_ellison_1.jpeg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/larry_ellison_1.jpeg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Tech\"},{\"name\":\"Media\"}],\"stocks\":[{\"name\":\"MSFT\"},{\"name\":\"ORCL\"}],\"tags\":[{\"name\":\"Azure\"},{\"name\":\"Consumer
+ Tech\"},{\"name\":\"Larry Ellison\"},{\"name\":\"Microsoft\"},{\"name\":\"Oracle\"},{\"name\":\"People
+ In Tech\"},{\"name\":\"Satya Nadella\"},{\"name\":\"Software &amp; Apps\"},{\"name\":\"Windows
+ NT\"}]},{\"id\":34598094,\"author\":\"Ananya Gairola\",\"created\":\"Fri,
+ 15 Sep 2023 00:11:20 -0400\",\"updated\":\"Fri, 15 Sep 2023 00:11:21 -0400\",\"title\":\"Why
+ Is Apple's Tech Support Reportedly Keeping Quiet About iPhone 12 Radiation?\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34598094/why-is-apples-tech-support-reportedly-keeping-quiet-about-iphone-12-radiation\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/iPhone_12.jpeg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/iPhone_12.jpeg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/iPhone_12.jpeg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"Tech\"},{\"name\":\"Media\"}],\"stocks\":[{\"name\":\"AAPL\"}],\"tags\":[{\"name\":\"Apple\"},{\"name\":\"Appleverse\"},{\"name\":\"Consumer
+ Tech\"},{\"name\":\"iPhone 12\"},{\"name\":\"iPhone 15 launch\"}]},{\"id\":34570896,\"author\":\"Anusuya
+ Lahiri\",\"created\":\"Thu, 14 Sep 2023 15:21:58 -0400\",\"updated\":\"Thu,
+ 14 Sep 2023 15:21:59 -0400\",\"title\":\"Algorithm vs. Data: Google's Antitrust
+ Trial Defines the Battle for Online Dominance\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/government/23/09/34570896/algorithm-vs-data-googles-antitrust-trial-defines-the-battle-for-online-dominance\",\"image\":[{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/14/google_ads.png\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/14/google_ads.png\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/14/google_ads.png\"}],\"channels\":[{\"name\":\"Government\"},{\"name\":\"News\"},{\"name\":\"Regulations\"},{\"name\":\"Legal\"},{\"name\":\"Tech\"},{\"name\":\"Media\"}],\"stocks\":[{\"name\":\"AMZN\"},{\"name\":\"GOOG\"},{\"name\":\"GOOGL\"},{\"name\":\"META\"},{\"name\":\"MSFT\"}],\"tags\":[{\"name\":\"AI
+ Generated\"},{\"name\":\"Briefs\"}]},{\"id\":34587531,\"author\":\"Anusuya
+ Lahiri\",\"created\":\"Thu, 14 Sep 2023 13:26:09 -0400\",\"updated\":\"Thu,
+ 14 Sep 2023 13:35:23 -0400\",\"title\":\"What's Going On With ARM Holdings
+ Stock Thursday?\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/news/23/09/34587531/whats-going-on-with-arm-holdings-stock-thursday\",\"image\":[{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/09/14/arm-evaluation-system.jpg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/09/14/arm-evaluation-system.jpg\"},{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/09/14/arm-evaluation-system.jpg\"}],\"channels\":[{\"name\":\"News\"},{\"name\":\"IPOs\"},{\"name\":\"Tech\"}],\"stocks\":[{\"name\":\"AAPL\"},{\"name\":\"AMD\"},{\"name\":\"ARM\"},{\"name\":\"GOOG\"},{\"name\":\"GOOGL\"},{\"name\":\"NVDA\"},{\"name\":\"SFTBF\"},{\"name\":\"SFTBY\"}],\"tags\":[{\"name\":\"Briefs\"}]},{\"id\":34589749,\"author\":\"Benzinga
+ Insights\",\"created\":\"Thu, 14 Sep 2023 13:35:17 -0400\",\"updated\":\"Thu,
+ 14 Sep 2023 13:35:18 -0400\",\"title\":\"10 Information Technology Stocks
+ Whale Activity In Today's Session\",\"teaser\":\"\",\"body\":\"\",\"url\":\"https://www.benzinga.com/markets/options/23/09/34589749/10-information-technology-stocks-whale-activity-in-todays-session\",\"image\":[{\"size\":\"thumb\",\"url\":\"https://cdn.benzinga.com/files/imagecache/250x187xUP/images/story/2023/options_image_4.jpeg\"},{\"size\":\"small\",\"url\":\"https://cdn.benzinga.com/files/imagecache/1024x768xUP/images/story/2023/options_image_4.jpeg\"},{\"size\":\"large\",\"url\":\"https://cdn.benzinga.com/files/imagecache/2048x1536xUP/images/story/2023/options_image_4.jpeg\"}],\"channels\":[{\"name\":\"Options\"}],\"stocks\":[{\"name\":\"AMD\"},{\"name\":\"CRM\"},{\"name\":\"CRWD\"},{\"name\":\"CSCO\"},{\"name\":\"INTC\"},{\"name\":\"MARA\"},{\"name\":\"MSFT\"},{\"name\":\"MU\"},{\"name\":\"NVDA\"},{\"name\":\"ORCL\"}],\"tags\":[{\"name\":\"BZI-AUOA\"}]}]\n"
+ headers:
+ Cache-Control:
+ - max-age=3, must-revalidate
+ Connection:
+ - keep-alive
+ Content-Type:
+ - application/json
+ Date:
+ - Fri, 15 Sep 2023 13:41:24 GMT
+ ETag:
+ - RhnqO3weleOQgX093LbLpt9cjPAZBNeEboyTvgXYgvg=
+ Transfer-Encoding:
+ - chunked
+ Vary:
+ - Accept,Accept-Encoding
+ Via:
+ - kong/2.8.3, 1.1 7fbfed9453edeb4b5dca9173a3f5f8dc.cloudfront.net (CloudFront)
+ X-Amz-Cf-Id:
+ - jwY-c47kYHl9goGnX_8rWledkBPWOxCeA7RAL6AHoEVOzgNNjoBRIA==
+ X-Amz-Cf-Pop:
+ - ZAG50-C1
+ X-Bz-Request-Id:
+ - 192.168.155.192-8443-33-34751444-68-1694785284.773
+ X-Cache:
+ - Miss from cloudfront
+ X-Kong-Proxy-Latency:
+ - '0'
+ X-Kong-Upstream-Latency:
+ - '42'
+ X-Powered-By:
+ - Pentium
+ status:
+ code: 200
+ message: OK
+version: 1
diff --git a/openbb_sdk/providers/benzinga/tests/test_fetchers.py b/openbb_sdk/providers/benzinga/tests/test_fetchers.py
new file mode 100644
index 00000000000..90d938f1070
--- /dev/null
+++ b/openbb_sdk/providers/benzinga/tests/test_fetchers.py
@@ -0,0 +1,34 @@
+import pytest
+from openbb import obb
+from openbb_benzinga.models.global_news import BenzingaGlobalNewsFetcher
+from openbb_benzinga.models.stock_news import BenzingaStockNewsFetcher
+
+test_credentials = obb.user.credentials.__dict__
+
+
+@pytest.fixture(scope="module")
+def vcr_config():
+ return {
+ "filter_headers": [("User-Agent", None)],
+ "filter_query_parameters": [
+ ("token", "MOCK_TOKEN"),
+ ],
+ }
+
+
+@pytest.mark.record_http
+def test_benzinga_global_news_fetcher(credentials=test_credentials):
+ params = {}
+
+ fetcher = BenzingaGlobalNewsFetcher()
+ result = fetcher.test(params, credentials)
+ assert result is None
+
+
+@pytest.mark.record_http
+def test_benzinga_stock_news_fetcher(credentials=test_credentials):
+ params = {"symbols": "AAPL,MSFT"}
+
+ fetcher = BenzingaStockNewsFetcher()
+ result = fetcher.test(params, credentials)
+ assert result is None
diff --git a/openbb_sdk/providers/utils/credentials_schema.py b/openbb_sdk/providers/utils/credentials_schema.py
index 1b0f14432ad..374f270fa17 100644
--- a/