fxsocket-batch

Batch close

Close by selector (or explicit tickets) across several accounts at once (at most 20 accounts, 20 orders each; more come back skipped).

Each account entry is a selector (symbol required, * for all, typed literally; symbol_match exact or base to accept broker suffixes like .sd / m; side long, short or any; kind position (default), pending or any; magic) or an explicit tickets list, never both. volume closes part of each matched position. Accounts run concurrently; the tickets of one account run in sequence.

Account status: closed, partial, failed, nothing_matched (not an error), unavailable / unreachable / invalid (the lookup failed, so nothing is known), timeout (orders may have closed). Ticket status: closed, rejected, invalid, unavailable, unreachable, timeout (may have closed), skipped (never sent). A ticket that was already gone counts as closed with a message saying so. Errors and Idempotency-Key work as on POST /v1/orders.

post/orders/close

Request

  • Base URL: https://api.tickwire.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.tickwire.io/orders/close
  • Auth: none declared

Headers

X-API-Keystring nullable
Authorizationstring nullable
auth-tokenstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.