通过远程 MCP 服务器进行交易¶
本指南涵盖了通过 cTrader 远程 MCP 服务器下单、管理和平仓的基本工具和提示示例。
警告
AI 代理可以执行实际交易。 您可以将客户端配置为对每个交易操作请求确认。
提示
当与您的AI代理开始新会话时,请在提示开头使用使用cTrader远程MCP服务器...。 这有助于确保代理调用 MCP 服务器,而不是将请求路由到网络搜索。
下单 ¶
市价单 ¶
Buy 1 lot of EURUSD at market.
Sell 0.5 lots of GBPUSD at market price.
限价单 ¶
Place a limit buy on EURUSD at 1.1200 for 1 lot.
止损单 ¶
Place a sell stop on EURUSD at 1.1100 for 1 lot.
止损和止盈 ¶
Buy 1 lot of EURUSD at market with a stop loss at 1.1150
and take profit at 1.1300.
Place a limit buy on GBPUSD at 1.3200 for 0.5 lots
with a 50-pip stop loss and 100-pip take profit.
标签和备注 ¶
Buy 1 lot of EURUSD at market.
Label it 'swing-trade' and add the comment 'Breakout entry'.
查看仓位 ¶
Show me all my open positions.
Show me the details of position 456789
including its related orders and deals.
Do I have any open positions on EURUSD?
管理仓位 ¶
修改止损和止盈 ¶
Set the stop loss on position 456789 to 1.1100.
Move the take profit on position 456789 to 1.1400.
Remove the stop loss from position 456789.
平仓 ¶
全部平仓 ¶
Close position 456789.
部分平仓 ¶
Close half of position 456789.
Close 0.5 lots of position 456789.
条件平仓 ¶
Close all positions that are losing more than $500.
Close all EURUSD positions.
管理挂单 ¶
查看订单 ¶
Show me all my pending orders.
修改订单 ¶
Change the limit price on order 987654 to 1.1180
and increase the volume to 2 lots.
取消订单 ¶
Cancel order 987654.
Cancel all my pending orders on GBPUSD.
交易量参考 ¶
交易量以基础资产的单位表示。 对于标准外汇货币对,1 手等于 100,000 单位。
| 您说 | 含义 |
|---|---|
| 1 手 | 100,000 单位 |
| 0.1 手 | 10,000 单位 |
| 0.01 手 | 1,000 单位 |
注意
对于金属、指数和加密货币,手数大小因交易品种而异。 代理从交易品种详情中读取正确的大小。
警告
MCP 服务器是一个 AI 辅助交易工具,不提供财务、投资、法律或税务建议。 AI 生成的操作可能会触发实际交易并导致亏损。 用户全权负责验证输出、监督策略、保护凭证安全以及自行承担使用 MCP 服务器的风险。