trading_agent.terminal.widgets.steering_view
¶
A message the user sent while a turn was running, shown inside that turn.
Typical usage example:
view = SteeringView(step) view.show(step)
SteeringView
¶
Bases: Static
The steering message and whether it reached the running turn.
Creates the view.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
step
|
SteeringStep
|
The steering step. |
required |
Source code in src/trading_agent/terminal/widgets/steering_view.py
show
¶
Updates the view.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
step
|
SteeringStep
|
The steering step, perhaps with a new outcome. |
required |