Changelog
2026-04-20
CLI v0.17.1
completioncommand — shell tab-completion for bash, zsh, fish, elvish, and powershell- Sets
User-Agent: longbridge-cli/<version>and addsx-cli-cmdheader on all API requests
2026-04-17
CLI v0.17.0
dca— full recurring investment lifecycle: create plans (daily/weekly/fortnightly/monthly), pause/resume/stop, view trade history, check symbol eligibility, and calculate next trade datesharelist— browse and manage community stock lists; discover trending sharelists withpopularshort-positions— US stock short interest data: short ratio, days-to-cover, and share counts (FINRA bi-monthly)option volume— real-time call/put volume and put/call ratio;dailysubcommand for historical dataoption chainfix: without--datenow lists expiry dates (not strikes)
2026-04-16
CLI v0.16.3
authsubcommand group —longbridge auth login/auth logout/auth status; newauth statusshows token validity, expiry, and account info locally without networkalert enable/alert disable— toggle alerts on/off without deleting them- Fix: US index symbols —
.DJI.US,.VIX.USnow parse correctly; US indexes require a leading dot - "Did you mean?" hints — symbol format suggestions when a query returns no data
2026-04-13
CLI v0.16.0
- 21+ new commands —
company,executive,industry-valuation,operating,corp-action,invest-relation,constituent,market-status,broker-holding,ah-premium,trade-stats,anomaly,alert,profit-analysis profit-analysis— full P&L analysis: summary, per-stock breakdown, individual stock detail with transaction flows, and market-filtered viewsupdate— cross-platform self-update with Windows support and CDN acceleration;--release-notesto view changelogintraday --date— historical intraday data for a past date
2026-04-09
CLI v0.15.0
portfoliocommand — total P/L, asset distribution by market, holdings, and cash balancesinvestorscommand — active fund manager rankings from SEC 13F data; view any investor's holdings by CIK with live prices$ longbridge investors | # | name | AUM | period | cik | |----|---------------------------------------------|----------|-------------|------------| | 1 | Capital International Investors | $637.97B | 31-DEC-2025 | 0001562230 | | 2 | Capital Research Global Investors | $541.73B | 31-DEC-2025 | 0001422848 | | 3 | CTC LLC | $404.44B | 31-DEC-2025 | 0001445893 | | 4 | BERKSHIRE HATHAWAY INC | $274.16B | 31-DEC-2025 | 0001067983 | | 5 | DODGE & COX | $185.26B | 31-DEC-2025 | 0000200217 | $ longbridge investors 0001067983 Period: 2025-12-31 (filed: 2026-02-17) BERKSHIRE HATHAWAY INC (period: 2025-12-31) Portfolio: 42 positions, total value ~$274.16B | company | value | shares | weight | |------------------------------|----------|---------|--------| | APPLE INC | $61.96B | 227.92M | 22.6% | | AMERICAN EXPRESS CO | $56.09B | 151.61M | 20.5% | | BANK AMERICA CORP | $28.45B | 517.30M | 10.4% | | COCA COLA CO | $27.96B | 400.00M | 10.2% | | CHEVRON CORP NEW | $19.84B | 130.16M | 7.2% | | MOODYS CORP | $12.60B | 24.67M | 4.6% | | OCCIDENTAL PETE CORP | $10.89B | 264.94M | 4.0% | | CHUBB LIMITED | $10.69B | 34.25M | 3.9% | | KRAFT HEINZ CO | $7.90B | 325.63M | 2.9% | | ALPHABET INC | $5.59B | 17.85M | 2.0% |insider-trades— SEC Form 4 insider transaction history for any symbol$ longbridge insider-trades TSLA.US Fetching 20 Form 4 filings... | date | filer | title | type | shares | price | value | owned_after | |------------|--------------|---------------|----------|--------|---------|----------|-------------| | 2026-03-31 | Zhu Xiaotong | SVP | EXERCISE | 20.00K | $20.57 | $411.40K | 20.00K | | 2025-09-11 | Zhu Xiaotong | SVP, APAC and | SELL | 20.00K | $363.75 | $7.28M | 47.60K | | 2025-06-12 | Zhu Xiaotong | SVP, APAC | EXERCISE | 15.00K | $20.57 | $308.55K | 82.60K | | 2025-06-12 | Zhu Xiaotong | SVP, APAC | SELL | 15.00K | $323.81 | $4.86M | 67.60K | Source: SEC EDGAR Form 4 — TSLAwatchlist pin/unpin— pin securities to the top of a watchlist groupassetscommand — renamed frombalance; full asset overview: net assets, buying power, margin, risk level, and per-currency cash breakdown
2026-04-08
CLI v0.14.2
--langflag — set content language (zh-CN,zh-HK,en) for all commands; falls back to systemLANGenv var
2026-04-02
CLI v0.14.1
- CN region login —
longbridge auth loginnow supports China region routing -vflag — quick version check
CLI v0.14.0
- Device auth — the Longbridge Developers platform now supports OAuth Device Authorization Flow;
longbridge auth logindisplays 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,--remarkadded 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 filtersvaluation— P/E, P/B, P/S, dividend yield snapshot with peer comparison and history modeforecast-eps— analyst EPS forecast consensusconsensus— revenue/profit/EPS consensus with beat/miss annotationsinstitution-rating/institution-rating detail— rating distribution and monthly trendsshareholder— institutional shareholders with change tracking and sort optionsfund-holder— funds and ETFs holding a symboldividend/dividend detail— dividend history and distribution planfinance-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 statementsGET /v1/statement/download— get presigned download URL for a statement file
2026-03-25
- Add Community API:
GET /content/topics/mine— list my published topicsPOST /content/topics— create a new community topicGET /content/topics/{id}— get topic detailGET /content/topics/{topic_id}/comments— list topic repliesPOST /content/topics/{topic_id}/comments— create a topic reply
2025-06-17
- Update the interface for Get Account Balance
GET /v1/asset/accountAdd 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
inttoDecimal.
2024-09-11
- Updated Get Security List API
- The
GET /v1/quote/get_security_listnow returns the name in the corresponding language based on theaccept-languagerequest header, instead of returning all three languages at once.
- The
2024-08-28
- Change the
Depth.pricefield in the SDK fromDecimaltype toOptional[Decimal]type
2024-05-17
- Expand
outside_rthfield to support overnight trading in order placement and query APIs
2024-05-06
- Update the interface for Get Account Balance
GET /v1/asset/accountAdd response field (buy_power)
2024-04-29
- Remove
TSMPCT,TSMAMTOrder type
2024-04-15
- Add
last_share,last_pricefield to Trade push.
2024-04-13
- Add
remarkfield to Trade push.
2023-11-03
- Add quote history candlestick interface
- Long connection
Business Command:27, obtain the history candlestick of security
- Long connection
2023-08-17
- Update the interface for Get Account Balance
GET /v1/asset/accountAdd parameter (currency)
2023-04-12
- Update the interface for Get Stock Positions
GET /v1/asset/stockAdd 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 addboardfields
- Long connection
2022-07-14
- Add get stock margin ratio interface
GET /v1/risk/margin-ratioGet stock margin ratio
2022-06-30
- Add get watched groups interface
GET /v1/watchlist/groupsGet watched groups
2022-06-20
- Update account balance interface
GET /v1/asset/accountResponse to increase the net assets (net_assets), initial margin (init_margin), maintenance margin (maintenance_margin) fields
- Update position interface
GET /v1/asset/stockSupport 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
- Long connection