Skip to main content
POST
Open a mesa period

Authorizations

x-api-key
string
header
required

API Key for authentication

Path Parameters

id
integer
required

Mesa ID

Body

application/json
opening_quote
number

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

Example:

-7016

opening_local
number
Example:

1000000

opening_fx
number | null

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

Example:

1200

opened_at
string<date-time> | null

ISO instant. Defaults to 05:00 ART of today (08:00Z). Avoid 00:00 UTC/ART — those midnights cross the Argentine day boundary.

Example:

"2026-03-01T08:00:00.000Z"

Response

Period opened

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

id
integer
Example:

5

mesa_id
integer
Example:

1

status
enum<string>
Available options:
open,
closed
opened_at
string<date-time>
closed_at
string<date-time> | null
opening_local
number
Example:

1000000

opening_fx
number | null
Example:

1200

closing_local
number | null
closing_avg_fx
number | null
pnl_local
number | null
pnl_quote
number | null
closing_report
object | null
opened_by
integer | null
Example:

null

closed_by
integer | null
Example:

null

created_at
string<date-time>
updated_at
string<date-time>