{"repo":"DevRico003/mt5-rest-api","free":true,"listed":false,"github":"https://github.com/DevRico003/mt5-rest-api","clone":"git clone https://github.com/DevRico003/mt5-rest-api.git","description":"Turn MetaTrader 5 into a REST API server for algorithmic trading - supports historical candles, account data, and trade execution via HTTP.","language":"MQL4","stars":11,"topics":["ai-agents","algorithmic-trading","candlestick-data","forex","metatrader5","mql5","mt5","ohlcv","rest-api","trading"],"license":null,"category":"trading","readme_excerpt":"MT5 REST API Turns MetaTrader 5 into a REST API server for algorithmic trading. Requirements - MetaTrader 5 (64-bit) - Visual C++ Redistributable 2017: https://aka.ms/vs/15/release/vc redist.x64.exe Installation 1. Clone repo to any folder on your PC 2. Copy MQL5 folder to MT5 Data folder ( File → Open Data Folder or Ctrl+Shift+D ) 3. Copy all DLLs from MQL5/Libraries/ to the same location 4. In MT5 Navigator ( Ctrl+N ), right-click Expert Advisors → RestApi → Modify 5. Press F7 to compile 6. Drag EA onto a chart EA Configuration Parameter Description Example ----------- ------------- --------- host Listen address http://YOUR SERVER IP port Port number 6542 AuthToken Authentication token your-secret-token Important: On Windows, use your server IP instead of http://0.0.0.0 API Endpoints All endpoints require Authorization header with your token. Account & Info Endpoint Method Description ---------- -------- ------------- /info GET Account details, balance, equity, margin /balance GET Balance, equity, margin info /symbols/{name} GET Symbol info including ask/bid prices Positions & Orders Endpoint Method Description ---------- -------- ------------- /positions GET List all open positions /positions/{id} GET Get position by ID /orders GET List pending orders /orders/{id} GET Get order by ID /history GET List order history /history/{id} GET Get history order by ID /deals GET List deals (query: offset , limit ) /deals/{id} GET Get deal by ID Historical Data (OHLCV) Endpoint Method ","default_branch":null,"files":null,"tree":[],"storefront":"/r/DevRico003","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/DevRico003/mt5-rest-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}