From 2bfa54dfa9c2f510af61292f2fb6510be46a2727 Mon Sep 17 00:00:00 2001 From: rajithst Date: Sun, 5 Oct 2025 13:33:17 +0900 Subject: [PATCH] Added the `stock_peer` function to the `__init__.py` file so it can be imported directly from the package. This makes it easier for users to access the function without importing submodules. Added a missing comma to correctly separate the two list items ("social_sentiments", "earnings_surprises") --- fmpsdk/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fmpsdk/__init__.py b/fmpsdk/__init__.py index de5cc4e..9a5b920 100644 --- a/fmpsdk/__init__.py +++ b/fmpsdk/__init__.py @@ -65,6 +65,7 @@ upgrades_downgrades, price_target, price_target_consensus, + stock_peers, ) from .cryptocurrencies import ( available_cryptocurrencies, @@ -201,7 +202,8 @@ "stock_screener", "delisted_companies", "stock_news", - "social_sentiments" "earnings_surprises", + "social_sentiments", + "earnings_surprises", "sec_filings", "press_releases", "earning_calendar", @@ -289,6 +291,7 @@ "upgrades_downgrades", "price_target", "price_target_consensus", + "stock_peers", # bulk apis "bulk_historical_eod", "bulk_profiles",