Developer Tools · Data & Analytics

Longbridge MCP

Longbridge MCP lets agents access authorized market data, account information, portfolio data, trading operations, and investment workflows through Longbridge OpenAPI.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Grid suspend

    Suspend (pause) a running grid order by order_id. Resume with grid_restart. TWO-STEP CONFIRMATION IS MANDATORY: this tool is a DRY RUN unless you pass the confirmation_code its own dry run returned. Call it first without execute, show the returned preview to the user, and only call it again with execute="<confirmation_code>" after the user has explicitly confirmed it. The code is derived from the order itself, so it applies only to that exact request. Never quote it back on your own initiative.

  • Grid symbol info

    Pre-trade grid setup info for a security (takes a symbol, not an order_id): security name, last price, board lot sizes (buy/sell), price-step (bid_size) table, and channel/authorization info (strategy grant flag, RTH support, supported s...

  • Grid trigger history

    Trigger history for one grid order: each triggered child order with price, quantity, executed price/qty, and trigger time. Supports page/limit.

  • History candlesticks by date

    Get historical candlestick data by date range. Only symbol is required; period defaults to day (1m/5m/15m/30m/60m/day/week/month/year), forward_adjust to false, trade_sessions to all.

  • History candlesticks by offset

    Get historical candlestick data by offset from a reference time. Only symbol is required; period defaults to day (1m/5m/15m/30m/60m/day/week/month/year), count to 100, forward_adjust/forward to false, trade_sessions to all. If the account's entitlement caps out below the requested count, this returns as many candles as allowed instead of erroring — check the returned array length against count if an exact number matters.

  • History executions

    Get historical trade executions between dates. Returns executions[]{order_id, symbol, side, quantity, price, trade_done_at}. start_at/end_at in RFC3339.

  • History market temperature

    Get historical market temperature time series.

  • History orders

    Get historical orders between dates (excludes today). Returns orders[]{order_id, symbol, side, status, quantity, price, submitted_at}. start_at/end_at in RFC3339. US accounts only: us_page, us_limit paginate via a separate US order endpoint (default page size 20 — pass us_page to see more than the first page).

  • Industry peers

    Hierarchical sub-sector tree for an industry group. Accepts BK counter_id from industry_rank (e.g. BK/US/IN00258). Each node shows stock count, daily change, and YTD change.

  • Industry rank

    Industry ranking list by market (US/HK/CN/SG) and indicator (0=领涨/1=今日走势/2=人气/3=市值/4=营收/5=营收增长率/6=净利润/7=净利润增长率). sort_type: 0=单级 1=多层. Returns items[]{counter_id(BK/US/IN00258), name, chg, lists[]}. Pass counter_id directly to industry_peers.

  • Industry valuation

    Get industry valuation comparison for peers.

  • Industry valuation dist

    Get industry PE/PB/PS valuation distribution.

  • Institutional views

    Get monthly institutional rating distribution timeline.

  • Institution rating

    Get institution rating summary.

  • Institution rating detail

    Get detailed historical institution ratings and target price history.

  • Institution rating history

    Get institution rating history.

  • Institution rating industry rank

    Get peers ranked by institution analyst ratings in the same industry. Paginated.

  • Intraday

    Get intraday minute-by-minute price/volume data. trade_sessions: "intraday" (default, regular hours) or "all" (include pre-market and post-market)

  • Invest relation

    Get investor relations events and announcements.

  • Ipo calendar

    Show the IPO calendar.

PreviousPage 4 / 9Next