Skip to Content

Changelog

2026-04-02

CLI v0.14.0

  • Device auth — the Longbridge Developers platform now supports OAuth Device Authorization Flow; longbridge login displays a verification URL and code to authorize from any device, including SSH and headless environments
  • Order enhancements — trailing stop and AO order types; --expire-date, --outside-rth, --remark added to order commands
  • Fix — prebuilt Linux binary now uses musl to fix segfault on some distributions

2026-04-01

CLI v0.13.0

  • Add Fundamentals & Analysis commands:
    • financial-report — financial statements with period and type filters
    • valuation — P/E, P/B, P/S, dividend yield snapshot with peer comparison and history mode
    • forecast-eps — analyst EPS forecast consensus
    • consensus — revenue/profit/EPS consensus with beat/miss annotations
    • institution-rating / institution-rating detail — rating distribution and monthly trends
    • shareholder — institutional shareholders with change tracking and sort options
    • fund-holder — funds and ETFs holding a symbol
    • dividend / dividend detail — dividend history and distribution plan
    • finance-calendar — financial calendar by event type (financial, report, dividend, ipo, macrodata, closed)
    • exchange-rate — exchange rates for all supported currencies
  • Refactor CLI commands with domain-grouped naming convention

2026-03-30

  • Add Statement API:
    • GET /v1/statement/list — list daily or monthly account statements
    • GET /v1/statement/download — get presigned download URL for a statement file

2026-03-25

  • Add Community API:
    • GET /content/topics/mine — list my published topics
    • POST /content/topics — create a new community topic
    • GET /content/topics/{id} — get topic detail
    • GET /content/topics/{topic_id}/comments — list topic replies
    • POST /content/topics/{topic_id}/comments — create a topic reply

2025-06-17

  • Update the interface for Get Account Balance
    • GET /v1/asset/account Add response field (frozen_transaction_fees)

2024-10-09

SDK 2.0.0

  • Print the opened quote packages when connected to the server.
  • The quantity type in the trading API has changed from int to Decimal.

2024-09-11

  • Updated Get Security List API
    • The GET /v1/quote/get_security_list now returns the name in the corresponding language based on the accept-language request header, instead of returning all three languages at once.

2024-08-28

  • Change the Depth.price field in the SDK from Decimal type to Optional[Decimal] type

2024-05-17

  • Expand outside_rth field to support overnight trading in order placement and query APIs

2024-05-06

  • Update the interface for Get Account Balance
    • GET /v1/asset/account Add response field (buy_power)

2024-04-29

  • Remove TSMPCT, TSMAMT Order type

2024-04-15

2024-04-13

2023-11-03

  • Add quote history candlestick interface
    • Long connection Business Command:27, obtain the history candlestick of security

2023-08-17

  • Update the interface for Get Account Balance
    • GET /v1/asset/account Add parameter (currency)

2023-04-12

  • Update the interface for Get Stock Positions
    • GET /v1/asset/stock Add response field (init_quantity)

2023-04-11

  • Added order details query interface
    • 'GET /v1/trade/order' Get the order details
  • Added the Estimate Maximum Purchase Quantity interface
    • 'GET /v1/trade/estimate/buy_limit' Get the estimated maximum purchase quantity
  • U.S. stock options add market order and condition order support

2022-07-18

  • Update security static info interface
    • Long connection Business Command:10, response add board fields

2022-07-14

  • Add get stock margin ratio interface
    • GET /v1/risk/margin-ratio Get stock margin ratio

2022-06-30

  • Add get watched groups interface
    • GET /v1/watchlist/groups Get watched groups

2022-06-20

  • Update account balance interface
    • GET /v1/asset/account Response to increase the net assets (net_assets), initial margin (init_margin), maintenance margin (maintenance_margin) fields
  • Update position interface
    • GET /v1/asset/stock Support users to obtain option positions

2022-06-15

  • Add quote capital interface
    • Long connection Business Command:24, obtain the daily capital distribution of security
    • Long connection Business Command:25, obtain the daily capital flow intraday of security