Close a market session
close_sessionEnd an open session to free memory and return each agent's final portfolio plus all orders sent, enabling exact re-runs from open_session. The session and checkpoints are then removed.
Instructions
Close an open session and free its memory, returning each agent's final portfolio and every order sent on the session's line, which is what re-runs it from open_session. The session and its checkpoints are gone afterwards. Runs no market.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | A session id exactly as open_session or session_fork returned it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||