MCP 工具参考(全量自动生成)¶
auto-generated
本文件由 FutuOpenD-rs 自动生成工具产出, 跟随 daemon 每个 release 版本更新.
本索引覆盖 310 个公开工具。分组页面列出 scope / Python SDK 等价 /
参数 / alias 支持 / enum 双接(int OR string)/ deny_unknown_fields 行为 /
runtime validate 规则 / JSON-RPC 调用示例。
约定¶
- Scope: 决定该 tool 需要什么权限(
qot:read/acc:read/trade:real | trade:simulate/trade:unlock)。MCP key 的scopes数组必须涵盖。缺失 → MCPCallToolResult.is_error=true+{"error": "unknown MCP tool …", "status": "error"}或unauthorized。 - Python SDK 等价: 对应 py-futu-api 哪个接口——方便从 Python 迁移。
- 必填列:
✅表示字段必填- ✓ 默认
xxx表示 serde 层有#[serde(default = "xxx")]fallback —表示Option<T>可省略
- Alias: 为兼容 py-futu-api / 旧 client 添加的同义字段名, deprecated — 新代码请用主字段名(表头第一列)。
- 未知字段: 启用
deny_unknown_fields——typo 字段名(如stockvs 新路径symbol)返unknown fielderror 而不再 silent drop (防 silent-success 反模式)。 - Enum 双接:
market/sub_types/order_type/kl_type/op(price reminder)等字段同时接受整数 enum和字符串名。 具体接受值见每字段说明。 - 返回: 所有 tool 返 JSON 文本;失败时 MCP 协议层
is_error=true+ content 含{"error": "...", "status": "error"}。
共通错误码¶
| 错误 | 典型来源 |
|---|---|
unknown MCP tool … |
tool 名拼错, 或 daemon 版本不支持该 tool (检查 futu-opend --version) |
unauthorized |
API key 缺对应 scope |
gateway connect failed: … |
futu-opend 未启动 / 端口不对 |
unknown field \"…\" |
deny_unknown_fields 命中(typo 字段名) |
backend proto 错(ret_type != 0) |
原始 JSON 结构 ret_msg 携带具体原因 |
快速跳转¶
- 系统 / 状态 — 7 tool(s)
- 行情订阅 — 4 tool(s)
- 行情查询 — 31 tool(s)
- 板块 / 筛选 / 元数据 — 21 tool(s)
- 参考资料 / 衍生品 — 73 tool(s)
- 市场排行 / 情绪 — 13 tool(s)
- 新闻 / 公告 — 12 tool(s)
- 日历 / 宏观经济 — 11 tool(s)
- 机构 / 持仓研究 — 11 tool(s)
- 自选股 / 私有备注 — 6 tool(s)
- 到价 / 事件提醒 — 12 tool(s)
- 交易账户 — 67 tool(s)
- 交易写入 — 30 tool(s)
- 量化云文档 / 运行数据 — 12 tool(s)
工具名索引(字母顺序)¶
futu_algo_order_logsfutu_batch_close_positionsfutu_begin_forex_unlockfutu_bond_screenfutu_cancel_all_orderfutu_cancel_forex_orderfutu_cancel_orderfutu_cancel_order_groupfutu_clear_futures_positionsfutu_complete_forex_unlockfutu_confirm_forex_orderfutu_create_quant_cloud_archivesfutu_create_quant_cloud_strategiesfutu_delete_order_groupfutu_delete_quant_cloud_archivesfutu_delete_quant_cloud_strategiesfutu_etf_screenfutu_fund_screenfutu_future_screenfutu_get_acc_cash_flowfutu_get_account_auto_exchange_settingfutu_get_account_financing_settingfutu_get_account_flagfutu_get_account_foreign_exchange_settingfutu_get_account_local_exchange_settingfutu_get_alert_system_notify_settingfutu_get_ark_active_transactionfutu_get_ark_fund_holdingfutu_get_ark_stock_dynamicfutu_get_asset_trendfutu_get_biz_groupfutu_get_bond_account_positionsfutu_get_bond_answer_statefutu_get_bond_position_listfutu_get_bond_quote_infofutu_get_bond_redemptionsfutu_get_bond_single_assetfutu_get_bond_total_assetfutu_get_bond_trade_reminderfutu_get_brokerfutu_get_broker_option_strategiesfutu_get_broker_total_assetsfutu_get_calendar_future_spreadsfutu_get_calendar_future_underlyingsfutu_get_capital_distributionfutu_get_capital_flowfutu_get_cash_detailfutu_get_cash_logfutu_get_cash_sweep_configurationfutu_get_cash_sweep_redemption_capacityfutu_get_cbbc_basic_infofutu_get_cbbc_distributionfutu_get_chip_distributionfutu_get_code_changefutu_get_combo_max_trd_qtysfutu_get_common_reminder_business_infofutu_get_common_reminder_itemsfutu_get_common_reminder_settingsfutu_get_company_executive_backgroundfutu_get_company_executivesfutu_get_company_operational_efficiencyfutu_get_company_profilefutu_get_corporate_actions_buybacksfutu_get_corporate_actions_dividendsfutu_get_corporate_actions_stock_splitsfutu_get_daily_short_volumefutu_get_dealsfutu_get_delay_statisticsfutu_get_derivative_unusualfutu_get_dividend_calendarfutu_get_dividend_rankfutu_get_earnings_beat_rankfutu_get_earnings_calendarfutu_get_earnings_expected_movefutu_get_economic_calendarfutu_get_fed_watch_dot_plotfutu_get_fed_watch_target_ratefutu_get_financial_calendarfutu_get_financial_unusualfutu_get_financials_earnings_price_historyfutu_get_financials_earnings_price_movefutu_get_financials_revenue_breakdownfutu_get_financials_statementsfutu_get_flow_summaryfutu_get_forex_account_quote_contextfutu_get_forex_accountsfutu_get_forex_assetsfutu_get_forex_constituentsfutu_get_forex_order_detailfutu_get_forex_ordersfutu_get_forex_ratesfutu_get_forex_risk_controlfutu_get_forex_symbol_configsfutu_get_forex_unlock_statusfutu_get_fractional_share_whitelistfutu_get_fund_account_positionsfutu_get_fund_investment_distributionfutu_get_fund_position_detailsfutu_get_fund_top_holdingsfutu_get_fundsfutu_get_future_infofutu_get_future_position_breakdownfutu_get_future_subpositionsfutu_get_global_statefutu_get_heat_map_datafutu_get_high_dividend_soe_rankfutu_get_history_dealsfutu_get_history_kl_quotafutu_get_history_klinefutu_get_history_ordersfutu_get_holding_changefutu_get_holiday_calendarfutu_get_hot_listfutu_get_hot_newsfutu_get_indicator_listfutu_get_industrial_chain_by_platefutu_get_industrial_chain_detailfutu_get_industrial_chain_listfutu_get_industrial_plate_infofutu_get_industrial_plate_stockfutu_get_insider_holder_listfutu_get_insider_trade_listfutu_get_institution_distributionfutu_get_institution_holding_changefutu_get_institution_holding_listfutu_get_institution_listfutu_get_institution_profilefutu_get_ipo_calendarfutu_get_ipo_listfutu_get_klinefutu_get_kline_patternfutu_get_kline_pattern_catalogfutu_get_kline_pattern_performancefutu_get_kline_pattern_statisticsfutu_get_kline_pattern_stocksfutu_get_latest_newsfutu_get_legacy_future_fee_configfutu_get_macro_indicator_historyfutu_get_macro_indicator_listfutu_get_margin_infofutu_get_margin_rankingfutu_get_margin_ratiofutu_get_market_statefutu_get_market_trading_sessionsfutu_get_max_trd_qtysfutu_get_multi_day_volume_averagesfutu_get_news_push_settingsfutu_get_news_translationfutu_get_option_chainfutu_get_option_chain_metadatafutu_get_option_combo_eligibilityfutu_get_option_earnings_screenerfutu_get_option_eventfutu_get_option_event_alertfutu_get_option_event_detailfutu_get_option_exercise_probabilityfutu_get_option_expiration_datefutu_get_option_gex_by_strikefutu_get_option_gex_profilefutu_get_option_iv_smilefutu_get_option_iv_term_structurefutu_get_option_market_statisticfutu_get_option_quotefutu_get_option_rankfutu_get_option_seller_screenerfutu_get_option_strategyfutu_get_option_strategy_analysisfutu_get_option_strategy_spreadfutu_get_option_strike_pricesfutu_get_option_underlying_his_statisticfutu_get_option_underlying_his_volatilityfutu_get_option_underlying_overviewfutu_get_option_underlying_rankfutu_get_option_volatilityfutu_get_option_volume_interest_distributionfutu_get_option_zero_dte_contractfutu_get_option_zero_dte_screenerfutu_get_order_datesfutu_get_order_feefutu_get_order_fill_detailsfutu_get_order_relationsfutu_get_orderbookfutu_get_ordersfutu_get_owner_platefutu_get_period_change_rankfutu_get_platform_announcementsfutu_get_platform_announcements_by_idsfutu_get_position_corporate_actionsfutu_get_positionsfutu_get_premium_entitlementsfutu_get_price_reminderfutu_get_quant_cloud_archivesfutu_get_quant_cloud_quotafutu_get_quant_cloud_strategiesfutu_get_quant_running_datafutu_get_quant_running_inventoryfutu_get_quotefutu_get_quote_rightsfutu_get_rating_changefutu_get_referencefutu_get_rehabfutu_get_related_stocksfutu_get_reminder_settingsfutu_get_research_analyst_consensusfutu_get_research_morningstar_reportfutu_get_research_rating_summaryfutu_get_return_calendarfutu_get_rise_fall_distributionfutu_get_risk_free_ratefutu_get_rtfutu_get_security_trading_sessionsfutu_get_shareholders_holder_detailfutu_get_shareholders_holding_changesfutu_get_shareholders_institutionalfutu_get_shareholders_overviewfutu_get_short_interestfutu_get_short_selling_rankfutu_get_silver_bond_dividendsfutu_get_snapshotfutu_get_spread_tablefutu_get_staticfutu_get_stock_advanced_indicatorsfutu_get_stock_filterfutu_get_stock_holdingsfutu_get_stock_newsfutu_get_stock_note_labelsfutu_get_stock_notesfutu_get_sub_account_fill_quantitiesfutu_get_suspendfutu_get_symbol_history_fillsfutu_get_symbol_history_ordersfutu_get_symbol_trade_countsfutu_get_tape_reading_eventsfutu_get_tape_reading_statisticsfutu_get_technical_unusualfutu_get_tickerfutu_get_ticker_statisticfutu_get_ticker_statistic_detailfutu_get_today_fill_statisticsfutu_get_token_statefutu_get_top_movers_rankfutu_get_top_ten_buy_sell_brokersfutu_get_trade_password_statefutu_get_trading_daysfutu_get_transaction_fee_planfutu_get_us_after_hours_rankfutu_get_us_overnight_rankfutu_get_us_pre_market_rankfutu_get_used_quotafutu_get_user_infofutu_get_user_securityfutu_get_user_security_groupfutu_get_valuation_detailfutu_get_valuation_plate_stock_listfutu_get_warrantfutu_get_watchlist_announcementfutu_get_watchlist_newsfutu_get_watchlist_ratingfutu_get_wealth_holdingsfutu_get_yield_trendfutu_list_accountsfutu_list_platesfutu_lock_forex_tradefutu_modify_algo_orderfutu_modify_forex_orderfutu_modify_orderfutu_modify_order_groupfutu_modify_user_securityfutu_mutate_reminder_settingsfutu_option_screenfutu_pingfutu_place_algo_orderfutu_place_combo_orderfutu_place_orderfutu_place_order_groupfutu_plate_stocksfutu_preview_forex_marginfutu_preview_order_impactfutu_push_subscriber_infofutu_query_subscriptionfutu_reconfirm_orderfutu_request_hk_option_quotefutu_reverse_positionfutu_roll_positionfutu_search_newsfutu_search_quotefutu_search_target_financial_calendarfutu_set_account_auto_exchange_settingfutu_set_account_financing_settingfutu_set_account_foreign_exchange_settingfutu_set_account_local_exchange_settingfutu_set_alert_system_notify_settingfutu_set_common_remindersfutu_set_forex_position_stopsfutu_set_news_push_settingsfutu_set_option_event_alertfutu_set_price_reminderfutu_set_stock_notefutu_set_tape_reading_subscriptionfutu_stock_screenfutu_sub_acc_pushfutu_subscribefutu_unlock_tradefutu_unsub_acc_pushfutu_unsubscribefutu_update_quant_cloud_archivefutu_update_quant_cloud_strategyfutu_upsert_quant_running_datafutu_verificationfutu_warrant_screen