trading_agent.terminal.screens.page_catalogue
¶
The list of the terminal program's pages, for the slash commands, the F2 page list and the command palette.
Typical usage example:
for page in PageCatalogue().pages(): print(page.command, page.title)
Page
dataclass
¶
One page.
Attributes:
| Name | Type | Description |
|---|---|---|
command |
str
|
The slash command that opens it, such as "/trading". |
title |
str
|
Its title. |
description |
str
|
What it shows. |
screen_class |
type[PageScreen]
|
The screen class that draws it. |
PageCatalogue
¶
The pages, in the web page's sidebar order.
pages
¶
Every page.
Returns:
| Type | Description |
|---|---|
list[Page]
|
The pages. |