Single-use handle for reserved pre-trade state.
lock() and accountAdjustments() may be read while the reservation is live. commit() and rollback() each consume the handle; calling either a second time (or after the other) throws LifecycleError.
lock()
accountAdjustments()
commit()
rollback()
LifecycleError
Returns the account adjustments produced by this reservation.
Throws LifecycleError when the reservation has been finalized.
Commits the reserved state.
Throws LifecycleError when the reservation has already been finalized.
Returns the lock payload accumulated for this reservation.
Rolls back the reserved state.
Single-use handle for reserved pre-trade state.
lock()andaccountAdjustments()may be read while the reservation is live.commit()androllback()each consume the handle; calling either a second time (or after the other) throwsLifecycleError.