Skip to main content
POST
/
mt5
/
update
/
orders
curl -X POST https://api-verifier-2.onrender.com/mt5/update/orders \
  -H "Content-Type: application/json" \
  -d '{
    "accountNumber": "12345678",
    "orders": [
      {
        "ticket": 123456,
        "symbol": "EURUSD",
        "type": "buy",
        "volume": 0.1,
        "openPrice": 1.0850,
        "currentPrice": 1.0875,
        "profit": 25.00,
        "openTime": "2024-01-15T10:30:00.000Z"
      }
    ]
  }'
{
  "status": "ok",
  "message": "Orders updated"
}

Request body

accountNumber
string
required
MT5 account number
orders
array
required
Array of open orders/positions

Response

status
string
Operation status (“ok” or “error”)
message
string
Status message
curl -X POST https://api-verifier-2.onrender.com/mt5/update/orders \
  -H "Content-Type: application/json" \
  -d '{
    "accountNumber": "12345678",
    "orders": [
      {
        "ticket": 123456,
        "symbol": "EURUSD",
        "type": "buy",
        "volume": 0.1,
        "openPrice": 1.0850,
        "currentPrice": 1.0875,
        "profit": 25.00,
        "openTime": "2024-01-15T10:30:00.000Z"
      }
    ]
  }'
{
  "status": "ok",
  "message": "Orders updated"
}