Skip to content
Back

Trading deskPro

Work screens / Trading desk: a brokerage trade screen with fictional symbols. A watchlist with prices, day change and the account value; the open symbol's live price, ticking with the clock (Pause holds it), and its chart over 1D, 1W, 1M, 3M or 1Y; positions with return, open orders with Cancel and today's fills. The order ticket switches Buy / Sell and Market / Limit, steps shares and the limit price, shows the estimate and refuses an order the cash or the shares cannot cover.

oxyn add trading-desk
  1. Individual
  2. Trade
Market open · 2026-11-12 14:05 ET
Live
KSTRKestrel Systems
$186.42+$0.92 (+0.49%)
Low $185.38 · High $188.20

Positions

SymbolSharesAvg costValueReturn
40$159.10$7,457+17.17%
120$84.02$11,058+9.67%
75$63.55$4,590-3.69%
12$248.70$3,277+9.81%
30$124.40$3,572-4.29%

Open orders

  • Buy25 NVLA · $89.502026-11-12 09:41
  • Sell4 QLMR · $284.002026-11-11 15:12
Order type
Shares
Estimated cost$1,864.20
Cash available$24,186.50

Fills at the best price now.

The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • Work screens / Trading desk: a brokerage trade screen with fictional symbols.
  • A watchlist with prices, day change and the account value; the open symbol's live price, ticking with the clock (Pause holds it), and its chart over 1D, 1W, 1M, 3M or 1Y; positions with return, open orders with Cancel and today's fills.
  • The order ticket switches Buy / Sell and Market / Limit, steps shares and the limit price, shows the estimate and refuses an order the cash or the shares cannot cover.

When not to use

  • Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
  • The app frame: use App shell instead.
  • An assistant docked beside a page: use AI side panel instead.

Installation

Trading desk is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add trading-desk

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Sample

Sample data, the page as an inset card beside the sidebar.

  1. Individual
  2. Trade
Market open · 2026-11-12 14:05 ET
Live
KSTRKestrel Systems
$186.42+$0.92 (+0.49%)
Low $185.38 · High $188.20

Positions

SymbolSharesAvg costValueReturn
40$159.10$7,457+17.17%
120$84.02$11,058+9.67%
75$63.55$4,590-3.69%
12$248.70$3,277+9.81%
30$124.40$3,572-4.29%

Open orders

  • Buy25 NVLA · $89.502026-11-12 09:41
  • Sell4 QLMR · $284.002026-11-11 15:12
Order type
Shares
Estimated cost$1,864.20
Cash available$24,186.50

Fills at the best price now.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Flat

The same view with the page edge to edge.

  1. Individual
  2. Trade
Market open · 2026-11-12 14:05 ET
Live
KSTRKestrel Systems
$186.42+$0.92 (+0.49%)
Low $185.38 · High $188.20

Positions

SymbolSharesAvg costValueReturn
40$159.10$7,457+17.17%
120$84.02$11,058+9.67%
75$63.55$4,590-3.69%
12$248.70$3,277+9.81%
30$124.40$3,572-4.29%

Open orders

  • Buy25 NVLA · $89.502026-11-12 09:41
  • Sell4 QLMR · $284.002026-11-11 15:12
Order type
Shares
Estimated cost$1,864.20
Cash available$24,186.50

Fills at the best price now.

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Loading

Skeletons where the data lands.

  1. Individual
  2. Trade
Market open · 2026-11-12 14:05 ET
Live
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Empty

A first run: what will show here and how to start.

  1. Individual
  2. Trade
Market open · 2026-11-12 14:05 ET
Live
KSTRKestrel Systems
$186.42+$0.92 (+0.49%)
Low $185.38 · High $188.20

Positions

No positions yet

Fund the account, then buy your first shares from the ticket.

Open orders

No open orders

    Order type
    Shares
    Estimated cost$1,864.20
    Cash available$0.00

    Fills at the best price now.

    Code Pro
    The code is part of Oxyn Pro

    The preview is free. Pro opens the code of every Pro component, screen and template.

    Get Pro

    Limit

    The ticket on Limit with a price below the market.

    1. Individual
    2. Trade
    Market open · 2026-11-12 14:05 ET
    Live
    KSTRKestrel Systems
    $186.42+$0.92 (+0.49%)
    Low $185.38 · High $188.20

    Positions

    SymbolSharesAvg costValueReturn
    40$159.10$7,457+17.17%
    120$84.02$11,058+9.67%
    75$63.55$4,590-3.69%
    12$248.70$3,277+9.81%
    30$124.40$3,572-4.29%

    Open orders

    • Buy25 NVLA · $89.502026-11-12 09:41
    • Sell4 QLMR · $284.002026-11-11 15:12
    Order type
    Shares
    Limit price
    $184.00
    Estimated cost$2,760.00
    Cash available$24,186.50

    Good for the day. Fills at $184.00 or better.

    Code Pro
    The code is part of Oxyn Pro

    The preview is free. Pro opens the code of every Pro component, screen and template.

    Get Pro

    Placed

    A market buy filled, listed under Filled today.

    1. Individual
    2. Trade
    Market open · 2026-11-12 14:05 ET
    Live
    KSTRKestrel Systems
    $186.42+$0.92 (+0.49%)
    Low $185.38 · High $188.20

    Positions

    SymbolSharesAvg costValueReturn
    50$164.56$9,321+13.28%
    120$84.02$11,058+9.67%
    75$63.55$4,590-3.69%
    12$248.70$3,277+9.81%
    30$124.40$3,572-4.29%

    Open orders

    • Buy25 NVLA · $89.502026-11-12 09:41
    • Sell4 QLMR · $284.002026-11-11 15:12

    Filled today

    • Bought 10 KSTR2026-11-12 14:05
    Order type
    Shares
    Estimated cost$1,864.20
    Cash available$22,322.30

    Fills at the best price now.

    Code Pro
    The code is part of Oxyn Pro

    The preview is free. Pro opens the code of every Pro component, screen and template.

    Get Pro

    Closed

    The market closed: prices still, market orders queue.

    1. Individual
    2. Trade
    Market closed · opens 2026-11-13 09:30 ET
    Closed
    KSTRKestrel Systems
    $186.42+$0.92 (+0.49%)

    The market is closed. Market orders queue for the open on 2026-11-13 09:30 ET.

    Low $185.38 · High $188.20

    Positions

    SymbolSharesAvg costValueReturn
    40$159.10$7,457+17.17%
    120$84.02$11,058+9.67%
    75$63.55$4,590-3.69%
    12$248.70$3,277+9.81%
    30$124.40$3,572-4.29%

    Open orders

    • Buy25 NVLA · $89.502026-11-12 09:41
    • Sell4 QLMR · $284.002026-11-11 15:12
    Order type
    Shares
    Estimated cost$1,864.20
    Cash available$24,186.50

    Queues for the open.

    Code Pro
    The code is part of Oxyn Pro

    The preview is free. Pro opens the code of every Pro component, screen and template.

    Get Pro

    API reference

    TradingDeskScreen

    PropTypeDefaultDescription
    layoutString"inset"`inset` or `flat`.
    stateString"sample"A state key.
    nowClockMsDefault::default()The host clock (the live price ticks every 1.5 s).

    Read from the Rust signature and doc comments.

    Keyboard interactions

    KeyAction
    TabWatchlist, range, positions, orders, then the ticket
    EnterPlace the order from the ticket

    Accessibility

    • The price is a status region; gains and losses carry a sign as well as a colour.
    • Buy / Sell and Market / Limit are radio groups; a refusal is an alert.

    Responsive behaviour

    • Authored on the 1440 × 900 canvas: a 248 px sidebar, the page as an inset card and, where the screen has one, a 328 px right card in the gutter.
    • Under 960 px the sidebar becomes a drawer from the header's menu button and the right card hides.
    • Under 640 px header actions turn into icon buttons, grids drop to one column and labels ellipsise.

    Notes for AI

    • Import TradingDeskScreen from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
    • A GPUI version exists: TradingDeskEl in oxyn_gpui.
    • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
    • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

    Guides

    Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI