Skip to content

Releases: longbridge/openapi

v4.3.2

13 Jun 03:48
ff567d0

Choose a tag to compare

feat(fundamental): add macroeconomic_indicators_v2 and macroeconomic_…

4.3.2

13 Jun 02:41
ff567d0

Choose a tag to compare

Added

  • All languages: macroeconomic_indicators gains keyword parameter for fuzzy name filtering via GET /v2/quote/macrodata
  • All languages: macroeconomic switches to GET /v2/quote/macrodata/{id}, results sorted newest-first (sort=desc) by default

Changed

  • MacroeconomicIndicator.name / .describe: MultiLanguageTextstring
  • Macroeconomic.unit / .unit_prefix: MultiLanguageTextstring

v4.3.1

11 Jun 11:22
534dfe0

Choose a tag to compare

feat(fundamental): add macroeconomic_indicators and macroeconomic met…

v4.3.0

04 Jun 09:59
5738469

Choose a tag to compare

Added

  • All languages: FundamentalContext gains etf_asset_allocation(symbol)
  • Rust: new public longbridge::counter module — symbol_to_counter_id, index_symbol_to_counter_id, counter_id_to_symbol, and is_etf
  • Rust: QuoteContext gains symbol_to_counter_ids(symbols) and resolve_counter_ids(symbols)

Changed

  • symbol_to_counter_id now also consults the embedded index and warrant directories

Fixed

  • Refreshed the embedded US ETF list (4574 → 7250 entries) and added index (648) + warrant (17693) directories

v4.2.2

02 Jun 11:21
e6c84ec

Choose a tag to compare

Fixed

  • All languages: CalendarEventsResponse now exposes next_date cursor — callers can pass it as start (with the same end) to fetch the next page of /v1/quote/finance_calendar results
  • All languages: CalendarEventInfo.symbol now returns standard symbol format (e.g. CRM.US) instead of raw counter_id format (e.g. ST/US/CRM)

openapi v4.2.1

23 May 16:07
169ec27

Choose a tag to compare

Changed

- ScreenerContext: screener endpoints migrated to /v1/quote/ai/screener/*; screener_recommend_strategies / screener_user_strategies now accept a market parameter; screener_search accepts typed ScreenerCondition objects (Mode B) instead of raw strings

Fixed

- OperatingFinancial: renamed counter_id → symbol (converts ST/US/AAPL → AAPL.US)

v4.2.0

22 May 06:30

Choose a tag to compare

Added

  • 19 new APIs: FundamentalContext +9, QuoteContext +1 (short_trades), MarketContext +3, new ScreenerContext +5 — see PR #526, #527
  • Rust: OAuthBuilder gains TokenStorage trait for custom token persistence

Changed

  • short_positions unified for HK+US; typed structs with RFC 3339 timestamps
  • top_movers, rank_list, valuation_comparison: typed structs, counter_id → symbol, RFC 3339 timestamps

Breaking changes

  • stock_eventstop_movers; StockEventsResponseTopMoversResponse
  • hk_short_positions removed; use short_positions(symbol, count)
  • ShortPositionsResponse, ShortTradesResponse, TopMoversResponse, RankListResponse, ValuationComparisonResponse changed from raw JSON to typed structs

v4.1.0

20 May 02:40

Choose a tag to compare

  • 7 new context types, 66 methodsFundamentalContext (20 methods: financial reports, analyst ratings, dividends, EPS forecasts, consensus estimates, valuation), MarketContext (9 methods: market status, broker holdings, A/H premium, trade stats), CalendarContext (7 methods: earnings / dividends / splits / IPO calendar), PortfolioContext (5 methods: exchange rates, P&L analysis), AlertContext (4 methods: price alerts), DCAContext (12 methods: DCA plans lifecycle), SharelistContext (9 methods: community sharelists)
  • QuoteContext — 4 new methods: short_positions, option_volume, option_volume_daily, update_pinned
  • ContentContext — new topic_detail and topic reply methods
  • Rust SDKConfig::header() to inject custom HTTP/WebSocket headers
  • Parameters now use typed enums instead of raw integers; monetary fields use Decimal type

v4.0.2

19 Mar 09:50

Choose a tag to compare

What's Changed

  • Add news topics and filings by @wuxsoft in #477

New Contributors

  • @wuxsoft made their first contribution in #477

Full Changelog: v4.0.1...v4.0.2

longport-mcp v0.2.1

13 May 05:48

Choose a tag to compare

What's Changed

  • Add readonly option to prevent submitting orders to the exchange.
  • Add support market temperature api.

Installation

For macOS and Linux (Debain), you can run this script to install:

curl -sSL https://raw.githubusercontent.com/longportapp/openapi/refs/heads/main/mcp/install | bash

Full Changelog: longport-mcp-0.2.0...longport-mcp-0.2.1