القائمة

    تحذير المخاطر: يحمل تداول منتجات العقود مقابل الفروقات (CFD) مستوى عالياً من المخاطر وقد لا يكون مناسباً لجميع المستثمرين.

    Built for Agent Trading

    Agent Trading on XBTFX

    Connect any AI agent to your trading account. Execute trades, manage positions, and stream market data through natural language.

    XBTFX Trading Agent
    online · executing trades
    Today
    Buy 0.10 lots EURUSD with a 30 pip stop loss
    10:24 ✓✓
    Executed. Bought 0.10 EURUSD at 1.0865. Stop loss set at 1.0835. Ticket #184729.
    10:24
    What's my current P&L?
    10:31 ✓✓
    3 open positions.
    Floating P&L: +$42.50
    Margin usage: 12%
    10:31
    Move all stops to breakeven on positions in profit
    10:42 ✓✓
    Done. Updated SL to entry price on 2 positions:
    EURUSD #184729
    GBPUSD #184731
    10:42
    Message the agent…
    Integration Paths Icon
    3+
    Integration Paths
    Instruments Icon
    400+
    Instruments
    24/7 Market Access Icon
    24/7
    Market Access
    REST + WS Protocol Icon
    REST + WS
    Protocol

    How AI Trading Works

    Three paths to connect AI to your XBTFX account. Choose the one that fits your workflow.

    Skills Hub

    Install a skill file into Claude Code, LangChain, CrewAI, or any agent framework. The skill teaches your AI how to use the XBTFX Trading API.

    View Skills →

    MCP Server

    Connect the XBTFX MCP server to Claude Desktop, Cursor, Windsurf, or VS Code Copilot. Your AI gets direct access to trading tools.

    Learn More →

    Direct API

    Build custom integrations using REST endpoints and WebSocket. Any language, any framework. Full programmatic control.

    API Docs →

    What You Can Do

    Execute Trades via Natural Language

    Tell your AI to buy, sell, set stops, take profits. It translates to API calls automatically.

    Automated Risk Management

    AI monitors your positions, adjusts stop losses, reduces exposure when margin gets tight.

    Portfolio Rebalancing

    Define target allocations. AI maintains them by sending adjustment trades when drift exceeds your threshold.

    Event-Driven Strategies

    AI watches news feeds, economic calendars, and price action — executing trades when conditions are met.

    Trade History Analysis

    Ask your AI to analyze past trades, calculate win rates by symbol, and identify your best setups.

    Real-Time Market Monitoring

    Stream live quotes via WebSocket. AI alerts you to price levels, spread changes, or volatility spikes.

    Works with Your Favorite AI Tools

    Any tool that can make HTTP requests or connect via MCP can trade on XBTFX.

    Claude Code Claude Desktop Cursor Windsurf VS Code Copilot LangChain CrewAI Custom Bots

    Start AI Trading in 3 Steps

    1
    Create Account
    Register at my.xbtfx.com and open a trading account. Choose your preferred base currency.
    Sign Up
    2
    Get Your API Key
    Generate a key at console.xbtfx.com. Free, instant. One key per trading account.
    Open Console
    3
    Connect Your AI
    Install a skill, connect MCP, or call the API directly. Start trading in minutes.
    Read Docs
    FAQ

    Frequently
    Asked Questions

    Frequently Asked Questions

    • What is AI trading?

      AI trading uses artificial intelligence to execute trades, manage positions, and analyze markets on your behalf. On XBTFX, you connect any AI agent to your trading account through the XBTFX Trading API.

    • Do I need programming experience?

      Not necessarily. With the MCP Server, you can connect AI assistants like Claude or Cursor without writing code. For custom strategies, basic programming knowledge helps.

    • Is AI trading free on XBTFX?

      Yes. The Trading API is included with every account at no additional cost. You only pay standard trading commissions and spreads.

    • Which AI assistants work with XBTFX?

      Any AI that can make HTTP requests. Officially supported: Claude Code, Claude Desktop, Cursor, Windsurf, LangChain, CrewAI. The MCP server works with any MCP-compatible client.

    • Can AI trade crypto on XBTFX?

      Yes. Every instrument on your account is accessible via the API, including cryptocurrency CFDs. You can also use BTC, ETH, or USDT denominated accounts.

    • Is it safe to let AI trade my account?

      API keys are stored locally by the agent. You can revoke access instantly from the Console. We recommend starting with a demo account to test your setup.

    • What markets can AI trade?

      Forex, crypto, metals, indices, stocks, and energies. Over 400 instruments accessible through the same API.

    • How do I get started?

      Register at my.xbtfx.com, create a trading account, generate an API key at console.xbtfx.com, then connect your AI agent using the Skills Hub, MCP Server, or direct API integration.

    Risk Warning

    Trading leveraged CFD products carries a high level of risk and may not be suitable for all investors. Automated trading via API does not eliminate risk — algorithmic strategies can amplify losses as well as gains. You may lose some or all of your invested capital. Ensure you fully understand the risks before trading. Please read our Risk Disclosure Notice.

    Start AI Trading with XBTFX

    Create an account, get your API key, and connect your AI in minutes.