curl -X POST https://api-verifier-2.onrender.com/mt5/update/history \
-H "Content-Type: application/json" \
-d '{
"accountNumber": "12345678",
"closedPositions": [
{
"ticket": 123455,
"symbol": "GBPUSD",
"type": "sell",
"volume": 0.5,
"openPrice": 1.2650,
"closePrice": 1.2600,
"profit": 250.00,
"openTime": "2024-01-14T08:00:00.000Z",
"closeTime": "2024-01-15T14:30:00.000Z"
}
]
}'
{
"status": "ok",
"message": "History updated"
}
Update MT5 closed positions history
curl -X POST https://api-verifier-2.onrender.com/mt5/update/history \
-H "Content-Type: application/json" \
-d '{
"accountNumber": "12345678",
"closedPositions": [
{
"ticket": 123455,
"symbol": "GBPUSD",
"type": "sell",
"volume": 0.5,
"openPrice": 1.2650,
"closePrice": 1.2600,
"profit": 250.00,
"openTime": "2024-01-14T08:00:00.000Z",
"closeTime": "2024-01-15T14:30:00.000Z"
}
]
}'
{
"status": "ok",
"message": "History updated"
}
Show position object
curl -X POST https://api-verifier-2.onrender.com/mt5/update/history \
-H "Content-Type: application/json" \
-d '{
"accountNumber": "12345678",
"closedPositions": [
{
"ticket": 123455,
"symbol": "GBPUSD",
"type": "sell",
"volume": 0.5,
"openPrice": 1.2650,
"closePrice": 1.2600,
"profit": 250.00,
"openTime": "2024-01-14T08:00:00.000Z",
"closeTime": "2024-01-15T14:30:00.000Z"
}
]
}'
{
"status": "ok",
"message": "History updated"
}