Rewind a market session
session_rewindRestore an open tradefloor session to a saved checkpoint by step, discard all later checkpoints, and return the session state. Fork first to keep later state.
Instructions
Put an open session back to a checkpoint it kept, by step, and drop every checkpoint after it. Checkpoints are kept at the open and at the end of every session_step call; session_state lists them, and a session keeps at most 64. To keep the later state as well, session_fork first. Returns the session as session_state does. Runs no market.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | The step to return to, one of the session's checkpoints. | |
| session_id | Yes | A session id exactly as open_session or session_fork returned it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||