Skip to main content
PATCH
Edit opening stock or correct closed_at

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

id
integer
required

Mesa ID

periodId
integer
required

Period ID

Body

application/json
opening_quote
number

Signed quote inventory carry. Negative = net long quote leftover.

Example:

-7016

opening_local
number
opening_fx
number | null

Required when opening stock is not zero (local per 1 quote)

Example:

1540

closed_at
string<date-time>

Late-close correction on a closed period. Same overlap rules as POST close.

Response

Updated open period

mesa
object

FX trading desk. created_by is null for x-api-key creates. account_ids are internal (Client.type=0) accounts unique to one mesa.

Example:
period
object

Trading session. opened_by / closed_by are null for x-api-key callers.

Example: