Advance to the next market session
advance_until_next_sessionRepeatedly advance an authenticated run without new orders until the trading date changes, the run ends, or max_bars is reached. This bounded helper compresses session-boundary waiting while preserving one-bar simulation steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Run UUID returned by start_run. | |
| max_bars | No | Maximum one-bar advances before stopping; defaults to 32 and acts as a safety cap. |