Releases: longbridge/openapi
Releases · longbridge/openapi
v4.3.2
4.3.2
Added
- All languages:
macroeconomic_indicatorsgainskeywordparameter for fuzzy name filtering viaGET /v2/quote/macrodata - All languages:
macroeconomicswitches toGET /v2/quote/macrodata/{id}, results sorted newest-first (sort=desc) by default
Changed
MacroeconomicIndicator.name/.describe:MultiLanguageText→stringMacroeconomic.unit/.unit_prefix:MultiLanguageText→string
v4.3.1
feat(fundamental): add macroeconomic_indicators and macroeconomic met…
v4.3.0
Added
- All languages:
FundamentalContextgainsetf_asset_allocation(symbol) - Rust: new public
longbridge::countermodule —symbol_to_counter_id,index_symbol_to_counter_id,counter_id_to_symbol, andis_etf - Rust:
QuoteContextgainssymbol_to_counter_ids(symbols)andresolve_counter_ids(symbols)
Changed
symbol_to_counter_idnow 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
Fixed
- All languages:
CalendarEventsResponsenow exposesnext_datecursor — callers can pass it asstart(with the sameend) to fetch the next page of/v1/quote/finance_calendarresults - All languages:
CalendarEventInfo.symbolnow returns standard symbol format (e.g.CRM.US) instead of rawcounter_idformat (e.g.ST/US/CRM)
openapi v4.2.1
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
Added
- 19 new APIs:
FundamentalContext+9,QuoteContext+1 (short_trades),MarketContext+3, newScreenerContext+5 — see PR #526, #527 - Rust:
OAuthBuildergainsTokenStoragetrait for custom token persistence
Changed
short_positionsunified for HK+US; typed structs with RFC 3339 timestampstop_movers,rank_list,valuation_comparison: typed structs,counter_id→ symbol, RFC 3339 timestamps
Breaking changes
stock_events→top_movers;StockEventsResponse→TopMoversResponsehk_short_positionsremoved; useshort_positions(symbol, count)ShortPositionsResponse,ShortTradesResponse,TopMoversResponse,RankListResponse,ValuationComparisonResponsechanged from raw JSON to typed structs
v4.1.0
- 7 new context types, 66 methods —
FundamentalContext(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_detailand topic reply methods - Rust SDK —
Config::header()to inject custom HTTP/WebSocket headers - Parameters now use typed enums instead of raw integers; monetary fields use
Decimaltype
v4.0.2
longport-mcp v0.2.1
What's Changed
- Add
readonlyoption 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 | bashFull Changelog: longport-mcp-0.2.0...longport-mcp-0.2.1