OptionalarmedOptionalcapabilitiesHost restrictions combined with the feed's, rechecked before every write.
OptionalclockWall clock in UTC seconds, for expiry checks. Default Date.now() / 1000.
OptionalconfirmApproves close, reverse and bracket commands when not armed. Omitted declines them.
OptionalfeaturesHost restrictions on the newer operations, combined with the feed's features; either can refuse.
OptionalgateOptionalidOptionalmaxHow many settled orders stay readable before the oldest are dropped. A trading session is a long-lived page and the per-order maps used to grow for its whole life. 0 drops each order the moment it settles.
OptionalminOptionalmodeOptionalnowOptionalonCalled for modify validation and unsupported modify/cancel operations.
OptionalselectedThe account selection. When set, every order and command is stamped with
it, one naming another account is refused, and a change while confirming
sends nothing. Pass the account view itself (an AccountManager) and a
selection from the other ledger is refused as well: a bare id cannot say
whether it is a live account about to take a sandbox order.
Armed = fire immediately; otherwise the gate must approve each order.