ローカル MCP サーバー経由の取引¶
このガイドでは、cTrader ローカル MCP サーバーを通じて取引を実行、管理、決済するための基本的なツールとプロンプト例について説明します。
警告
AIエージェントは、cTraderで実際の取引を実行できます。 ローカル MCP サーバーを設定して、すべての取引操作に対して確認を要求することができます。
ヒント
AIエージェントとの新しいセッションを開始する際は、プロンプトを cTraderローカルMCPサーバーを使用して... で始めてください。 これにより、エージェントがWeb検索にリクエストをルーティングする代わりに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.
ストップリミット注文 ¶
Place a buy stop-limit on EURUSD: trigger at 1.1250,
limit at 1.1255, 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.
取引高の参照 ¶
取引高は、基準通貨の単位で表されます。 標準的な外国為替ペアの場合、1ロットは100,000単位に相当します。
| お客様の入力 | 意味 |
|---|---|
| 1ロット | 100,000 ユニット |
| 0.1ロット | 10,000 ユニット |
| 0.01ロット | 1,000 ユニット |
注意
貴金属、インデックス、暗号資産のロットサイズは通貨ペアによって異なります。 エージェントは通貨ペアの詳細から正しいサイズを読み取ります。
警告
MCPサーバーはAI支援取引のためのツールであり、財務、投資、法律、税務に関するアドバイスを提供するものではありません。 AIが生成したアクションは実際の取引を引き起こし、損失をもたらす可能性があります。 ユーザーは、出力の検証、戦略の監督、認証情報の保護、および自己責任でのMCPサーバーの使用について単独で責任を負います。