工具
Longbridge MCP 暴露 190+ 工具。客户端连接后会自动发现这些工具,AI 会根据每次请求自动选择合适的工具——你无需按名称调用。
实际可用工具因地区、账户等级与 OAuth 授权范围而异,Longbridge US 账户目前仅开放行情类工具。ChatGPT App 与 Claude 目录连接器不含交易工具,详见客户端接入。
可用工具
查询账户现金余额与资产概览,返回顶层数组 {currency, total_cash, net_assets, buy_power, max_finance_amount, remaining_finance_amount, risk_level, margin_call, init_margin, maintenance_margin, cash_infos[]{currency, available_cash, withdraw_cash, frozen_cash, settling_cash}}。美股账户返回同样的数组,只有账户币种一条:含 currency、total_cash、net_assets、buy_power、maintenance_margin 与 cash_infos[](以 settled_cash 代替 settling_cash);无 max_finance_amount、remaining_finance_amount、risk_level、margin_call、init_margin;美股购买力与保证金明细在 us{buy_limit_info, margin_status, cash_list[]} 下
参数
currencystring按币种代码筛选(如 `"USD"`、`"HKD"`),省略则返回所有币种
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取 A/H 两地上市港股标的(如 939.HK)的 A/H 股溢价历史,返回 {klines[]{timestamp, aprice, apreclose, hprice, hpreclose, currency_rate, ahpremium_rate}};ahpremium_rate 为比率(-0.27 表示 H 股较 A 股低 27%)时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
periodstringK 线周期:`1m`、`5m`、`15m`、`30m`、`60m`、`day`(默认)、`week`、`month`、`year`
countinteger返回的 K 线数量(默认 100)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取 A/H 两地上市港股标的(如 939.HK)当日逐分钟的 A/H 股溢价,返回 {klines[]{timestamp, aprice, hprice, ahpremium_rate, currency_rate}, apreclose, hpreclose};ahpremium_rate 为比率时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
新增价格预警,返回已创建的预警对象。condition:price_rise/price_fall(绝对价格)或 percent_rise/percent_fall(涨跌幅);frequency:once/daily/every
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
conditionstring必填预警条件:`price_rise`、`price_fall`、`percent_rise`、`percent_fall`
pricestring必填阈值价格或百分比数值
frequencystring预警频率:`once`(触发一次后停用)、`daily`(每日一次)、`every`(每次满足条件都触发)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 alert_id(来自 alert_list 的数字字符串)删除价格预警
参数
alert_idstring必填预警指标 id
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 alert_id 停用价格预警,返回 {alert_id, enabled: false}
参数
alert_idstring必填预警指标 id
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 alert_id 启用价格预警,返回 {alert_id, enabled: true}
参数
alert_idstring必填预警指标 id
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取所有已配置的价格预警,返回 {lists[]{symbol, name, market, price, chg, indicators[]{id, indicator_id, text(预警条件文字,如“价格涨到 250”), value_map{price}, frequency, enabled, state}}}
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取市场异动提醒(价量异常变动)。market: HK/US/CN/SG。symbol: 可选,筛选特定股票。count: 返回数量(默认 50,最多 100)。返回 {changes[]{id, symbol, name, alert_type, alert_name, alert_time, change_values[], emotion (1 看多 / 2 看空)}, all_off}。时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
marketstring必填市场代码:HK、US、CN、SG
symbolstring可选证券代码,如 AAPL.US 或 700.HK,筛选特定股票的异动
countinteger返回数量,默认 50,最多 100
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
当你尚未取得长桥凭据时使用(例如客户端无法完成浏览器 OAuth 流程)。用户在 https://open.longbridge.com/connect 生成一次性授权码并粘贴给你,将其作为 `auth_code` 传入。成功后服务端会返回访问令牌,请在后续请求中作为 Bearer 凭据使用,即可解锁全部工具。若你未授权且用户尚未提供授权码,请引导其前往 https://open.longbridge.com/connect 生成。
参数
auth_codestring必填用户在 https://open.longbridge.com/connect 生成的一次性 OAuth 授权码,5 分钟内有效且仅可使用一次。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
列出当前账户绑定的提款银行卡,返回 cards[]{id, bank_name, account_number(脱敏), currency, status}
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定证券的主要券商持仓变动(仅港股,数据来自港交所 CCASS 参与者披露)。period 参数选择统计窗口:近 1 日(默认)、5 日、20 日或 60 日。返回 {updated_at(披露日期,如 "2026.01.02"), buy[], sell[]}:窗口内净增持 / 净减持最多的参与者,每项 {name, parti_number, chg(持股净变动,卖方为负), strong}。将 parti_number 传给 broker_holding_daily 可获取单个参与者的每日历史。非港股标的返回空数组
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
periodstring时间窗口:`rct_1`(近 1 日,默认)、`rct_5`(近 5 日)、`rct_20`(近 20 日)、`rct_60`(近 60 日)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定券商(broker_id)对某证券的逐日持仓历史,返回 {list[]{date, holding(持股数), chg(较前一日变动), ratio(占已发行股份比例)}},最新在前
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
broker_idstring必填券商参与者编号
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定证券的券商持仓列表,按持股数从大到小(默认 50 家,更多用 count 指定;仅港股,数据来自港交所 CCASS 参与者披露)。返回 {updated_at(披露日期,如 "2026.01.02"), list[]{name, parti_number, shares{value, chg_1, chg_5, chg_20, chg_60}, ratio{value, chg_1, chg_5, chg_20, chg_60}, strong}}:持股数量及持股比例(ratio,如 "0.0108"),并各自给出近 1/5/20/60 日的变动。非港股标的返回空列表
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
countinteger返回的券商数量,持股最多的在前。默认 50(每条约 230 字节),一只股票可能有 400 多家
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取经纪商买卖盘队列(仅港股),返回 {bid_brokers[], ask_brokers[]},按价位由优到劣排列,每档 {position(从 1 开始), broker_ids[]}。数组可能为空。通过 participants 将经纪商 ID 映射为名称
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定证券当期主营业务分部营收构成,返回 {total, currency, report_txt, fp_start, fp_end, rpt_date, business: [{id, name, value, percent, yoy}], regionals: [结构相同;可能为空]}
参数
symbolstring必填证券代码,例如 `"AAPL.US"`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取主营业务分部营收历史趋势,返回 historical[]{date, total, currency, business[{name, percent, value}], regionals[{name, percent, value}]}
参数
symbolstring必填证券代码,例如 `"AAPL.US"`
reportstring报告期:`qf`(季报)、`saf`(中报)、`af`(年报)
catestringSegment category filter
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
批量计算证券的行情/财务指标(PE、PB、股息率、最新价、换手率等),传入 symbols 和 indexes 列表,返回各标的的指标值,每个标的一行,只含所请求的指标;该标的没有值的指标返回 null(000300.SH、HSI.HK 等市场指数没有 PeTtmRatio/PbRatio/DividendRatioTtm,可改查其成分股)。当请求希腊字母指标(Delta、Gamma、Theta、Vega、Rho)时,返回值已归一化:theta 为每日值(一天的时间损耗),vega 为隐含波动率每变动 1% 的价格变化,rho 为无风险利率每变动 1% 的价格变化。
参数
symbolsarray必填证券代码,例如 `["700.HK", "AAPL.US"]`
indexesarray待计算指标:`LastDone`、`ChangeValue`、`ChangeRate`、`Volume`、`Turnover`、`YtdChangeRate`、`TurnoverRate`、`TotalMarketValue`、`CapitalFlow`、`Amplitude`、`VolumeRatio`、`PeTtmRatio`、`PbRatio`、`DividendRatioTtm`、`FiveDayChangeRate`、`TenDayChangeRate`、`HalfYearChangeRate`、`FiveMinutesChangeRate`、`ExpiryDate`、`StrikePrice`、`UpperStrikePrice`、`LowerStrikePrice`、`OutstandingQty`、`OutstandingRatio`、`Premium`、`ItmOtm`、`ImpliedVolatility`、`WarrantDelta`、`CallPrice`、`ToCallPrice`、`EffectiveLeverage`、`LeverageRatio`、`ConversionRatio`、`BalancePoint`、`OpenInterest`、`Delta`、`Gamma`、`Theta`、`Vega`、`Rho`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 order_id 撤销未成交的委托,成功返回 "order cancelled";已成交或已撤销则报错。【必须两步确认】未传本次试运行返回的 confirmation_code 时,本工具为 DRY RUN(试运行):只校验并回显委托内容,不会发往交易所。请先不带 execute 调用一次,把返回的预览完整展示给用户,只有在用户明确确认这笔委托之后,才可再次调用并把该确认码传入 execute。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效。绝不可自行决定回填确认码,也不可在用户首次提出请求的同一轮就回填。试运行还会回显本次要撤销的委托,便于用户核对是否为目标订单。设为 is_attached=true 可按附加单自身的 order_id 单独撤销某个止盈/止损附加单;撤销母单则会连同其附加单一并撤销
参数
order_idstring必填委托单号
is_attachedboolean设为 true 表示按止盈/止损附加单自身的 order_id 撤销该附加单,母单保持不变;省略或传 false 表示撤销母单(其附加单会一并撤销)
executestring本次试运行返回的 confirmation_code。省略(默认)表示 DRY RUN:只校验并回显请求,同时返回一个三位确认码,不会发往交易所。必须先不带该参数调用一次,把预览展示给用户,待用户明确确认后才可再次调用并回填该码。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效——改动任何字段即失效。不可自行决定回填。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取 K 线数据(OHLCV)。period:1m/5m/15m/30m/60m/day/week/month/year;trade_sessions:intraday(默认,仅正常时段)或 all(含盘前盘后)。若账号权限上限低于请求的 count,会返回权限允许范围内尽量多的数据而不报错——如果需要精确数量,请检查返回数组的长度。时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码
periodstringK 线周期:`1m`、`5m`、`15m`、`30m`、`60m`、`day`、`week`、`month`、`year`
countintegerK 线数量(最多 1000)
forward_adjustboolean是否对拆股 / 派息进行前复权
trade_sessionsstring交易时段:`intraday`(仅常规时段)或 `all`(含盘前盘后)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取资金分布(大/中/小单流入流出),返回 {timestamp, capital_in{large, medium, small}, capital_out{large, medium, small}, data_available}。data_available 为 false 时表示该标的(如指数)没有资金流数据,此时其余字段仍会返回但都是无意义的零值时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取标的当日资金流入时间序列,返回顶层数组 {timestamp, inflow}时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查询资金流水记录(出入金、派息等),返回 顶层数组 {transaction_flow_name, direction(In/Out), business_type, balance(发生金额), currency, business_time, symbol, description}。上游的 direction 与 business_type 不可靠(恒为 Out / 0),请以 balance 的正负判断方向。美股账户返回同样的数组,但无 business_type(见 biz_code、biz_code_name);balance 为带符号金额(无资金变动时如加密货币转入转出为 0),direction 取其符号,为 0 时取数量符号(两者均为 0 时为 Unknown);另含 quantity、quantity_description、ref_no、equity_type;最多 2000 条,恰好 2000 条说明还有更多,请缩小时间范围。按时间倒序
参数
start_atstring必填起始时间:RFC3339(如 2026-09-01T00:00:00Z),或日期(yyyy-mm-dd,表示当天 UTC 0 点)
end_atstring必填结束时间:RFC3339(如 2026-09-30T23:59:59Z),或日期(yyyy-mm-dd,表示当天 UTC 结束)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取公司概况,返回全部为字符串的扁平对象:name、company_name、ticker、market、sector、category、region、founded、listing_date、employees、chairman、manager、website、address、profile 等。美股账户查询 `.US` 标的会得到美股专属变体 {intro, market_cap, ccy_symbol, top_rank_tags[], share_list[], detail_url}。区域由账户自动识别
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取未来各期的财务一致预期,返回 {currency, current_period, opt_periods, current_index, list: [{fiscal_year, fiscal_period, period_text, details: [{key(revenue/ebit/net_income/normalized_net_income/eps/normalized_eps), estimate, actual, is_released, comp, comp_value, comp_desc}]}], legend: {<key>: {name, description}}}。美股账户查询 `.US` 标的会得到美股专属变体(新增 ai_summary,各期字段不同)。区域由账户自动识别
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指数成份股或 ETF 资产分布。指数(如 HSI.HK、.DJI.US)返回 {total, rise_num, fall_num, flat_num, stocks[]{symbol, name, last_done, prev_close, chg, inflow, balance, amount, total_shares, circulating_shares, tags[]}}。ETF(如 QQQ.US、2800.HK)返回按 asset_type 分组的资产分布 info[]:1=Holdings(前几大成份,含 code、symbol、holding_detail)、2=Regional(国家/地区分布)、3=AssetClass(股票/债券/现金等资产类别)、4=Industry(行业分布)。每组含 report_date 与 lists[]{name, position_ratio, name_locales_map};Holdings 组额外含 code、symbol 及 holding_detail{industry_name, index_name, holding_type_name}
参数
symbolstring必填指数或 ETF 代码,例如 `"HSI.HK"`、`"QQQ.US"`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取证券的公司事件:财报日期、派息、拆股、回购、更名等。返回 items[]{id, date(YYYYMMDD), date_type, act_type, act_desc, action(类型代码,如 ReportDate、DividendExDate), recent, is_delay, delay_content, live};date_type / act_type / act_desc 为本地化文本,live 为关联的直播(如业绩电话会:{name, started_at, symbols[]})或 null
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
新建自选分组,返回 {id, name}。可选传入 securities(如 ["AAPL.US"])预填入证券
参数
namestring必填分组名称
securitiesarray要加入的证券代码,例如 `["700.HK", "AAPL.US"]`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
检查指定证券是否支持定投(DCA),返回 {infos[]{symbol, support_regular_saving(布尔值), regular_saving_plan_type}},每个查询的证券一条
参数
symbolsarray必填待检查的证券代码,例如 `["AAPL.US", "TSLA.US"]`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
创建定投(DCA)计划。frequency: Daily/Weekly/Monthly;周频对应 day_of_week(Mon–Fri),月频对应 day_of_month(1-28)
参数
symbolstring必填证券代码,例如 `"AAPL.US"`
amountstring必填每期投入金额,例如 `"100"`
frequencystring必填定投频率:`Daily`(每日)、`Weekly`(每周)、`Monthly`(每月)
day_of_weekstring周频时指定的周几:`Mon`、`Tue`、`Wed`、`Thu`、`Fri`
day_of_monthinteger月频时指定的日期(1-28)
allow_marginboolean是否允许使用融资(默认 `false`)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 plan_id 查询定投计划的扣款执行历史,返回 executions[]{date, quantity, amount, price, status, order_id}
参数
plan_idstring必填定投计划 ID
pageinteger页码(默认 1)
limitinteger每页条数(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
列出定投计划,可按状态(Active/Suspended/Finished)或证券筛选。返回 plans[]{plan_id, symbol, stock_name, market, status, per_invest_amount, invest_frequency, invest_day_of_week, invest_day_of_month, next_trd_date, cum_amount, cum_profit, average_cost, issue_number, …}。plan_id 可用于 dca_update / dca_pause / dca_resume / dca_stop
参数
statusstring按状态筛选:`Active`、`Suspended`、`Finished`,省略则返回全部
symbolstring按证券筛选,例如 `"AAPL.US"`,省略则返回全部计划
pageinteger页码(默认 1)
limitinteger每页条数(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 plan_id 暂停定投计划,计划停止执行直至恢复。返回上游 API 响应。使用 dca_resume 恢复
参数
plan_idstring必填定投计划 ID
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 plan_id 恢复已暂停的定投计划,按原有周期继续自动执行
参数
plan_idstring必填定投计划 ID
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取定投统计,返回 {total_amount, total_profit, active_count, suspended_count, finished_count, rest_days(距下次计划投资的天数), nearest_plans[](最近即将执行的计划,结构同 dca_list 的 plans[]), invested_markets[](市场代码,如 ["US"])}。金额与计数均为字符串
参数
symbolstring按证券筛选,例如 `"AAPL.US"`,省略则返回所有计划的合计统计
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 plan_id 永久终止定投计划,操作不可撤销。如需临时暂停请使用 dca_pause
参数
plan_idstring必填定投计划 ID
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 plan_id 更新定投计划,可修改 amount、frequency(Daily/Weekly/Monthly)、day_of_week(Mon-Fri)或 day_of_month(1-28)
参数
plan_idstring必填待更新的定投计划 ID
amountstring新的每期投入金额
frequencystring新的定投频率:`Daily`、`Weekly`、`Monthly`
day_of_weekstring周频时指定的周几:`Mon`、`Tue`、`Wed`、`Thu`、`Fri`
day_of_monthinteger月频时指定的日期(1-28)
allow_marginboolean是否允许使用融资
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按分组 id 删除自选分组。purge=true 时同时从其他分组中移除该分组包含的证券
参数
idinteger必填自选分组 id
purgeboolean必填是否同时从其他分组中清除这些证券
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取当前账户入款历史,返回 items[]{id, amount, currency, status, created_at, updated_at}。states:逗号分隔的状态(Pending/Finished/Failed);currencies:逗号分隔的货币代码
参数
pageinteger页码(默认 1)
sizeinteger每页条数(默认 20)
statesstring入款状态过滤(逗号分隔)
currenciesstring货币代码过滤(逗号分隔),例如 `"USD,HKD"`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取买卖盘深度(最多 10 档),返回 {bids[]{position, price, volume, order_num}, asks[]{position, price, volume, order_num}}
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取证券的派息历史,返回 {total, list: [{id, desc, counter_id, record_date, ex_date, payment_date}]};金额只在 desc 文本中。美股账户查询 `.US` 标的会得到美股专属变体(如 dividend_yield_ttm 为百分比数值:0.34 代表 0.34%)。区域由账户自动识别
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取详细派息分配方案,返回 list[]{desc, record_date, ex_date, payment_date},按时间由新到旧。desc 为本地化的可读方案文本(金额与币种写在文本中,可能含换行);没有单独的现金/股票金额字段
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
估算指定证券的最大可买/可卖数量,返回 {cash_max_qty, margin_max_qty}
参数
symbolstring必填证券代码
sidestring买卖方向:`Buy`(买入)或 `Sell`(卖出)
order_typestring委托类型:`LO`(限价单)/ `ELO`(增强限价单)/ `MO`(市价单)/ `AO`(竞价单)/ `ALO`(竞价限价单)
pricestring委托价格(限价类委托需要)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取美股 ETF 的监管/招募说明书文件(etf-files),返回 {files: [{file_name, file_path, update_date, code, format}]}。仅限美股账户;亚太账户调用会返回 DcRegionRestricted 错误
参数
symbolstring必填ETF代码,例如 `"SPY.US"`
limitinteger最多返回的文件数量,留空返回全部
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取 Longbridge 账户折算汇率(用于将资产折算为账户币种),覆盖全部支持币种,返回 {exchanges[]{base_currency, other_currency, average_rate}}:average_rate 为 1 单位 other_currency 折合的 base_currency(如 base USD、other HKD、0.12743 即 1 HKD = 0.12743 USD)。美股账户返回美股账户自身的汇率,结构相同,每个币种对一条(优先 reference 汇率,否则 am),spec_key 标明汇率类型。如需公开市场参考汇率或历史汇率,请用 fx_rate
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取公司高管及董事会成员信息,返回 professional_list[](每个证券一条){symbol, total, forward_url, professionals[]{id, name, title, biography, wiki_url}}
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取证券的监管文件(8-K、10-Q、10-K 等),返回顶层数组 {id, title, description, file_name, file_urls[], publish_at}
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按类别获取财经日历:report(财报)/ dividend(派息)/ split(拆股)/ ipo / macrodata(CPI、非农、利率)/ closed(休市日)。start、end(YYYY-MM-DD)均可选,默认为今天起 7 天。只关心某个市场时请务必传 market(如 US):不过滤市场的一周全市场财报数据达数百 KB,会被截断。返回 {list: [{date, infos: [{symbol, counter_name, market, content, type, date, datetime, date_type, data_kv: [{type, value, value_raw}], star(macrodata), currency, …}]}]},每天一条财报、宏观数据和休市日的 datetime 为所属市场当地时间(带时区偏移);分红、拆股和 IPO 条目仍为 UTC 日期。
参数
categorystring必填事件类别:`report`(财报,含财务报表)/ `dividend`(派息公告)/ `split`(拆股与反向拆股/合股)/ `ipo`(即将上市的 IPO)/ `macrodata`(宏观经济数据发布,如 CPI、非农、利率决议等)/ `closed`(市场休市日)
startstring起始日期(`yyyy-mm-dd`,含当日),可选,默认为今天(UTC)
endstring结束日期(`yyyy-mm-dd`,含当日),可选,默认为 `start` 之后 7 天
marketstring可选的市场过滤:HK、US、CN、SG、JP、UK、DE、AU,省略则包含所有市场
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取财务报告(利润表、资产负债表、现金流量表)。kind:IS/BS/CF/ALL;report_type:af(年报)、saf(半年报)、q1/q2/q3、qf(季报全量)。每个科目默认返回最近 8 期,更多用 periods 指定。返回 {report, list: {i_s|b_s|c_f: {indicators: [{title, currency, has_yoy, accounts: [{name, field, percent, tip, industry_ranking, values: [{year, period, fp_end, value, yoy, ratio}]}]}]}}}。美股账户在不传 kind 的情况下查询 `.US` 标的会路由到美股专属概览接口(is_list/bs_list/cf_list);显式传入 kind 时始终走通用接口
参数
symbolstring必填证券代码,例如 `"AAPL.US"`
kindstring报表种类:`IS`(利润表)、`BS`(资产负债表)、`CF`(现金流量表)、`ALL`(默认全部)
report_typestring报告期:`af`(年度)、`saf`(半年度)、`q1` / `q2` / `q3`(季度)、`qf`(季度全量)
periodsinteger每个科目返回的期数,最新在前。默认 8;上游最多约 46 期,一次放不下
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取美股标的的关键财务指标(fin-keyfactor)。report:af(年度,默认)、saf、qf、q1/q2/q3。返回 {currency, report, empty_fields, list: [{ff_year, ff_period, fp_end, report_txt, rpt_date, fields: [{field, name, value, yoy, …}]}]}。仅限美股账户;亚太账户调用会返回 DcRegionRestricted 错误
参数
symbolstring必填证券代码,例如 `"AAPL.US"`
reportstring报告期:`af`(年度,默认)、`saf`(半年度)、`qf`(季度全量)、`q1`/`q2`/`q3`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取证券最新一期财务报告摘要,返回 {report(报告期代码,如 "2026.H1"), report_txt(报告期名称), currency, indicators[]{field_name, indicator_name, indicator_value, yoy}},每个关键指标一条(营收、净利润、总资产、总负债、EPS、BPS、ROE、净利率),以 field_name 区分。比率类数值带 "%" 后缀;yoy 为小数(0.1627 = +16.27%),比率类为空
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取财报快照:report_desc(文字摘要)、fo_revenue/fo_ebit/fo_eps(实际 vs 预期,含 yoy/cmp)、fr_* 财务比率(ROE、利润率、资产、现金流)。report:qf/saf/af。返回扁平对象:name、ticker、market、currency、report、fiscal_year、fiscal_period、fp_start、fp_end、opt_reports、report_desc,fo_* 为 {value, yoy, …},fr_* 为纯字符串(比率)或 {value, yoy}(金额)
参数
symbolstring必填证券代码,例如 `"AAPL.US"`
reportstring报告期:`qf`(季报)、`saf`(半年报)、`af`(年报)
fiscal_yearinteger财年,例如 2024
fiscal_periodstring财期,例如 "1" "2" "3" "4"
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取证券财务报表(利润表、资产负债表或现金流量表)。kind(必填):IS/BS/CF,每次只取一张表,需要多张表请分别调用;report:af(年报,默认)、saf(半年报)、qf(季报全量)、q1/q2/q3;periods:返回的报告期数,最新在前(默认 8)。返回 {report, currency, empty_fields, list[]}:list[] 为各报告期(最新在前),每期含 fields[]{name, field, level, value, yoy} 明细科目(yoy 为同比,小数);无数据时可能为空。美股账户查询 `.US` 标的时会路由到美股专属报表接口(report 词汇与返回结构相同);其余证券/账户组合走通用接口
参数
symbolstring必填证券代码,例如 `"AAPL.US"`
kindstring必填报表类型(必填,每次一张):`IS`(利润表)、`BS`(资产负债表)、`CF`(现金流量表)
reportstring报告期:`af`(年报)、`saf`(半年报)、`qf`(季报)、`q1`/`q2`/`q3`
periodsinteger返回的报告期数,最新在前,默认 8
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取 EPS 预测历史,返回 items[],每个预测窗口一份分析师一致预期快照:{forecast_start_date, forecast_end_date, forecast_eps_mean, forecast_eps_median, forecast_eps_lowest, forecast_eps_highest, institution_total, institution_up, institution_down}。仅含预测,不含实际 EPS 或超预期幅度;预期与实际对比请用 consensus
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取基金一级分析(风险 / 收益概览)。counter_id 来自 fund_hot / fund_list;period 可选。返回 {visible, actual_period, updated_at, return_ability, risk_ability, cost_level, value_for_money},每个维度为 {visible, score_pct, level}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
periodinteger分析周期(服务端定义,如近 1 月 / 3 月 / 1 年),省略则用默认周期
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取基金二级分析(fund_analysis 背后的更细指标)。counter_id 来自 fund_hot / fund_list;period 可选。返回 fund_analysis 的结构外加 available_periods,且每个维度还带 items: [ … ](逐项指标明细)
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
periodinteger分析周期(服务端定义,如近 1 月 / 3 月 / 1 年),省略则用默认周期
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取基金逐年收益(分页)。counter_id 来自 fund_hot / fund_list;page / size 可选。
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
pageinteger页码(从 1 开始),省略取第一页
sizeinteger每页条数,省略用服务端默认
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 order_id 撤销基金委托。【必须两步确认】未传本次试运行返回的 confirmation_code 时为 DRY RUN(试运行):先不带 execute 调用一次,把返回的预览(会回显本次要撤销的委托)完整展示给用户,只有在用户明确确认这笔委托后才可再次调用并把该确认码传入 execute。需认证。order_id 来自 fund_orders。
参数
order_idinteger必填要撤销的基金订单 id(来自 fund_orders)
executestring本次试运行返回的 confirmation_code。省略(默认)表示 DRY RUN:只校验并回显请求,同时返回一个三位确认码,不会发往基金通道。必须先不带该参数调用一次,把预览展示给用户,待用户明确确认后才可再次调用并回填该码。确认码由订单本身推导而来,只对这一笔完全相同的请求生效——改动任何字段即失效。不可自行决定回填。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取单只基金的概况与关键数据。counter_id(如 UT/FD/HK0000384492)来自 fund_hot / fund_list。返回扁平对象:name、code、isin、currency、manager、asset_class_name、risk_level/risk_level_name、purchasable、redeemable、purchase_amount、manage_rate、purchase_rate、year_to_date_yield、profile、asset_allocation: {asset_type, report_date, lists: [{name, code, counter_id, position_ratio}]} 等
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取 fund_list 支持的筛选项(filter 对象结构与快捷筛选 id)。无参数。返回 {asset_class, company, currency, industry_category_name, risk_level},每项为选项列表,如 {key, value}
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取持有指定证券的基金及 ETF,返回 lists[]{symbol(基金代码), name, currency, position_ratio(所查股票在该基金中的权重,百分比), report_date}
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取基金前十大持仓。counter_id 来自 fund_hot / fund_list;scene 可选。返回 {report_date, weighting, holdings: [{name, holding_type, weighting, shares, market_value, share_change, share_change_percent, industry_name, country_name, …}]}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
sceneinteger持仓场景选择(服务端定义,如股票 / 债券分布),省略用默认
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取长桥基金频道的热销基金列表。每行包含供其他 fund_* 工具使用的基金 counter_id(如 UT/FD/HK0000384492)。无参数。返回顶层数组 {counter_id, name, currency, asset_class_name, risk_level_name, earning_rate, time_interval, purchase_amount, recommendation_text, fund_performances: [{date, last_done}], …}
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
浏览 / 筛选基金。可选 filter(来自 fund_filters 的对象)、quick_ids、time_interval。每行包含供其他 fund_* 工具使用的 counter_id。返回顶层数组 {counter_id, name, code, isin, currency, asset_class_name, risk_level_name, earning_rate, time_interval, unit_value, holding, purchase_amount, …}
参数
filter服务端定义的筛选对象(见 fund_filters),省略则不过滤
quick_idsarray快捷筛选 id(来自 fund_filters)
time_intervalarray每行包含的收益率时间区间(如 ["1m","1y"])
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取基金最新净值(NAV)。counter_id 来自 fund_hot / fund_list。返回顶层数组 {counter_id, counter_name, isin, currency, value, change, change_percent, date_format, last_update_time, …}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取基金历史净值序列(分页)。counter_id 来自 fund_hot / fund_list;page / size 可选。返回顶层数组 {value, change, change_percent, date_format, last_update_time, …}(行结构同 fund_nav)
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
pageinteger页码(从 1 开始),省略取第一页
sizeinteger每页条数,省略用服务端默认
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按相对时间区间获取基金历史净值。counter_id 来自 fund_hot / fund_list;设置 month_before 或 year_before。返回顶层数组 {value, change, change_percent, date_format, last_update_time, …}(行结构同 fund_nav)
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
month_beforeinteger距今月数,与 year_before 互补,省略用默认区间
year_beforeinteger距今年数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 order_id(来自 fund_orders)获取单笔基金订单详情。需认证。返回 {order: {id, counter_id, fund_name, action, state, state_desc, amount, units, net_worth, fee, currency, created_at, …}, stages: [{stage, desc, progress, …}], keywords: [{title, content, …}]}
参数
order_idinteger必填基金订单 id(来自 fund_orders)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取用户的基金订单 / 成交记录。需认证。可选 counter_ids、actions、states、currency、start / end(Unix 秒)、page / size。返回顶层数组 {id, counter_id, fund_name, action, state, state_desc, amount, units, net_worth, currency, created_at, is_auto, product_type}
参数
counter_idsarray按基金 counter_id 过滤,省略则全部
actionsstring按操作过滤,逗号分隔(如 buy,sell),省略则全部
statesstring按订单状态过滤,逗号分隔,省略则全部
currencystring币种过滤(如 HKD、USD),省略则全部
startinteger起始时间(Unix 秒),省略用默认区间
endinteger结束时间(Unix 秒)
pageinteger页码(从 1 开始),省略取第一页
sizeinteger每页条数,省略用服务端默认
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取基金每日表现数据。counter_id 来自 fund_hot / fund_list。返回顶层数组 {counter_id, fund_name, performance_return_<period>, performance_rank_<period>, performance_total_<period>(period:one_day … ten_years、ytd), annualized_return_<one…ten>, seven_days_annualized, update_time, …}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
将基金业绩与基准 / 同类对比。counter_id 来自 fund_hot / fund_list;period 可选。返回 {fund_performances: [ … ], contrast_performances: [{name, performances: [ … ]}]}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
periodinteger分析周期(服务端定义,如近 1 月 / 3 月 / 1 年),省略则用默认周期
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取单只持有基金的持仓详情。需认证。counter_id 来自 fund_position_overview / fund_hot / fund_list;start / end(YYYY-MM-DD)可选。返回 {detail_values: {currency, holding_units, holding_value, holding_cost, holding_profit, holding_profit_rate, recent_profit, recent_unit_value, pending_buy_value, pending_sell_value, …}, sum_profit: [{date, value}], ut_value: [{date, unit_value, total_value, day_increase_rate}]}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
startstring起始日期(yyyy-mm-dd),省略用默认区间
endstring结束日期(yyyy-mm-dd)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取持有基金的分红记录(分页)。需认证。counter_id 来自 fund_position_overview;currency、start / end(Unix 秒)、page / size 可选。返回 {currency, total_div_cash, lastest_date, div_cash_infos: [{counter_id, name, amount, currency, date, div_method}]}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
currencystring币种过滤(如 HKD、USD),省略则全部
startinteger起始时间(Unix 秒),省略用默认区间
endinteger结束时间(Unix 秒)
pageinteger页码(从 1 开始),省略取第一页
sizeinteger每页条数,省略用服务端默认
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按相对区间获取持有基金的净值历史。需认证。counter_id 来自 fund_position_overview;设置 month_before 或 year_before。返回顶层数组 {counter_id, counter_name, value, change, change_percent, last_update_time}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
month_beforeinteger距今月数,与 year_before 互补,省略用默认区间
year_beforeinteger距今年数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取登录用户的基金持仓总览(全部持有基金)。需已认证 token。无参数。返回 {account_channel, recent_trading_day, pending_buy_orders, sold_pending_credit_orders, list: [{counter_id, name, currency, holding_units, amount, holding_profit, recent_profit, …}]}
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取持有基金的表现数据。需认证。counter_id 来自 fund_position_overview / fund_hot / fund_list。返回顶层数组 {counter_id, fund_name, performance_return_<period>(one_day … ten_years、ytd), annualized_return_<one…ten>, update_time}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取持有基金的累计收益明细(分页)。需认证。counter_id 来自 fund_position_overview;start / end(YYYY-MM-DD)、page / size 可选。返回 {currency, sum_profit, last_update_time, history_value: [{date, value}]}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
startstring起始日期(yyyy-mm-dd),省略用默认区间
endstring结束日期(yyyy-mm-dd)
pageinteger页码(从 1 开始),省略取第一页
sizeinteger每页条数,省略用服务端默认
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查询当前基金持仓,返回 list[].fund_info[]{counter_id, symbol_name, currency, holding_units, current_net_asset_value, cost_net_asset_value, net_asset_value_day}。counter_id 为基金 id(如 UT/FD/HK0000384492),其最后一个 / 后的字段即 ISIN。
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取基金逐季收益(分页)。counter_id 来自 fund_hot / fund_list;page / size 可选。
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
pageinteger页码(从 1 开始),省略取第一页
sizeinteger每页条数,省略用服务端默认
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
反查基金持有的个股。counter_id 来自 fund_hot / fund_list;limit 可选。返回顶层数组 {counter_id, code, name, currency, position_ratio, report_date}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
limitinteger返回个股数量上限,省略用服务端默认
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
提交基金买卖委托。【必须两步确认】未传本次试运行返回的 confirmation_code 时为 DRY RUN(试运行):先不带 execute 调用一次,把预览完整展示给用户,只有在用户明确确认后才可再次调用并把该确认码传入 execute。需认证。counter_id 来自 fund_hot / fund_list;action 为 buy 或 sell;currency 如 HKD/USD;amount(投入现金)与 units(卖出份额)二选一;is_sell_all=true 全部赎回。可先用 fund_validate_order 做安全的下单前校验。
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
actionstring必填委托方向:buy(买入)或 sell(卖出)
currencystring必填委托币种,如 HKD、USD
amountstring申购金额(投入现金)。按金额买入时使用;与 units 互斥
unitsstring赎回份额(卖出份额)。按份额卖出/买入时使用;与 amount 互斥
dividend_optioninteger分红方式(服务端定义,如红利再投或现金派发)
feestring费用金额,省略用服务端默认
is_sell_allboolean是否全部卖出;用于全额赎回,会覆盖 units
remarkstring委托备注
trade_methodinteger交易方式选择(服务端定义),省略用默认
executestring本次试运行返回的 confirmation_code。省略(默认)表示 DRY RUN:只校验并回显请求,同时返回一个三位确认码,不会发往基金通道。必须先不带该参数调用一次,把预览展示给用户,待用户明确确认后才可再次调用并回填该码。确认码由订单本身推导而来,只对这一笔完全相同的请求生效——改动任何字段即失效。不可自行决定回填。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取用户的基金资金变动记录。需认证。可选 business_type、category、currencies、start / end(Unix 秒)、page / size。返回顶层数组 {type_name, tx_type, category, description, amount, currency, stock_quantity, quantity_description, ref_no, created_at, done_at, …}
参数
business_typestring业务类型过滤(服务端定义),省略则全部
categorystring类别过滤(服务端定义),省略则全部
currenciesstring币种过滤,逗号分隔(如 HKD,USD),省略则全部
startinteger起始时间(Unix 秒),省略用默认区间
endinteger结束时间(Unix 秒)
pageinteger页码(从 1 开始),省略取第一页
sizeinteger每页条数,默认 20
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取基金走势图数据。counter_id 来自 fund_hot / fund_list;period 可选。返回 {actual_period, available_periods, fund_performances: [ … ], category_average_performances: [ … ], contrast_performances: {benchmark_name, performances: [ … ]} 或 null}
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
periodinteger分析周期(服务端定义,如近 1 月 / 3 月 / 1 年),省略则用默认周期
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
对基金买卖委托做下单前校验。不会下单,只把请求发到基金通道做检查并返回校验结果(费用、限额、预估份额/金额)。需认证。counter_id 来自 fund_hot / fund_list;action 为 buy 或 sell;currency 如 HKD/USD;amount(现金)与 units(份额)二选一。
参数
counter_idstring必填基金 counter_id(如 UT/FD/HK0000384492),来自 fund_hot / fund_list
actionstring必填委托方向:buy(买入)或 sell(卖出)
currencystring必填委托币种,如 HKD、USD
amountstring申购金额(投入现金)。按金额买入时使用;与 units 互斥
unitsstring赎回份额(卖出份额)。按份额卖出/买入时使用;与 amount 互斥
dividend_optioninteger分红方式(服务端定义,如红利再投或现金派发)
fund_sourceinteger资金来源选择(服务端定义),省略用默认
account_channelstring账户通道(服务端定义),省略用默认
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
欧洲央行(ECB)公开外汇参考汇率(经 Frankfurter):每个工作日一个汇率,非实时、不可成交,无买卖价。默认返回最新汇率,也可查历史某日或逐日序列。返回 {base, date, rates{币种代码: 汇率}, source};序列的 rates 按 yyyy-mm-dd 分组。汇率为 1 单位 base 折合的该币种数量(base USD 时 HKD 7.8472),与 exchange_rate 方向相反;查交叉汇率请直接设置 base,不要相除。引用汇率时请注明 date:它是发布日,可能早于今天
参数
basestring基准货币,ISO 4217 代码(默认 `"USD"`)。汇率为 1 单位基准货币折合的各报价货币数量
currenciesarray报价货币,ISO 4217 代码,例如 `["HKD", "CNY"]`(不是 "700.HK" 这类证券代码)。不传则返回全部 30 种支持币种。传 `start` 时必填,最多 5 个。不含 CNH、TWD 及加密货币
datestring历史日期(`yyyy-mm-dd`,自 1999-01-04 起)。返回当天公布的汇率,非工作日取此前最近一个工作日。不可与 `start`/`end` 同时使用
startstring序列起始日期(`yyyy-mm-dd`),返回 `start` 至 `end` 之间每个工作日一条
endstring序列结束日期(`yyyy-mm-dd`,默认最新),仅在传 `start` 时有效;跨度不超过 366 天
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
识别本连接登录的 Longbridge 交易账户(访问令牌绑定的那一个账户,而非用户名下全部账户)。无参数。返回 {id, nickname, email, dc_region(AP|US), account_no, member_id}:id 为账户的稳定标识(即 aaid),nickname 为可读名称(如 "Longbridge Securities Account H11701971"),email 恒为空;令牌未带账户号时 account_no 为 null
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 order_id 取消(终止)网格订单。【必须两步确认】未传本次试运行返回的 confirmation_code 时,本工具为 DRY RUN(试运行):只校验并回显请求内容,不会发往交易所。请先不带 execute 调用一次,把返回的预览完整展示给用户,只有在用户明确确认之后,才可再次调用并把该确认码传入 execute。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效。绝不可自行决定回填确认码
参数
order_idstring必填网格订单号
executestring本次试运行返回的 confirmation_code。省略(默认)表示 DRY RUN:只校验并回显请求,同时返回一个三位确认码,不会发往交易所。必须先不带该参数调用一次,把预览展示给用户,待用户明确确认后才可再次调用并回填该码。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效——改动任何字段即失效。不可自行决定回填。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
单个网格订单的完整详情:规则参数、状态、内嵌的子订单(grid_sub_orders)与生命周期历史(grid_order_history)。支持 history_id 游标与 limit 分页。返回 {order_id, symbol, stock_name, status, grid_status, suspend_reason, submitted_base_price, current_base_price, upper_limit_price, lower_limit_price, trigger_* 规则字段, settlement_currency, expire_time, …, grid_sub_orders: [{id, price, quantity, executed_qty, action, status, submitted_at, …}], sub_has_more, grid_order_history: [{history_id, status, reason, created_at, …}], history_has_more}
参数
order_idstring必填网格订单号
history_idstring历史游标,用于翻页内嵌的触发历史
limitinteger内嵌子订单 / 历史列表的每页数量
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
列出网格交易订单。可按标的或逗号分隔的状态(如 "Performing,Suspended")筛选,支持分页与排序。返回 grid_order[] 摘要与 has_more。
参数
symbolstring证券代码,例如 "700.HK"
statusstring逗号分隔的状态筛选,如 "Performing,Suspended"
pageinteger页码(默认 1)
limitinteger每页数量(默认 20)
sort_bystring排序字段(如 "created_at")
sort_orderstring排序方向("asc"/"desc")
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按订单 ID 批量获取网格订单,返回 grid_orders[] 摘要。
参数
order_idsarray必填网格订单号数组,例如 ["123","456"]
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 order_id 修改网格订单规则,规则字段同 grid_submit。【必须两步确认】未传本次试运行返回的 confirmation_code 时,本工具为 DRY RUN(试运行):只校验并回显请求内容,不会发往交易所。请先不带 execute 调用一次,把返回的预览完整展示给用户,只有在用户明确确认之后,才可再次调用并把该确认码传入 execute。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效。绝不可自行决定回填确认码。试运行会回显将要替换当前规则的新规则
参数
order_idstring必填网格订单号
submitted_base_pricestring基准价(网格锚定价,小数字符串)
upper_limit_pricestring上限价(小数字符串)
lower_limit_pricestring下限价(小数字符串)
trigger_price_typeinteger触发方式:1=价差,2=百分比
trigger_spread_upstring向上触发价差(绝对值,配 type=1,小数字符串)
trigger_spread_downstring向下触发价差(绝对值,配 type=1,小数字符串)
trigger_percent_upstring向上触发百分比(配 type=2,小数字符串)
trigger_percent_downstring向下触发百分比(配 type=2,小数字符串)
multiple_triggerboolean同一网格是否允许多次触发
time_in_forceinteger有效期:0=当日,1=GTC,6=GTD
upper_limit_quantitystring触及上限时处理的数量(小数字符串)
lower_limit_quantitystring触及下限时处理的数量(小数字符串)
expire_timeinteger到期时间(unix 秒,配 GTD)
upper_limit_eventinteger触及上限时的动作:1=忽略(继续运行),2=按最新价平仓
lower_limit_eventinteger触及下限时的动作:1=忽略(继续运行),2=按最新价平仓
trigger_sell_depthinteger卖方盘口深度(-5..5,0=用 grid_order_type_up)
trigger_buy_depthinteger买方盘口深度(-5..5,0=用 grid_order_type_down)
trigger_quantitystring每次触发数量(小数字符串)
support_shortsellboolean是否允许融券卖出
rthinteger盘中交易时段标志:0/1/2
grid_order_type_upstring深度为 0 时的卖方订单类型:GMO/GLO/GTG
grid_order_type_downstring深度为 0 时的买方订单类型:GMO/GLO/GTG
executestring本次试运行返回的 confirmation_code。省略(默认)表示 DRY RUN:只校验并回显请求,同时返回一个三位确认码,不会发往交易所。必须先不带该参数调用一次,把预览展示给用户,待用户明确确认后才可再次调用并回填该码。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效——改动任何字段即失效。不可自行决定回填。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 order_id 恢复已暂停的网格订单。【必须两步确认】未传本次试运行返回的 confirmation_code 时,本工具为 DRY RUN(试运行):只校验并回显请求内容,不会发往交易所。请先不带 execute 调用一次,把返回的预览完整展示给用户,只有在用户明确确认之后,才可再次调用并把该确认码传入 execute。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效。绝不可自行决定回填确认码。重启后网格会重新自行持续下单
参数
order_idstring必填网格订单号
executestring本次试运行返回的 confirmation_code。省略(默认)表示 DRY RUN:只校验并回显请求,同时返回一个三位确认码,不会发往交易所。必须先不带该参数调用一次,把预览展示给用户,待用户明确确认后才可再次调用并回填该码。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效——改动任何字段即失效。不可自行决定回填。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
提交网格交易订单。需提供 symbol、settlement_currency 及网格规则:基准价/上限价/下限价、trigger_price_type(1=价差,2=百分比)及对应的价差/百分比上下沿、trigger_quantity、上下限数量、time_in_force(0=当日,1=GTC,6=GTD)、grid_order_type_up/down(GMO/GLO/GTG)、边界事件(1=忽略,2=按最新价平仓)。价格/数量为字符串。【必须两步确认】未传本次试运行返回的 confirmation_code 时,本工具为 DRY RUN(试运行):只校验并回显请求内容,不会发往交易所。请先不带 execute 调用一次,把返回的预览完整展示给用户,只有在用户明确确认之后,才可再次调用并把该确认码传入 execute。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效。绝不可自行决定回填确认码。网格一旦生效会自行持续交易
参数
symbolstring必填证券代码,例如 "700.HK"
settlement_currencystring必填结算货币,例如 "HKD"
submitted_base_pricestring基准价(网格锚定价,小数字符串)
upper_limit_pricestring上限价(小数字符串)
lower_limit_pricestring下限价(小数字符串)
trigger_price_typeinteger触发方式:1=价差,2=百分比
trigger_spread_upstring向上触发价差(绝对值,配 type=1,小数字符串)
trigger_spread_downstring向下触发价差(绝对值,配 type=1,小数字符串)
trigger_percent_upstring向上触发百分比(配 type=2,小数字符串)
trigger_percent_downstring向下触发百分比(配 type=2,小数字符串)
multiple_triggerboolean同一网格是否允许多次触发
time_in_forceinteger有效期:0=当日,1=GTC,6=GTD
upper_limit_quantitystring触及上限时处理的数量(小数字符串)
lower_limit_quantitystring触及下限时处理的数量(小数字符串)
expire_timeinteger到期时间(unix 秒,配 GTD)
upper_limit_eventinteger触及上限时的动作:1=忽略(继续运行),2=按最新价平仓
lower_limit_eventinteger触及下限时的动作:1=忽略(继续运行),2=按最新价平仓
trigger_sell_depthinteger卖方盘口深度(-5..5,0=用 grid_order_type_up)
trigger_buy_depthinteger买方盘口深度(-5..5,0=用 grid_order_type_down)
trigger_quantitystring每次触发数量(小数字符串)
support_shortsellboolean是否允许融券卖出
rthinteger盘中交易时段标志:0/1/2
grid_order_type_upstring深度为 0 时的卖方订单类型:GMO/GLO/GTG
grid_order_type_downstring深度为 0 时的买方订单类型:GMO/GLO/GTG
executestring本次试运行返回的 confirmation_code。省略(默认)表示 DRY RUN:只校验并回显请求,同时返回一个三位确认码,不会发往交易所。必须先不带该参数调用一次,把预览展示给用户,待用户明确确认后才可再次调用并回填该码。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效——改动任何字段即失效。不可自行决定回填。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 order_id 暂停运行中的网格订单,可用 grid_restart 恢复。【必须两步确认】未传本次试运行返回的 confirmation_code 时,本工具为 DRY RUN(试运行):只校验并回显请求内容,不会发往交易所。请先不带 execute 调用一次,把返回的预览完整展示给用户,只有在用户明确确认之后,才可再次调用并把该确认码传入 execute。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效。绝不可自行决定回填确认码
参数
order_idstring必填网格订单号
executestring本次试运行返回的 confirmation_code。省略(默认)表示 DRY RUN:只校验并回显请求,同时返回一个三位确认码,不会发往交易所。必须先不带该参数调用一次,把预览展示给用户,待用户明确确认后才可再次调用并回填该码。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效——改动任何字段即失效。不可自行决定回填。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取某证券网格下单前的设置信息(入参为 symbol,而非 order_id):证券名称、最新价、买/卖每手股数、价格档位(bid_size)表,以及渠道/授权信息(策略授权标志、是否支持 RTH、支持的结算货币)。在 grid_submit 之前调用以了解该标的的网格约束。返回 {name, last_done, lot_size, buy_lot_size, sell_lot_size, bid_sizes: [{str_proceed, end_proceed, bid_size}], channel_info: {strategy_granted, support_rth, currency, settlement_currency: [ … ]}}
参数
symbolstring必填证券代码,例如 "700.HK"
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
单个网格订单的触发历史:每笔被触发的子订单及其价格、数量、成交价/成交数量与触发时间。支持 page/limit。返回 {trigger_orders: [{id, symbol, status, action, price, quantity, executed_price, executed_qty, trigger_price, trigger_at, …}], has_more}
参数
order_idstring必填网格订单号
pageinteger页码(默认 1)
limitinteger每页数量(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按日期区间获取历史 K 线数据。仅 symbol 必填(不传 start/end 时返回最近 100 根 K 线 —— 需要特定区间请传 start/end);period 默认 day(1m/5m/15m/30m/60m/day/week/month/year),forward_adjust 默认 false,trade_sessions 默认 all。返回顶层数组 {timestamp, open, high, low, close, volume, turnover, trade_session}时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
periodstringK 线周期:`1m`、`5m`、`15m`、`30m`、`60m`、`day`、`week`、`month`、`year`(默认 `day`)
forward_adjustboolean是否对拆股 / 派息进行前复权(默认 `false`,不复权)
startstring起始日期(`yyyy-mm-dd`),可选
endstring结束日期(`yyyy-mm-dd`),可选
trade_sessionsstring交易时段:`intraday`(仅常规时段)或 `all`(含盘前盘后,默认)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
以参考时间为锚点按偏移量获取历史 K 线(OHLCV)数据。仅 symbol 必填,period 默认 day、count 默认 100、forward_adjust 与 forward 默认 false、trade_sessions 默认 all。若账号权限上限低于请求的 count,会返回权限允许范围内尽量多的数据而不报错——如果需要精确数量,请检查返回数组的长度。时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码
periodstringK 线周期:`1m`、`5m`、`15m`、`30m`、`60m`、`day`、`week`、`month`、`year`(默认 `day`)
forward_adjustboolean是否对拆股 / 派息进行前复权(默认 `false`,不复权)
forwardboolean查询方向:`true` 向后(向未来),`false` 向前(向过去,默认)
timestring参考时间(`yyyy-mm-ddTHH:MM:SS`),省略则以最新时间为起点
countintegerK 线数量(最多 1000,默认 100)
trade_sessionsstring交易时段:`intraday`(仅常规时段)或 `all`(含盘前盘后,默认)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定日期区间内的全部成交记录,自动翻页返回完整结果(不受每页 1000 条上限截断)。返回顶层数组 {order_id, trade_id, symbol, side, quantity, price, trade_done_at};trade_id 为稳定去重键;side 无法确定时为 "Unknown"(美股账户:未能解析所属委托的方向,可调用 order_detail(order_id) 获取)。start_at/end_at 为 RFC3339 格式,或只传日期(yyyy-mm-dd)按 UTC 当天解读(美股账户按纽约时间 EST/EDT,与 history_orders 一致)。亚太账户按成交时间(trade_done_at)筛选。美股账户读取 v1 历史成交,不按成交时间筛选,区间边缘可能跨日滞后:请将区间前后各放宽一天,再按 trade_done_at 自行筛选;side 由账户在该区间内的委托及委托详情补全
参数
symbolstring按证券筛选(可选)
start_atstring必填起始时间:RFC3339(如 2026-09-01T00:00:00Z),或日期(yyyy-mm-dd,表示当天 UTC 0 点;美股账户按纽约时间)
end_atstring必填结束时间:RFC3339(如 2026-09-30T23:59:59Z),或日期(yyyy-mm-dd,表示当天 UTC 结束;美股账户按纽约时间)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定市场在日期区间内的市场温度历史时间序列(每次调用最多 3 年)。返回 {type, list[]{temperature, valuation, sentiment, timestamp}}时间戳为所属市场的当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
marketstring必填市场代码:HK、US、CN、SG
startstring必填起始日期(`yyyy-mm-dd`)
endstring必填结束日期(`yyyy-mm-dd`)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查询指定日期区间内的历史委托(AP 账户不含当日),返回 orders[]{order_id, symbol, side, status, quantity, price, submitted_at}。美股账户返回与 today_orders 美股版相同的数组和字段;start_at/end_at 只传日期(yyyy-mm-dd)时按纽约时间(EST/EDT)而非 UTC 解读;区间按原样查询,覆盖当日时也包含当日委托;默认返回区间内全部委托(最多 500 条),传 us_page/us_limit 则只返回该页。today_orders 美股版的窗口从前一日纽约时间 20:00 开始,因此昨日 20:00 ET 起的委托会同时出现在截至昨日的区间和 today_orders 中,合并时请按 order_id 去重
参数
symbolstring按证券筛选(可选)
start_atstring必填起始时间:RFC3339(如 2026-09-01T00:00:00Z),或日期(yyyy-mm-dd,表示当天 UTC 0 点;美股账户按纽约时间)
end_atstring必填结束时间:RFC3339(如 2026-09-30T23:59:59Z),或日期(yyyy-mm-dd,表示当天 UTC 结束;美股账户按纽约时间)
us_pageinteger仅限美股账户:只返回该页(默认返回全部页,最多 500 条)。亚太账户忽略(区域由账户自动识别,无需传入)
us_limitinteger仅限美股账户:配合 us_page 分页时的每页数量(默认 50)。亚太账户忽略
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取行业分组的层级同业树,接受来自 industry_rank 的行业 symbol(如 IN00258.US),返回 chain{name, symbol, code, industry_id, sharelist_id, stock_num, chg, ytd_chg, next[...]} 和 top{name, industry_id}
参数
symbolstring必填来自 industry_rank 的行业 symbol,例如 `"IN00258.US"`;也接受 BK counter_id 形式(`"BK/US/IN00258"`)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按市场(US/HK/CN/SG)和指标排列行业。indicator:0=领涨 1=今日走势 2=人气 3=市值 4=营收 5=营收增长率 6=净利润 7=净利润增长率。sort_type:0=单级 1=多层。返回 items[]{symbol(如 IN00258.US), name, chg, lists[]},可将某行的 symbol 直接传入 industry_peers
参数
marketstring必填市场代码:US、HK、CN、SG
indicatorstring排列指标:0=领涨、1=今日走势、2=人气、3=市值、4=营收、5=营收增长率、6=净利润、7=净利润增长率
limitstringNumber of results to return (default: returns all)
sort_typestring排序类型:0=单级、1=多层
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取同行业可比公司的估值对比,返回 list[]{symbol, name, market, currency, price_close, market_value, pe, pb, ps, div_yld(股息率,%), roe, roa, net_margin, eps, bps, dps, div_payout_ratio, net_income, …, history[]{date, pe, pb, ps}}时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取行业 PE/PB/PS 估值分布,查看个股在所属行业中的位置。返回 {pe, pb, ps},每项为 {low, median, high, value(个股当前值), ranking(在行业内的百分位,0-1), rank_index, rank_total}
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取机构评级汇总,返回 analyst{evaluate{buy, over, hold, under, sell, no_opinion, total}, target{highest_price, lowest_price, prev_close}, industry_name, industry_rank, industry_total} 及 instratings{recommend(一致评级), target(一致平均目标价), change(目标价相对现价的上涨空间,%), updated_at}。若两个上游调用之一失败,仍会返回另一半数据,并通过 warnings[] 说明缺失的部分
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取历史评级分布与一致目标价历史,返回 evaluate.list[]{date, strong_buy, buy, hold, under, sell}(每个快照的评级家数)、target{updated_at, prediction_accuracy, list[]{date, timestamp, price, avg_target, min_target, max_target, meet}}(一致目标价区间与股价对比)以及 ccy_symbol。为跨分析师的汇总数据,不含按机构或分析师的明细行
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取机构评级历史,返回 target_history[]{timestamp, close, high_target_price, low_target_price}(分析师目标价区间与收盘价对比)及 evaluate_history[]{start_date, end_date, buy, over, hold, under, sell, no_opinion}(评级家数;连续相同的分布会合并为一个区间)。时间为字符串形式的 Unix 秒级时间戳。仅为汇总家数,不含按机构的评级或目标价变动
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取同行业各证券按机构分析师评级的排名,返回 {industry_name, industry_rank(所查股票的排名), industry_total, industry_mean, industry_median, items[]{rank, symbol, name, buy, over, hold, under, sell, no_opinion, total}}。支持分页
参数
symbolstring必填证券代码,例如 `"AAPL.US"`
pageinteger页码(默认 1)
sizeinteger每页条数(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取机构评级月度分布时序,返回 {elist[]{date, buy, over(跑赢), hold, under(跑输), sell, no_opinion, total}, tlist[]{date, close, high_price, low_price}},从旧到新,用于评级趋势分析时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"AAPL.US"`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取分时(逐分钟)价格/成交量数据。trade_sessions:"intraday"(默认,仅常规时段)或 "all"(含盘前盘后)。返回顶层数组 {timestamp, price, avg_price, volume, turnover}时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
trade_sessionsstring包含的交易时段:`intraday`(默认,仅常规时段)或 `all`(含盘前盘后)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取该证券所属公司持股的上市公司(投资关系,而非投资者关系活动)。返回 invest_securities[]{company_name, symbol, currency, percent_of_shares(持股比例,%), shares_value(持股市值), shares_rank} 及 forward_url。公司没有持有上市公司股份时为空
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
显示 IPO 日历,返回 {sub_num, win_num, preipo_num, ipo_num, timestamp, list[]{symbol, code, name, sub_date, sub_end_date, result_date, ipo_date, mart_date, state, state_stage, tags}},含即将上市及近期已上市的 IPO
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查看 IPO 详情,返回 {symbol, market, profile{name, profile(业务简介), industry, issue_price, offer_price_min, offer_price_max, issue_currency, trade_unit(每手股数), ipo_date(上市日期), mart_begin/mart_end(港股暗盘时段), sponsor, underwriter, prospectus, …}, timeline{steps[]{event, time, reached}, pay_end_date, tags}}。日期为交易所当地时间(港股 +08:00,美股为美东时区);reached 表示该步骤已经过去。当前是否可认购请用 ipo_subscriptions 查询
参数
symbolstring必填证券代码,例如 `"6871.HK"` 或 `"ARM.US"`
marketstring市场:`HK` 或 `US`(默认根据代码后缀推断)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
列出港股和美股近期已上市的 IPO,返回 {hk, us},各为 {total, list[]{symbol, code, name, description, ipo_date, listed_day, issue_price, prev_close, last_done, ipo_change, amount, …}}。若某个市场的列表获取失败,另一个市场照常返回,失败的市场为 null,并在 unavailable{<市场>: 原因} 中说明;请告诉用户该市场暂时不可用,不要说成需要重新授权
参数
pageinteger页码(默认 1)
sizeinteger每页条数(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 order_id 查看 IPO 订单详细信息,返回 {order_id, symbol, market, quantity, allotted_quantity, total_amount, status, submitted_at}
参数
order_idstring必填IPO 订单 ID
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
列出当前账户的 IPO 订单(有效和历史),返回 orders[]{order_id, symbol, market, quantity, total_amount, status, submitted_at},可按 symbol/market/status 过滤
参数
symbolstring按证券代码过滤,例如 `"6871.HK"`
marketstring按市场过滤:`HK` 或 `US`
statusstring按订单状态过滤
pageinteger页码(默认 1)
sizeinteger每页条数(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查看账户 IPO 打新盈亏汇总及逐笔明细,返回 {total_cost, total_value, total_return, items[]{symbol, cost, current_value, return_rate}}。period:all/ytd/1y/3y
参数
periodstring时间范围:`all`(全部,默认)、`ytd`(今年)、`1y`(近一年)、`3y`(近三年)
pageinteger页码(默认 1)
sizeinteger每页条数(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
列出港股和美股当前处于认购/预申请阶段的 IPO,返回 {hk, us},各为 {list[]{symbol, code, name, issue_price, entrance_fee, min_sub_num, sub_end_date, remaining_day, share_planned, state, …}}。若某个市场的列表获取失败,另一个市场照常返回,失败的市场为 null,并在 unavailable{<市场>: 原因} 中说明;请告诉用户该市场暂时不可用,不要说成需要重新授权
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取单个宏观经济指标的历史观测值。indicator_code 来自 macrodata_indicators;start_date/end_date 格式为 YYYY-MM-DD。支持 offset/limit 分页。返回 {info: {indicator_code, name, country, describe, importance, periodicity}, data: [{period, release_at, actual_value, forecast_value, previous_value, unit}], count}
参数
indicator_codestring必填指标代码,例如 `"30771718"`,来自 macrodata_indicators
start_datestring数据起始日期(`yyyy-mm-dd`,例如 `"2024-01-01"`)
end_datestring数据结束日期(`yyyy-mm-dd`,例如 `"2024-12-31"`)
offsetinteger分页偏移量,默认 0
limitinteger返回条数上限,默认 100,最大 100
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
列出宏观经济指标,可按关键词和国家(US/CN/HK/EU/JP/SG)筛选。返回的 indicator_code 用于 macrodata。支持 offset/limit 分页。返回 {list: [{indicator_code, name, country, importance, periodicity}], count}
参数
keywordstring按指标名称关键词搜索,例如 `"CPI"`、`"非农"`
countrystring按国家代码过滤:US(美国)、CN(中国大陆)、HK(香港)、EU(欧元区)、JP(日本)、SG(新加坡)
offsetinteger分页偏移量,默认 0
limitinteger返回条数上限,默认 30,最大 1000;建议用 keyword/country 缩小范围,而不是翻完全部
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查询标的保证金比率,返回 {im_factor(初始保证金), mm_factor(维持保证金), fm_factor(强平保证金)}
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取所有市场当前交易状态,返回 market_time[]{market, trade_status(Trading/Closed/Mid-Day Break/Pre-Market/Post-Market/Overnight 等), timestamp}时间戳为所属市场的当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取当前市场情绪温度,返回 {temperature(0-100), description, valuation(0-100), sentiment(0-100), timestamp}时间戳为所属市场的当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
marketstring必填市场代码:HK、US、CN、SG
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取证券的最新新闻,按时间从新到旧(默认 20 条,更多用 count 指定),返回顶层数组(无包装对象){id, title, description, url, published_at, comments_count, likes_count, shares_count}。带引用字段(上游提供时返回):content_via(0 = 长桥原创或版权内容;非 0 = 第三方转载)、source、source_url(原文地址)、source_logo。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
countinteger返回的文章数量,从新到旧。默认 20(每条约 700 字节),上游约返回 50 条
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 id 获取单篇资讯的完整内容(id 来自 news / news_search)。返回 {id, title, description, body (Markdown), url, author{member_id, name}, images[], comments_count, likes_count, shares_count, published_at, tickers[]}。带引用字段(上游提供时返回):content_via(0 = 长桥原创或版权内容;非 0 = 第三方转载)、source、source_url(原文地址)、source_logo。
参数
idstring必填资讯文章 ID(数字),例如 "7123456789012345678"。可从 news 或 news_search 获取
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按关键词搜索新闻文章,按相关度排序,返回数组 [{id, title, description(摘要), source(来源媒体展示名,按 Accept-Language 本地化), published_at(RFC3339 时间格式), url, content_via, source_url, source_logo}]。content_via 为 0 表示长桥原创或版权内容,非 0 表示第三方转载,原文见 source_url
参数
keywordstring必填搜索关键词
limitinteger最多返回条数(默认 20;上游最多返回 40 条)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取当前 UTC 时间,返回 RFC3339 字符串(如 "2025-01-15T08:30:00Z")。用于在发起日期相关查询前确定当前日期/时间。返回的是纯 JSON 字符串,而非对象
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按报告期获取公司经营回顾(仅港股;其他市场返回空列表)。返回 list[](最新在前,默认 8 期,更多用 count 指定){id, report(如 saf), title, txt(管理层评论 / 经营回顾), latest, financial{currency, indicators[]{field_name, indicator_name, indicator_value(带本地化单位的展示字符串), yoy(%)}}}
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
countinteger返回的报告数量,最新在前。默认 8(每条约 1.6KB),上游最多 50
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取标的(如 AAPL.US)的期权链到期日,返回 "yyyy-mm-dd" 字符串的顶层数组。配合 option_chain_info_by_date 获取其中某个到期日的合约
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定到期日的期权合约列表。每份合约一条记录,认购与认沽不再按行权价配对:{symbol, expiry_date, strike_price, direction(Call/Put), option_type(Monthly/Weekly/Quarterly), standard_attr(Normal/Old), days_to_expiry}。按 direction 区分认购与认沽;standard_only=true 可滤掉公司行动遗留的老合约。本接口不含价格与 Greeks,需要时把 symbol 传给 option_quote
参数
symbolstring必填标的证券代码,例如 `"AAPL.US"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
datestring必填到期日(`yyyy-mm-dd`),必填。可用 option_chain_expiry_date_list 列出可选到期日
standard_onlyboolean仅返回标准合约。省略或 false 时返回全部,包含公司行动遗留的老合约(`standard_attr: "Old"`)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取期权行情(最多 500 个)。symbols 必须是期权合约代码(例如 "AAPL230317P160000.US"),不能用普通股票代码——请先用 option_chain_info_by_date 返回的每份合约的 symbol 字段获取有效的期权代码。返回各标的:last_done(最新价), prev_close, open, high, low, volume(成交量), turnover(成交额), implied_volatility(隐含波动率), delta/gamma/theta/vega/rho(Greeks), open_interest(未平仓量)。Greeks 已归一化:theta 为每日值(一天的时间损耗),vega 为隐含波动率每变动 1% 的价格变化,rho 为无风险利率每变动 1% 的价格变化。时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolsarray必填期权合约代码,例如 `["AAPL230317P160000.US"]`。不是普通股票代码——请先用 option_chain_expiry_date_list 列出到期日,再用 option_chain_info_by_date 取得该到期日各合约的 symbol 字段
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取美股实时期权认购/认沽成交量统计,返回 {c, p}:当日认购(c)与认沽(p)合约总成交量,均为字符串
参数
symbolstring必填标的代码(仅美股),例如 `"AAPL.US"`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取美股逐日期权统计历史,返回 {stats[]{symbol, timestamp, total_volume, total_call_volume, total_put_volume, put_call_volume_ratio, total_open_interest, total_call_open_interest, total_put_open_interest, put_call_open_interest_ratio}}时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填标的代码(仅美股),例如 `"AAPL.US"`
countinteger返回的交易日数量(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查询单个委托详情,返回 {order_id, symbol, status, side, order_type, quantity, price, executed_quantity, executed_price, submitted_at, time_in_force, msg, attached_orders[]},其中 attached_orders[] 为该委托的止盈/止损附加单及其各自单号。要按附加单自身的单号查询,设置 is_attached=true,此时返回该附加单本身,charge_detail 为 null。美股账户返回同样的顶层字段及 history[],但无 time_in_force、tag、expire_date、outside_rth 及费用/抵扣字段(美股原始代码见 us_time_in_force、us_tag,另含 done_at、gtd、security_type、us_attached_orders、us_charge_detail);is_attached 无效
参数
order_idstring必填委托单号:母单单号,或(配合 is_attached=true)止盈/止损附加单单号
is_attachedboolean设为 true 表示 order_id 是止盈/止损附加单单号,返回该附加单本身(charge_detail 为 null);查询母单时省略或传 false。美股账户下无效
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取港股市场参与者(券商)信息,返回顶层数组 {broker_ids[], name_en, name_cn},用于解析经纪商队列数据
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取组合盈亏分析汇总。start/end(yyyy-mm-dd)须成对传入,只传其中之一会返回空结果
参数
startstring起始日期(`yyyy-mm-dd`)。必须与 `end` 成对传入,只传其一会返回空结果
endstring结束日期(`yyyy-mm-dd`)。必须与 `start` 成对传入,只传其一会返回空结果
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定标的详细盈亏分析。start/end(yyyy-mm-dd)须成对传入,只传其中之一会返回空结果
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
startstring起始日期(`yyyy-mm-dd`)。必须与 `end` 成对传入,只传其一会返回空结果
endstring结束日期(`yyyy-mm-dd`)。必须与 `start` 成对传入,只传其一会返回空结果
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取美股账户的已实现盈亏,按类别(股票/期权/加密货币)和周期拆分。返回 {realized_pl_list: [{category, currency, metrics: [{period, amount, rate, rate_unit}]}]};rate 为小数。仅限美股账户;亚太账户调用会返回 DcRegionRestricted 错误
参数
currencystring报告货币,例如 `"USD"`(默认 `"USD"`)。仅限美股账户
categorystring按类别筛选:`"STOCK"`、`"OPTION"`、`"CRYPTO"`,留空表示全部
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
在服务端对历史 K 线数据运行量化指标脚本,以 JSON 形式返回计算的指标/绘图值。周期:1m/5m/15m/30m/1h/day/week/month/year(默认 day);input 为 JSON 数组,顺序需与脚本中 input.*() 调用一致
参数
symbolstring必填证券代码,`<CODE>.<MARKET>` 格式,例如 `TSLA.US`、`700.HK`
periodstringK 线周期:`1m`、`5m`、`15m`、`30m`、`1h`、`day`、`week`、`month`、`year`(默认 `day`)
startstring必填K 线区间起始日期(YYYY-MM-DD)
endstring必填K 线区间结束日期(YYYY-MM-DD)
scriptstring指标脚本源代码
inputstring脚本输入参数(JSON 数组字符串),顺序需与脚本中 `input.*()` 调用一致,例如 `"[14,2.0]"`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取最新行情报价,返回顶层数组,每个标的一条:symbol、last_done(最新价)、prev_close(昨收)、open、high、low、volume(成交量)、turnover(成交额)、trade_status、timestamp;对应时段有数据时另含 pre_market / post_market / overnight 对象 {last_done, prev_close, high, low, volume, turnover, timestamp}。不含涨跌字段:请用 last_done 与 prev_close 自行计算时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolsarray必填证券代码,例如 `["700.HK", "AAPL.US"]`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取热度排行榜的分类配置。返回 first_tags[]{key, name, second_tags[]{key, name, market}}。将 second_tags[].key(如 hot_all-us)传入 rank_list 获取对应榜单。
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按热度榜 key 获取股票排名列表。key 来自 rank_categories 的 second_tags[].key(如 hot_all-us、hot_up-hk、trade_heat-us)。market: 从 key 后缀推断或显式传入。size: 返回数量(默认 20)。返回 lists[]{symbol, name, last_done, chg(小数), inflow, market_cap, pre_post_price, pre_post_chg, amplitude, turnover_rate, volume_rate, five_day_chg, ten_day_chg, twenty_day_chg, this_year_chg, industry}, updated_at。
参数
keystring必填榜单 key,来自 rank_categories 的 second_tags[].key,如 hot_all-us、hot_up-hk;不带市场后缀的 key(如 hot_all)会按 market 补全
marketstring市场覆盖:US/HK/CN/SG;key 自带市场后缀时以后缀为准,否则默认 US
sizeinteger返回数量,默认 20;不超过榜单本身的长度(通常为 50)
need_articleboolean是否返回关联新闻,默认 false
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
修改未成交委托的数量、价格、触发价或追踪止损参数,成功返回 "order replaced"。【必须两步确认】未传本次试运行返回的 confirmation_code 时,本工具为 DRY RUN(试运行):只校验并回显委托内容,不会发往交易所。请先不带 execute 调用一次,把返回的预览完整展示给用户,只有在用户明确确认这笔委托之后,才可再次调用并把该确认码传入 execute。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效。绝不可自行决定回填确认码,也不可在用户首次提出请求的同一轮就回填。试运行会同时回显当前委托与本次拟修改的内容。止盈/止损附加单也在此修改:attached_order_type 配合新的 attached_profit_taker_price / attached_stop_loss_price 可新增或改价,attached_profit_taker_id / attached_stop_loss_id 用于指定要修改的现有附加单,attached_cancel_all=true 则撤销全部附加单而保留母单
参数
order_idstring必填委托单号
quantitystring必填新的委托数量
pricestring新的委托价格
trigger_pricestring新的触发价
limit_offsetstring新的限价偏移量
trailing_amountstring新的跟踪止损金额
trailing_percentstring新的跟踪止损百分比
attached_cancel_allboolean设为 true 撤销该委托的全部止盈/止损附加单,母单本身保持不变
attached_order_typestring要新增或修改的附加单类型:`PROFIT_TAKER` / `STOP_LOSS` / `BRACKET`。除仅做 attached_cancel_all 外必填
attached_profit_taker_idstring要修改的现有止盈单单号(取自 order_detail 的 attached_orders[]);新增附加单时省略
attached_stop_loss_idstring要修改的现有止损单单号(取自 order_detail 的 attached_orders[]);新增附加单时省略
attached_profit_taker_pricestring新的止盈触发价
attached_stop_loss_pricestring新的止损触发价
attached_profit_taker_submit_pricestring新的止盈单委托限价
attached_stop_loss_submit_pricestring新的止损单委托限价
attached_time_in_forcestring新的附加单有效期:`Day` / `GTC` / `GTD`
attached_expire_timestring新的附加单到期时间,Unix 时间戳(秒);`attached_time_in_force=GTD` 时必填
attached_activate_order_typestring新的触发后委托类型,例如 `LO` 或 `MO`
attached_outside_rthstring新的触发后盘前盘后设置:`RTH_ONLY` / `ANY_TIME` / `OVERNIGHT` / `OPTION_PRE_MARKET`
attached_main_idstring附加单所属母单的单号;仅在不经母单、单独修改某个附加单时需要
attached_quantitystring新的附加单数量
attached_market_pricestring附加单的参考市价
executestring本次试运行返回的 confirmation_code。省略(默认)表示 DRY RUN:只校验并回显请求,同时返回一个三位确认码,不会发往交易所。必须先不带该参数调用一次,把预览展示给用户,待用户明确确认后才可再次调用并回填该码。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效——改动任何字段即失效。不可自行决定回填。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查询当前登录会员的风险评估(适当性)档案:最近一次风险测评问卷的结果及相关投资者资质。无参数。返回 {risk, pi, approvals, re_authentication, pi_end_at, deadlines, risk_assessment_at, score, strategy_risk_levels[]}:risk 为最近一次问卷的风险等级(如 "A5"),score 为问卷得分,risk_assessment_at 为测评日期(yyyy-mm-dd);pi 为专业投资者(PI)状态码,pi_end_at 为其截止时间(按服务端原样返回,未设置时为 0);approvals 为各资质项的状态(如 car、cka、risk_audit -> "pass";is_corporate_client -> "false");deadlines 为各项的截止期限(按服务端原样返回);re_authentication 为重新认证标记(未设置时为空);strategy_risk_levels 为会员的策略风险等级。请按原样呈现这些值。服务端未定义上述任何一套取值口径,因此不要推断等级高低,也不要用 risk、pi、approvals 或 strategy_risk_levels 判断产品适当性或购买资格;approvals 的值是字符串(如 "pass"、"false")而非布尔值,pi_end_at 与 deadlines 为服务端原样返回且单位未定义
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取全部可用选股指标的 key 及单位。技术指标带 tech_values {tech_key: [{value, label}]},列出可接受的取值(如 macd_day:period [day],category [goldenfork, deadcross, upzero, downzero]);在 screener_search 中按每个 tech_key 传一个值作为 tech_values。可选 symbol(如 AAPL.US)收窄为该股票适用的指标。返回 groups[]{group_type, group_name, indicators[]{id, key, name, unit, places, category, tech_values{tech_key: [{value, label}]}}}
参数
symbolstring可选证券代码,用于筛选该股票支持的指标,如 AAPL.US
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取平台预设的选股策略列表。market: US|HK|CN|SG(默认 US)。返回 strategys[]{id, name, description, market, three_months_chg, risk}。将 id 传入 screener_search 的 strategy_id 可直接运行该策略;传入 screener_strategy 可查看策略的过滤条件。
参数
marketstringMarket filter: "US" | "HK" | "CN" | "SG" (default: "US")
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
执行选股查询。market: US|HK|CN|SG(模式B必填;模式A使用策略内置市场)。模式A:传 strategy_id(来自 screener_recommend_strategies)自动运行策略。模式B:conditions=[{"key":"KEY","min":"10","max":"50","tech_values":{}},...] 直接透传给 API。 extra_returns=["key",...] 追加展示列;sort_by_key 指定排序字段;sort_order: asc|desc(默认 desc);page: 从0开始(默认0)。返回 {total, items[]{symbol, name, counter_id, indicators[]{key, value}}, legend{<key>: {name, unit}}},每条结果默认包含 prevclose、prevchg、marketcap、salesgrowthyoy、pettm、pbmrq、industry 七列。基本面 key:pettm pbmrq roe roa netmargin salesgrowthyoy netincomegrowthyoy marketcap(亿) circulating_marketcap(亿) prevclose prevchg(%) divyld la epsttm netincome(亿) sales(亿) turnover_rate balance(万)。技术 key(tech_values 见 screener_indicators):macd_day/week rsi_day/week kdj_day/week boll_day/week。注意:key 由平台动态维护,不确定时先调 screener_indicators 确认。
参数
marketstring市场:US/HK/CN/SG。模式B必填;模式A可不传(策略已内置市场)
strategy_idstringMode A — Strategy ID from screener_recommend_strategies strategys[].id. The tool auto-fetches the strategy and builds filters. Omit for Mode B.
conditionsarrayMode B — Filter conditions, passed directly to the API. Omit for Mode A. Fundamental keys (pass with or without filter_ prefix): pettm pbmrq roe roa netmargin salesgrowthyoy netincomegrowthyoy marketcap(亿) circulating_marketcap(亿) prevclose prevchg(%) divyld la epsttm netincome(亿) sales(亿) turnover_rate balance(万) Technical indicator keys (tech_values with a category required; period defaults to the key suffix): macd_day/week → {"category":"goldenfork"|"deadcross"|"upzero"|"downzero"} kdj_day/week, rsi_* → {"category":"goldenfork"|"deadcross"} boll_day/week → {"category":"riseupperband"|"fallbelowband"|"risemiddleband"|"fallmiddleband"}
extra_returnsarrayExtra indicator keys to include in each result row (display-only, not used as filters). Same key naming as conditions (filter_ prefix added automatically). Example: ["marketcap", "prevclose", "epsttm"]
sort_by_keystringIndicator key to sort results by (e.g. "marketcap", "roe"). Defaults to the first condition key. Must be one of the condition or extra_returns keys.
sort_orderstringSort order: "asc" | "desc" (default: "desc")
pageintegerPage number, 0-based (default: 0)
sizeintegerPage size (default: 20, max: 100)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
运行前查看策略的过滤条件详情。返回 market, filter{filters[]{key, min, max, tech_values}}。如需直接执行策略,使用 screener_search 的 strategy_id 参数。
参数
idstring必填策略 ID,来自 screener_recommend_strategies 或 screener_user_strategies 的 strategys[].id
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取当前用户已保存的选股策略列表。market: US|HK|CN|SG(默认 US)。返回 strategys[]{id, name, description, market, three_months_chg, risk}。将 id 传入 screener_search 的 strategy_id 可直接运行该策略;传入 screener_strategy 可查看策略的过滤条件。
参数
marketstring市场筛选:US/HK/CN/SG,默认 US
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查询指定证券的事实(催化剂)事件 —— 异动检测、因子读数、数据来源及自然语言摘要,可按时间范围和数量筛选。事实是策略响应的对象:信号在 key_fact_id 中指明其触发事实。返回 {facts: [{fact_id, fact_type, direction, occur_time, symbols_info: [{symbol, security_name}], factors: [{name, factor_groups, long_short_direction, trigger_condition, anomaly_detection}], data_source: [{source_name, type, url, icon}], nl_info: {title, sub_title, summary, invest_anal, eli_explain}}]}
参数
symbolstring必填要查询的证券代码,例如 `AAPL.US` 或 `700.HK`
begin_timestring查询起始时间,UTC 时区,格式为 2006-01-02T15:04:05Z;留空则从最早可用数据开始
end_timestring查询结束时间,UTC 时区,格式为 2006-01-02T15:04:05Z;留空则返回最新数据
limitinteger返回事实数量上限。时间范围内的事实超出该上限时,仅返回最新的 limit 条。默认 3(每条数 KB);更早的可用 end_time 往前翻
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定市场的证券列表。支持市场:US、HK、CN、SG。category 当前仅支持 "Overnight"(默认)。page:页码(从1开始,默认1)。count:每页条数(默认50)。返回 {total, page, count, items[]{symbol, name_en, name_cn}}。
参数
marketstring必填市场代码:US、HK、CN、SG
categorystring类别筛选,当前仅支持 "Overnight"(默认)
pageinteger页码,从1开始,默认1
countinteger每页返回条数,默认50
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取证券的主要股东及其最新披露的持股变动,返回 shareholder_list[]{shareholder_name, percent_of_shares, shares_changed(负数表示减持), report_date, stocks[]{symbol, market, code, chg}};stocks[] 列出与该股东关联的证券,通常为空
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定股东的持仓历史与交易明细。需要来自 shareholder_top 的 object_id。返回 name, owner_source(Company/Institution/Person/Insider), tradings[]{period, accum_buy, accum_sell, net_buy, trading_details[]{trading_date, trading_type, trading_shares, trading_price, security_type, filing_date}}, holding_summary, holding_periods, trading_periods。注意:机构股东(13F申报)的 trading_details[] 为空,仅个人/内部人(Form 4)有交易明细。
参数
symbolstring必填证券代码,如 AAPL.US
object_idinteger必填股东 object_id,来自 shareholder_top 返回的数据(数字或数字字符串均可)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取前20大股东(机构、个人、内部人士)的多期持仓信息,按报告期从新到旧(默认 4 期,更多用 periods 指定)。返回 info[]{period, share_holders[]{object_id, name, title, shares_held, percent_shares_held, shares_changed, filing_date}}。用 object_id 传入 shareholder_detail 查看该股东的完整交易记录。
参数
symbolstring必填证券代码,如 AAPL.US
periodsinteger返回的报告期数量,从新到旧:先是“最新”快照,再按季度。默认 4(每期约 4KB),最多 15
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
向社区分享股单中添加证券。symbols 为股票代码列表(如 ["AAPL.US"]),id 为股单 ID。成功返回更新后的股单。
参数
idstring必填分享股单 ID
symbolsarray必填证券代码,例如 `["AAPL.US", "700.HK"]`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
新建社区分享股单,返回创建的股单对象(含 id、name、description)
参数
namestring必填股单名称(若未传 `description`,名称同时作为描述)
descriptionstring股单描述,省略时默认与 `name` 相同
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 id 删除自建社区分享股单(已订阅他人的股单不可删除)
参数
idstring必填分享股单 ID
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 id 获取社区分享股单详情,返回 {sharelist{id, name, description, stocks_count, subscribers_count, chg, this_year_chg, creator, stocks[]{symbol, name, market, code, intro, …}}, scopes{self, subscription, official, industry}, stock_topics, group}。成分股不含价格,请把 symbol 传给 quote
参数
idstring必填分享股单 ID
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
列出用户自建及已订阅的社区分享股单,返回 {sharelists[](用户自建的股单), subscribed_sharelists[](用户订阅的股单)},每项 {id, name, description, stocks_count, subscribers_count, subscribed, chg, this_year_chg, created_at, stocks, …}
参数
countinteger返回数量(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取热门/流行社区分享股单,返回 {sharelists[]{id, name, description, stocks_count, subscribers_count, chg, this_year_chg, creator{id, name, …}, stocks, …}},按热度排序
参数
countinteger返回数量(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
从社区分享股单中移除指定证券。symbols 为要移除的股票代码列表,id 为股单 ID。成功返回更新后的股单。
参数
idstring必填分享股单 ID
symbolsarray必填证券代码,例如 `["AAPL.US", "700.HK"]`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
调整社区分享股单中证券的排列顺序(按目标顺序传入 symbols)
参数
idstring必填分享股单 ID
symbolsarray必填证券代码,例如 `["AAPL.US", "700.HK"]`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取当前账户卖空保证金存款明细,返回各空头持仓的 margin_amount、margin_rate、interest_rate、symbol、quantity
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取港股或美股的卖空持仓历史(未平仓空头头寸)。市场由 symbol 后缀自动判断。count: 1–100(默认20)。统一返回 data[]{timestamp(RFC3339), short_shares(空头持仓股数), rate(小数比率 如0.009=0.9%), close}。仅美股:avg_daily_vol(日均成交量), days_to_cover(回补天数)。仅港股:balance(港元空头余额)。美股来源:FINRA 双周报。港股来源:HKEX 每日。时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,如 AAPL.US(美股)或 700.HK(港股),市场由后缀自动判断
countinteger返回记录数,1–100,默认 20
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取港股或美股的每日卖空成交量历史。市场由 symbol 后缀自动判断。last_timestamp: Unix 秒(不传则取最新)。page_size: 1–100(默认20)。统一返回 data[]{timestamp(RFC3339), short_vol(当日卖空股数), rate(小数比率 如0.36=36%), close}。仅美股:nasdaq_vol(纳斯达克卖空量), nyse_vol(纽交所卖空量)。仅港股:balance(港元), market_vol(当日市场总成交量)。美股来源:FINRA/NASDAQ。港股来源:HKEX。时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,如 AAPL.US(美股)或 700.HK(港股),市场由后缀自动判断
last_timestampstring必填查询截止时间戳(秒),传当前时间戳获取最新数据
page_sizestring每页数量,1–100,默认 20
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 ID 获取单条信号(ID 来自 `signals`)。字段与列表一致,另含 `analysis` —— 完整策略分析:契合度评分、估值情景、证据来源与相关事实 ID。返回 {id, symbol, company_name, market, title, summary, strategy_id, strategy_name, key_fact_id, key_catalyst, outlook, outlook_desc, analysis_price, conservative_price, benchmark_price, optimistic_price, status, created_at, updated_at, analysis: {confidence, signal: {core_conclusion, evidence_sources, quick_takeaways, releated_facts_ids, …}, strategy_fit_score: {total_score, key_takeaways, …}, strategy_notes, …}}
参数
signal_idstring必填信号 ID,例如 sign_992_1a00c9425c3_48ab,可从 signals 获取
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查询策略信号 —— 策略基于催化剂对某只证券给出的判断。支持按股票代码、策略、催化剂和时间范围筛选,用 limit/offset 分页。返回标题、摘要、看法与保守/基准/乐观目标价,以及用于翻页的 total。完整策略分析请用 signal_detail 获取
参数
symbolstring按证券代码筛选,例如 `AAPL.US` 或 `700.HK`;省略则返回全部股票
strategy_idstring按策略 id 筛选,例如 buffett-value。优先于已废弃的 strategy_name,两者同时传入时以此为准
strategy_namestring按策略名称筛选;省略则返回全部策略的命中结果
catalyst_namestring按触发信号的因子名称筛选,例如 `EARNINGS_RELEASED`、`macd_12_26_9`——不是返回结果里 `key_catalyst` 的展示文案;省略则不限
catalyst_typestring按触发信号的催化剂类型筛选,例如 News、Fundamental、Technical;省略则不限催化剂类型
start_timestring筛选此时间之后创建的命中记录,ISO 8601 带时区格式,例如 2024-01-15T10:30:00Z;省略则不限下限
end_timestring筛选此时间之前创建的命中记录,ISO 8601 带时区格式;省略则不限上限
limitinteger返回结果数量上限,最多 500,默认 5(每条约 5KB),更多用 offset 翻页
offsetinteger分页跳过的条数,默认 0
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取对账单数据文件的预签名下载 URL(文件来自 statement_list),返回 {url};访问该 URL 即可获取对账单 JSON
参数
file_keystring必填来自 `statement_list` 的文件 key,例如 `"/statement_data/data/.../20975338.json"`
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
列出可获取的账户对账单(日报/月报),返回 {list[]{dt(对账单日期,yyyymmdd), file_key}},用 file_key 调用 statement_export 下载
参数
statement_typestring对账单类型:`"daily"`(默认,日报)或 `"monthly"`(月报)
start_datestring起始日期(`yyyy-mm-dd`)。`daily` 默认 30 天前,`monthly` 默认 12 个月前
limitinteger返回条数。`daily` 默认 30,`monthly` 默认 12
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取证券基础信息,返回顶层数组,每个标的一条:symbol、name_cn、name_en、name_hk、exchange(如 NASD)、currency、lot_size、total_shares、circulating_shares、hk_shares、eps、eps_ttm、bps、dividend_yield、stock_derivatives、board。仅限美股账户:`.BKKT` 加密货币代码(如 BTCUSD.BKKT)会路由到独立的美股加密货币概览接口;`.HAS`/`.OSL` 加密货币代码不受影响
参数
symbolsarray必填证券代码,例如 `["700.HK", "AAPL.US"]`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
查询所有渠道下的当前股票持仓,返回 list[].stock_info[]{symbol, symbol_name, quantity, available_quantity, currency, cost_price, market}。美股账户返回同样的 list[].stock_info[](无 available_quantity,另含 last_done、market_price、prev_close、today_pl、position_side);现金、期权、加密货币(symbol 如 BTCUSD.BKKT)及购买力在 us{cash_list, option_list, crypto_list, cash_buy_power, …} 下
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
提交多腿期权组合委托,各腿作为一个策略单一起成交或挂单。strategy:CoveredCall(备兑看涨)/ CoveredPut(备兑看跌)/ VerticalCallSpread(垂直看涨价差)/ VerticalPutSpread(垂直看跌价差)/ Collar(领口)/ Straddle(跨式)/ Strangle(宽跨式)/ CalendarCallSpread(认购日历价差)/ CalendarPutSpread(认沽日历价差);side:Buy/Sell(整个策略的方向);order_type:LO(需 submitted_price,为组合净价)或 MO;legs[]:{symbol, ratio_quantity},按策略顺序排列,仅接受期权代码;ratio_quantity 恒为正数——每条腿的买卖方向由 strategy 与 side 共同决定
参数
strategystring必填组合策略,决定所需腿数与每条腿的方向:`CoveredCall`(备兑看涨)/ `CoveredPut`(备兑看跌)/ `VerticalCallSpread`(垂直看涨价差)/ `VerticalPutSpread`(垂直看跌价差)/ `Collar`(领口)/ `Straddle`(跨式)/ `Strangle`(宽跨式)/ `CalendarCallSpread`(认购日历价差)/ `CalendarPutSpread`(认沽日历价差)。两种日历价差为相同行权价、不同到期日
sidestring必填买卖方向:`Buy`(买入)或 `Sell`(卖出),指整个策略的方向
order_typestring必填委托类型:`LO`(限价,需 `submitted_price`)或 `MO`(市价)
submitted_quantitystring必填委托组数(每组为一套按 `legs` 比例构成的腿)
legsarray必填组合的各条腿,按策略顺序排列,仅接受期权代码
submitted_pricestring整个组合的净限价,`LO` 必填
remarkstring委托备注(最多 255 字符)
client_request_idstring幂等键,每笔委托唯一。含义同 submit_order 的同名字段
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
提交买卖委托。order_type:LO(限价)/ ELO(港股增强限价)/ MO(市价)/ AO(港股竞价)/ ALO(港股竞价限价)/ ODD(港股碎股)/ LIT(触价限价)/ MIT(触价市价)/ TSLPAMT(按金额追踪止损)/ TSLPPCT(按百分比追踪止损)/ SLO(港股特别限价);side:Buy/Sell;time_in_force:Day/GTC/GTD。【必须两步确认】未传本次试运行返回的 confirmation_code 时,本工具为 DRY RUN(试运行):只校验并回显委托内容,不会发往交易所。请先不带 execute 调用一次,把返回的预览完整展示给用户,只有在用户明确确认这笔委托之后,才可再次调用并把该确认码传入 execute。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效。绝不可自行决定回填确认码,也不可在用户首次提出请求的同一轮就回填。该委托会动用真实资金——试运行是用户发现代码、方向、数量或价格错误的唯一机会。如需附加止盈/止损单:设置 attached_order_type(PROFIT_TAKER / STOP_LOSS / BRACKET)并填写 attached_profit_taker_price 和/或 attached_stop_loss_price;附加单会在试运行预览中回显,并计入确认码
参数
symbolstring必填证券代码
order_typestring必填委托类型(港股全部支持;美股仅支持 `LO` / `MO` / `LIT` / `MIT` / `TSLPAMT` / `TSLPPCT`):<br>- `LO`(限价单):需 `submitted_price`<br>- `ELO`(增强限价单,港股):需 `submitted_price`<br>- `MO`(市价单):无需价格<br>- `AO`(竞价单,港股):以竞价价成交,无需价格<br>- `ALO`(竞价限价单,港股):需 `submitted_price`<br>- `ODD`(碎股单,港股):需 `submitted_price`,用于非标准手数<br>- `LIT`(触价限价):需 `submitted_price` 与 `trigger_price`,行情触及触发价时激活<br>- `MIT`(触价市价):仅需 `trigger_price`,触及后按市价成交<br>- `TSLPAMT`(按金额跟踪止损限价):需 `trailing_amount` 与 `limit_offset`<br>- `TSLPPCT`(按百分比跟踪止损限价):需 `trailing_percent`(0-1)与 `limit_offset`<br>- `SLO`(特别限价单,港股):需 `submitted_price`,提交后不可改单
sidestring必填买卖方向:`Buy`(买入)或 `Sell`(卖出)
submitted_quantitystring必填委托数量
time_in_forcestring必填委托有效期:`Day`(当日有效)、`GTC`(撤单前有效)、`GTD`(指定日期前有效,需 `expire_date`)
submitted_pricestring委托限价。`LO` / `ELO` / `ALO` / `ODD` / `LIT` / `SLO` 必填
trigger_pricestring触发价。`LIT` / `MIT` / `TSLPAMT` / `TSLPPCT` 必填
limit_offsetstring相对跟踪止损价的限价偏移量。`TSLPAMT` / `TSLPPCT` 必填
trailing_amountstring跟踪金额(绝对价格距离),`TSLPAMT` 必填
trailing_percentstring跟踪百分比(小数形式,例如 `0.05` 表示 5%),`TSLPPCT` 必填
expire_datestring到期日期(`yyyy-mm-dd`),`time_in_force=GTD` 时必填
outside_rthstring盘前盘后设置:`RTH_ONLY`(仅常规交易时段)、`ANY_TIME`(含盘前盘后任意时段)、`OVERNIGHT`(夜盘,仅美股)、`OPTION_PRE_MARKET`(美股期权盘前时段)
remarkstring委托备注(最多 255 字符)
client_request_idstring幂等键,每笔委托唯一(例如一个 UUID)。两次请求携带相同值时交易所只会下一笔单,第二次返回原有的 order_id,因此超时或断连后的重试不会重复成交。可能重试时务必设置;下一笔新委托必须换一个新值
attached_order_typestring附加止盈/止损单类型:`PROFIT_TAKER`(仅止盈)、`STOP_LOSS`(仅止损)、`BRACKET`(止盈止损同时挂)。普通委托请省略;不传该参数时其余 attached_* 参数均被忽略
attached_profit_taker_pricestring止盈触发价。`PROFIT_TAKER` 与 `BRACKET` 必填
attached_stop_loss_pricestring止损触发价。`STOP_LOSS` 与 `BRACKET` 必填
attached_profit_taker_submit_pricestring止盈单触发后的委托限价,配合 `attached_activate_order_type=LO` 使用
attached_stop_loss_submit_pricestring止损单触发后的委托限价,配合 `attached_activate_order_type=LO` 使用
attached_time_in_forcestring附加单有效期:`Day` / `GTC` / `GTD`;省略则沿用母单设置
attached_expire_timestring附加单到期时间,Unix 时间戳(秒),例如 `"1767139200"`;`attached_time_in_force=GTD` 时必填
attached_activate_order_typestring附加单触发后提交的委托类型,例如 `LO`(需同时给出对应的 `attached_*_submit_price`)或 `MO`
attached_outside_rthstring附加单触发后的盘前盘后设置:`RTH_ONLY` / `ANY_TIME` / `OVERNIGHT` / `OPTION_PRE_MARKET`
executestring本次试运行返回的 confirmation_code。省略(默认)表示 DRY RUN:只校验并回显请求,同时返回一个三位确认码,不会发往交易所。必须先不带该参数调用一次,把预览展示给用户,待用户明确确认后才可再次调用并回填该码。确认码由订单本身(代码、方向、数量、价格)推导而来,只对这一笔完全相同的请求生效——改动任何字段即失效。不可自行决定回填。
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取当日成交记录,返回顶层数组 {order_id, trade_id, symbol, side, quantity, price, trade_done_at};side 取自成交所属委托,无法确定时为 ""(美股账户:未能解析所属委托的方向,可调用 order_detail(order_id) 获取)。可传 symbol 或 order_id 筛选
参数
symbolstring按证券筛选,例如 `"700.HK"`
order_idstring按指定委托单号筛选
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取当日委托,返回委托的顶层数组 {order_id, symbol, stock_name, side, order_type, status, quantity, executed_quantity, price, currency, time_in_force, submitted_at, updated_at, msg, …, attached_orders[]},其中 attached_orders[] 为该委托的止盈/止损附加单。可用 symbol 按证券筛选,或用 order_id 查询单笔委托。要按附加单自身的单号查询,把该单号作为 order_id 并同时设置 is_attached=true,返回的委托即为该附加单本身。is_attached 不配合 order_id 时无效。美股账户返回同样的数组和字段名,但无 time_in_force、tag、expire_date、outside_rth(美股原始代码见 us_time_in_force、us_tag,另含 gtd、security_type、operate_direction);is_attached 无效,us_action(Buy/Sell)可筛选,默认返回当日全部委托(最多 500 条),传 us_page/us_limit 则只返回该页;“当日”指从前一自然日纽约时间(EST/EDT)20:00(夜盘 20:00–04:00 ET 开盘)至当日纽约时间 23:59:59,因此夜盘委托过纽约零点后仍会列出,当日列表可能包含前一晚的夜盘委托;前一日纽约时间 20:00 起的委托也会出现在该日的 history_orders 中,合并两者时请按 order_id 去重
参数
symbolstring按证券筛选,例如 `"700.HK"`,省略则返回当日全部委托
order_idstring按委托单号筛选:母单单号,或(配合 is_attached=true)止盈/止损附加单单号。美股账户仅匹配母单单号
is_attachedboolean仅在同时传入 order_id 时有效:表示该 order_id 是止盈/止损附加单单号,返回结果即为该附加单本身。单独使用无效,美股账户下同样无效
us_actionstring仅限美股账户:按方向筛选,`"Buy"` 或 `"Sell"`,留空表示全部。亚太账户忽略(区域由账户自动识别,无需传入)
us_pageinteger仅限美股账户:只返回该页(默认返回全部页,最多 500 条)。亚太账户忽略(区域由账户自动识别,无需传入)
us_limitinteger仅限美股账户:配合 us_page 分页时的每页数量(默认 50)。亚太账户忽略
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取价格波动超过近20日标准差的异动股票及关联新闻原因。markets: 逗号分隔的 HK/US/CN/SG(不传 = 全市场)。sort: 0=时间 1=涨跌幅 2=热度(默认)。limit: 每页数量(默认20)。next_params: 分页游标,传上一次返回的 next_params 对象。返回 events[]{timestamp(RFC3339), alert_reason, alert_type, stock{symbol, name, change(小数如0.0445=+4.45%), last_done, labels[], intro}}, updated_at, next_params。时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
marketsstring市场筛选,逗号分隔,支持 HK/US/CN/SG,不传返回全市场
sortstring排序方式:0=按时间(最新优先)1=按涨跌幅(幅度最大优先)2=按热度(默认)
datestring查询日期,格式 YYYY-MM-DD,不传默认今日
limitinteger每页返回数量,默认 10,最多 100
next_paramsobject翻页游标,将上一次响应的 next_params 原样传入即可获取下一页,首页不传
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取证券相关的讨论话题,返回顶层数组 {id, title, description, url, published_at, comments_count, likes_count, shares_count}
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
发布社区讨论。topic_type="post"(默认)为纯文本;"article" 需非空 title,正文支持 Markdown
参数
titlestring必填讨论标题。`topic_type="article"` 时必填,`"post"` 时可选
bodystring必填讨论正文。`post` 仅支持纯文本,`article` 支持 Markdown
symbolsarray相关证券代码,例如 `["700.HK", "TSLA.US"]`(最多 10 个)
topic_typestring讨论类型:`post`(默认,纯文本)或 `article`(Markdown,需 `title`)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
对讨论发表回复。传入 reply_to_id 表示楼中楼回复,省略则为顶层回复
参数
topic_idstring必填待回复的讨论 ID
bodystring必填回复正文(仅支持纯文本)
reply_to_idstring可选的父回复 ID,用于楼中楼回复,从 `topic_replies` 获取;省略则为顶层回复
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按 topic_id 获取讨论详情,返回 {id, title, description, body, author{member_id, name, avatar}, tickers[], hashtags, images[], likes_count, comments_count, shares_count, views_count, created_at, updated_at, detail_url, topic_type}
参数
topic_idstring必填讨论 ID
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
分页获取讨论话题的回复(page 默认 1,size 默认 20,范围 1-50)。返回顶层数组 {id, topic_id, body, reply_to_id, author: {member_id, name}, images, likes_count, comments_count, created_at}
参数
topic_idstring必填讨论 ID
pageinteger页码(从 1 开始,默认 1)
sizeinteger每页条数(1-50,默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按关键词搜索社区帖子/话题,返回 id、作者、时间及摘要
参数
keywordstring必填搜索关键词
limitinteger最多返回条数(默认 20;上游最多返回 30 条)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取用于价量分布的成交统计(按价格的主动买/主动卖/中性盘分布),返回 {trades[]{price, buy_amount, sell_amount, neutral_amount}, statistics{avgprice, trades_count, total_amount, buy, sell, neutral, preclose, timestamp, trade_date[]}}时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取最近逐笔成交(最多 1000 条),返回 顶层数组 {price, volume, timestamp, trade_type, direction, trade_session}时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码
countinteger必填返回的最大条数(最多 1000)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取指定市场在日期区间内的交易日。market:HK/US/CN/SG。400 天以内的区间一次调用即可返回;更长的区间请拆分。返回 {trade_days: [date], half_trade_days: [date]}
参数
marketstring必填市场代码:HK、US、CN、SG
startstring必填起始日期(`yyyy-mm-dd`)
endstring必填结束日期(`yyyy-mm-dd`)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取所有市场的交易时段安排,返回顶层数组 {market, trade_sessions[]{begin_time, end_time, trade_session}}
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
更新自选分组:重命名(name)或修改成员证券(securities + mode: add/remove/replace)
参数
idinteger必填自选分组 id
namestring新的分组名称(可选)
securitiesarray证券代码列表(可选)
modestring证券更新模式:`add`(新增)、`remove`(移除)或 `replace`(替换,默认)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取 PE 估值概览:合理区间、中位数及 PE 序列。返回 {range(年数), metrics: {pe: {low, median, high, desc, list: [{timestamp, value}]}}};low/high 是合理区间的下沿/上沿,不是区间内的最低/最高值(序列可能低于 low 或高于 high),极值请从 list 计算。美股账户查询 `.US` 标的会得到美股专属变体(ai_summary 加上子字段不同的 metrics.pe 对象)。区域由账户自动识别时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
股票估值对比。模式A(单股):只传 symbol,服务端自动返回该股票及同行业推荐对标股。模式B(多股):传 symbol 作为主股 + comparison_symbols(逗号分隔,如 'MSFT.US,GOOGL.US')进行指定股票对比。currency: USD/HKD/CNY。返回 list[]{symbol, name, market_value, price_close, pe, pb, ps, history[]{date, pe, pb, ps}}。时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填要比较的证券代码,如 AAPL.US
currencystring必填货币单位:USD/HKD/CNY
comparison_symbolsstring对比标的,逗号分隔,最多 5 个,如 MSFT.US,GOOGL.US
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取 PE 估值历史,用于长期分位分析。返回 overview{indicator, metrics.pe{metric, desc, industry_median}, range, date, ccy_symbol}、history{range, metrics.pe{low, median, high, desc, list[]{timestamp, value}}}(low/high 是合理区间的下沿/上沿,不是区间内的最低/最高值,极值请从 list 计算)、peers.pe{industry_median, list[]{symbol, name, value}},以及 stocks(以 counter id 为键的行业股票,如 "ST/US/AMD",每项 {name, market_cap})。仅含 PE,不含 PB/PS 或股息率序列时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"700.HK"`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取证券在指定日期区间内的每日估值分位(PE/PB/PS/股息率的行业百分位)。start/end 格式为 yyyymmdd,默认近 30 天。返回 {kline_type, max_num, pe, pb, ps, dvd},每个序列为 {timestamp, rank} 列表(rank 以 max_num 为满分)时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolstring必填证券代码,例如 `"AAPL.US"`
startstring起始日期,yyyymmdd(或 yyyy-mm-dd)格式(默认 end 之前 30 天)
endstring结束日期,yyyymmdd(或 yyyy-mm-dd)格式(默认今日)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取港股窝轮/牛熊证发行商信息,返回顶层数组 {issuer_id, name_en, name_cn},issuer_id 可用于 warrant_list 的发行商筛选
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
按条件筛选标的的窝轮/牛熊证列表,返回顶层数组 {symbol, name, warrant_type, status, last_done, change_rate, volume, expiry_date(yyyymmdd), strike_price, implied_volatility, delta, premium, leverage_ratio, effective_leverage, outstanding_ratio, conversion_ratio, …}
参数
symbolstring必填标的代码,例如 `"700.HK"`
sort_bystring排序字段(默认 `Volume`):`LastDone`、`ChangeRate`、`ChangeValue`、`Volume`、`Turnover`、`ExpiryDate`、`StrikePrice`、`UpperStrikePrice`、`LowerStrikePrice`、`OutstandingQuantity`、`OutstandingRatio`、`Premium`、`ItmOtm`、`ImpliedVolatility`、`Delta`
sort_orderstring排序方向:`Ascending`(升序)或 `Descending`(降序),默认 `Descending`
warrant_typearray按品种筛选(可选):`Call`(认购证)、`Put`(认沽证)、`Bull`(牛证)、`Bear`(熊证)、`Inline`(界内证)
issuerarray按发行商 ID 筛选(可选),`issuer_id` 来自 `warrant_issuers`
expiry_datearray按到期时段筛选(可选):`LT_3`(<3 个月)、`Between_3_6`(3-6 个月)、`Between_6_12`(6-12 个月)、`GT_12`(>12 个月)
price_typearray按界内 / 界外筛选(可选):`In`(界内)、`Out`(界外),仅适用于界内证
statusarray按状态筛选(可选):`Suspend`(停牌)、`PrepareList`(待上市)、`Normal`(正常交易)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取窝轮/牛熊证行情,返回顶层数组,每个标的一条:last_done(最新价)、prev_close、open、high、low、volume(成交量)、turnover(成交额)、trade_status、timestamp、implied_volatility(隐含波动率)、category、strike_price、expiry_date、conversion_ratio、outstanding_ratio、underlying_symbol。Delta 与杠杆在 warrant_list 中,不在此处时间戳为交易所当地时间(港股/A 股/新加坡 +08:00,美股为美东时区)。
参数
symbolsarray必填证券代码,例如 `["700.HK", "AAPL.US"]`。请用规范代码,补零的代码(如 "00700.HK")会返回空记录而非报错
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取所有自选分组及其包含的证券,返回顶层分组数组 {id, name, securities[]{symbol, name, watched_price, watched_at, is_pinned}}
参数
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.
获取当前账户提款历史,返回 items[]{id, amount, currency, status, created_at, bank_name, account_number(脱敏)}
参数
pageinteger页码(默认 1)
sizeinteger每页条数(默认 20)
_jqstringOptional jq filter applied to this tool's JSON response; it never changes the request, and several outputs come back as an array. For field names see the tool description, or probe with `keys` / `.[0] | keys`.