SessionCommon
idstringRequireduserstringRequiredexternal_user_refstringYour ref for the user; left out when the user is no longer linked.
external_refstringRequiredNullableA session's labels: up to 20; keys 1–64 letters, digits or _ . : -; string values up to 200 characters. Never interpreted; filter on them with label.<key>=<value>.
namestringRequiredactive; locked (by you or Chartnaut; a demo account also locks when its user unlinks);
and the final ones: ended (you, the user, Chartnaut or a session's time cap ended it;
status_reason says who), breached (a close_and_end rule fired),
completed_to_target (the profit target was reached; everything was closed). A
block_order breach refuses new orders but leaves the status active.
status_reasonstringRequiredWho set the status (e.g. partner, admin, rule, time_cap); empty when nobody has.
created_atstring (date-time)Requiredlocked_atstring (date-time)Left out when not locked.
ended_atstring (date-time)Left out until it ends.
replay_timestring (date-time)RequiredNullableThe replay clock as last saved.
locked_replay_timestring (date-time)Where a lock or end froze the replay. Left out otherwise.
startstring (date-time)Where the replay begins.
endstring (date-time)NullableWhere the replay stops; null when the session plays on to the latest data.
dayobjectRequiredDeprecatedThe same window as start and end, under its older name.
Show fields
startstring (date-time)Requiredendstring (date-time)RequiredNullableinstrumentsarray of stringRequiredA decimal amount in the account currency (USD), at most two decimal places.
currencystringRequiredleveragenumberRequiredcommissionobject · CommissionCharged per side on every market: fixed per unit (lot, contract, share; 0–1,000), or percentage of the side's notional (0–100).
Show fields
typestringRequiredvaluenumberRequiredtime_cap_minutesintegerLeft out when there is no cap.
opened_atstring (date-time)When a page first opened it (the time cap runs from here). Left out until then.
time_cap_ends_atstring (date-time)Left out without a cap or before the first open.
blindbooleanRequiredallow_skipbooleanRequiredWhat the developer's page may drive in this session through the terminal SDK: none (the default), replay (play, pause, step, speed, jump, hold) or replay_and_orders (also place orders).
