Expand description
Trading from the chart through the host’s Broker: the broker picker, the order ticket,
the Buy and Sell buttons, depth ladder and the account panel. The broker holds the account;
this module shows what it pushes and sends the orders the user confirms.
Structs§
- Account
Panel - The account panel of
Trading, shown withTrading::show_account_panel. - Bracket
- A take-profit or stop-loss as entered in the ticket.
- Broker
Picker - The dialog in which the user picks a broker: a grid of the host’s
BrokerTiles, the paper account first, with a search and a footer link. Its compare button shows thefactsof two brokers side by side in aligned rows, with a control to add another and one to connect each. Picking a tile shows its connect card, whose Connect button returnsBrokerPickerAction::Connectand closes the picker; the host then connectsTradingto that broker. Open it withopen, such as from the toolbar’s Trade button while no broker is connected. - Broker
Tile - One broker of the
BrokerPicker, as the host offers it. - Order
Preset - A named quantity and brackets the ticket applies in one step. Hosts persist
Trading::presetsthemselves. - Trading
- The trading controls of one chart, connected to the host’s
Broker.
Enums§
- Account
Panel Action - What the user asked for in the
AccountPanelthat the host carries out. Cancelling or changing an order and closing a position go to the broker from the panel itself. - Bracket
Mode - How a take-profit or stop-loss distance is entered.
- Broker
Fact - One row of a broker in the picker’s comparison view.
- Broker
Picker Action - What the user chose in the
BrokerPicker.
Traits§
- Trading
Formatter - Host text for the numbers of the order ticket, the depth ladder and the account tables.