Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- **All languages (Rust/Python/Node.js/Java/C/C++):** Six new `FundamentalContext` methods:
- `BusinessSegments` — GET `/v1/quote/fundamentals/business-segments`: latest business segment breakdown.
- `BusinessSegmentsHistory` — GET `/v1/quote/fundamentals/business-segments/history`: historical business and regional segment breakdowns with optional `report` and `cate` filters.
- `InstitutionRatingViews` — GET `/v1/quote/ratings/institutional`: historical rating distribution time-series (buy/over/hold/under/sell per date).
- `IndustryRank` — GET `/v1/quote/industry/rank`: industry leaderboard; exposes `IndustryRankIndicator` and `IndustryRankSortType` enum constants.
- `IndustryPeers` — GET `/v1/quote/industries/peers`: recursive industry peer chain; accepts both symbol-style (`AAPL.US`) and raw counter IDs (`BK/US/123`).
- `FinancialReportSnapshot` — GET `/v1/quote/financials/earnings-snapshot`: earnings snapshot with forecast and reported metrics.

# [4.1.0]

## Breaking changes
Expand Down
23 changes: 23 additions & 0 deletions c/cbindgen.toml
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,23 @@ cpp_compat = true
"CRatingSubIndicatorGroup" = "lb_rating_sub_indicator_group_t"
"CRatingCategory" = "lb_rating_category_t"
"CStockRatings" = "lb_stock_ratings_t"
# FundamentalContext: new APIs
"CBusinessSegmentItem" = "lb_business_segment_item_t"
"CBusinessSegments" = "lb_business_segments_t"
"CBusinessSegmentHistoryItem" = "lb_business_segment_history_item_t"
"CBusinessSegmentsHistoricalItem" = "lb_business_segments_historical_item_t"
"CBusinessSegmentsHistory" = "lb_business_segments_history_t"
"CInstitutionRatingViewItem" = "lb_institution_rating_view_item_t"
"CInstitutionRatingViews" = "lb_institution_rating_views_t"
"CIndustryRankItem" = "lb_industry_rank_item_t"
"CIndustryRankGroup" = "lb_industry_rank_group_t"
"CIndustryRankResponse" = "lb_industry_rank_response_t"
"CIndustryPeersTop" = "lb_industry_peers_top_t"
"CIndustryPeerNode" = "lb_industry_peer_node_t"
"CIndustryPeersResponse" = "lb_industry_peers_response_t"
"CSnapshotForecastMetric" = "lb_snapshot_forecast_metric_t"
"CSnapshotReportedMetric" = "lb_snapshot_reported_metric_t"
"CFinancialReportSnapshot" = "lb_financial_report_snapshot_t"
# QuoteContext extensions
"CShortPosition" = "lb_short_position_t"
"CShortPositionsResponse" = "lb_short_positions_response_t"
Expand Down Expand Up @@ -362,6 +379,12 @@ include = [
"CProfessional", "CExecutiveGroup", "CExecutiveList",
"CRecentBuybacks", "CBuybackHistoryItem", "CBuybackRatios", "CBuybackData",
"CRatingLeafIndicator", "CRatingIndicator", "CRatingSubIndicatorGroup", "CRatingCategory", "CStockRatings",
"CBusinessSegmentItem", "CBusinessSegments",
"CBusinessSegmentHistoryItem", "CBusinessSegmentsHistoricalItem", "CBusinessSegmentsHistory",
"CInstitutionRatingViewItem", "CInstitutionRatingViews",
"CIndustryRankItem", "CIndustryRankGroup", "CIndustryRankResponse",
"CIndustryPeersTop", "CIndustryPeerNode", "CIndustryPeersResponse",
"CSnapshotForecastMetric", "CSnapshotReportedMetric", "CFinancialReportSnapshot",
"CCalendarDataKv", "CCalendarEventInfo", "CCalendarDateGroup", "CCalendarEventsResponse",
"CExchangeRate", "CExchangeRates",
# AlertContext enums + data types
Expand Down
Loading
Loading