trading_agent.terminal.widgets.request_step_view
¶
A question, plan or permission request the desk made during a turn, with its answer once given.
The request itself is answered in the request dock above the message box; this line records it in the transcript.
Typical usage example:
view = RequestStepView(step) view.show(step)
RequestStepView
¶
Bases: Static
The request and what became of it.
Creates the view.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
step
|
RequestStep
|
The request step. |
required |
Source code in src/trading_agent/terminal/widgets/request_step_view.py
show
¶
Updates the view.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
step
|
RequestStep
|
The request step, perhaps now answered. |
required |