본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

mt5-httpapi

psyb0t 제작

Shopping & E-commerce
907clawskills.sh가 보고한 다운로드 수
3스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

MetaTrader 5 trading via REST API — get market data, place/modify/close orders, manage positions, pull history.

설명

이 스킬이 하는 일

Wraps MetaTrader 5 in a REST API so you can place trades, manage positions, and pull market data over plain HTTP. Runs alongside an MT5 terminal inside a Windows environment and exposes forex, crypto, and stock market operations via JSON.

Removes the need for MQL5 scripting or Python MT5 bindings by exposing the full trading lifecycle through standard HTTP calls from any language or system.

사용 시점

  • Automating entry orders based on technical indicator signals
  • Fetching live tick data for a custom trading algorithm
  • Closing all open positions before a scheduled market event
  • Adjusting stop-loss levels dynamically as price moves
  • Pulling daily deal history for P&L reporting

예시 워크플로

입력

User asks: Place a 0.1 lot BUY on EURUSD with SL at 1.08 and TP at 1.10

에이전트
  1. 1

    GET /account to verify trade_allowed is true

  2. 2

    GET /symbols/EURUSD to confirm trade_mode is 4 and note trade_contract_size

  3. 3

    GET /terminal to confirm connected is true

  4. 4

    POST /orders with symbol EURUSD, type BUY, volume 0.1, sl 1.08, tp 1.10

  5. 5

    Check retcode in response — 10009 confirms execution

출력

Order filled at market price, deal and order IDs returned with ticket numbers

요구 사항

  • MT5_API_URL environment variable pointing to the running API server
  • mt5-httpapi server installed and running (github.com/psyb0t/mt5-httpapi)
  • MetaTrader 5 terminal with a live or demo broker account
  • Windows environment or VM to host MetaTrader 5

설치

clawhub install psyb0t/mt5-httpapi

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크