| Field | Value |
| Name | Authorization |
| Value | Bearer mt5_live_... |
| Setting | Value |
| Method | GET |
| URL | https://api.fivesocket.com/v1/accounts/acc_.../snapshot |
| Authentication | The Header Auth credential |
snapshot returns the balance, open positions and recent trades in one response, so one node covers a monitoring workflow:12345678{ "accountId": "acc_...", "observedAt": "2026-11-28T10:00:05.412Z", "balance": { "balance": "10000.00", "equity": "10012.50", "currency": "USD" }, "positions": [ { "id": "19283746", "symbol": "EURUSD", "side": "buy", "volume": "0.10", "profit": "18.40" } ] }
{{ $json.balance.equity }}.202 response with the code account_warming means the session is logging in to your broker. Turn on Retry On Fail in the node's settings, with a wait of five seconds, so the node repeats the read.POST with a JSON body such as:1{ "token": "a-long-random-string", "id": "alert-1042", "symbol": "EURUSD", "side": "buy", "volume": "0.10" }
{{ $json.body.token }} equals your stored token.| Setting | Value |
| Method | POST |
| URL | https://api.fivesocket.com/v1/accounts/acc_.../execution/orders |
| Authentication | The Header Auth credential, from a key with trading:execute |
| Send Headers | Idempotency-Key: {{ $json.body.id }} |
| Send Body | JSON, using the body below |
1234567{ "clientOrderId": "{{ $json.body.id }}", "symbol": "{{ $json.body.symbol }}", "side": "{{ $json.body.side }}", "type": "market", "volume": "{{ $json.body.volume }}" }
12345curl -X POST https://api.fivesocket.com/v1/accounts/acc_.../execution/orders \ -H "Authorization: Bearer $FIVESOCKET_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: alert-1042" \ -d '{"clientOrderId":"alert-1042","symbol":"EURUSD","side":"buy","type":"market","volume":"0.10"}'
PUT /v1/accounts/{accountId}/execution and a symbol allowlist. TradingView alerts shows the request.clientOrderId is 1 to 31 characters from letters, digits, ., _, : and -, and must be unique for the account.Idempotency-Key and the same body does not send the order twice.volume and prices are decimal strings such as "0.10".outcome: "commit_unknown" means the broker's reply was lost. Poll GET /v1/accounts/{accountId}/execution/commands/{commandId} and do not send a new order.