Skip to main content

Crypto Trading Dashboard Builder

Build a crypto trading dashboard with real-time candlestick charts, order books, and trade panels — TradingView-inspired, dark mode, WebSocket-driven.

Füllen Sie die Platzhalter aus

Edit the values, then copy your finished prompt.

Ihr Prompt
prompt.txt

                                

What this prompt does

This prompt generates a complete, professional-grade cryptocurrency trading dashboard by encoding the actual design conventions that experienced traders expect — not what a general-purpose UI designer might assume. The template bakes in TradingView's proven spatial hierarchy: chart area dominant, order book as sidebar, trade panel docked. That layout decision alone eliminates the most common mistake AI makes when generating trading UIs (putting the chart below the fold or treating it as decorative).

The color semantics are explicitly locked: green means buy/up, red means sell/down, nothing else. This sounds obvious until you see an AI use green for "success" toast notifications next to a red-trending price — which breaks trader intuition instantly. The monospace-for-numbers rule is equally load-bearing. Tabular figures prevent order book columns from jittering as digits change, which is a real usability issue under live data.

The framework code output is scoped specifically to the order book with WebSocket simulation — the hardest component to wire correctly because it requires diffing bid/ask levels in real time without full re-renders. That specificity makes the generated code actually runnable, not a scaffold you have to rewrite.

When to use it

  • Building a white-label exchange interface for a DeFi protocol or CEX MVP
  • Prototyping a paper-trading tool for a crypto education platform
  • Designing an internal dashboard for a trading desk or market-making team
  • Shipping a mobile-first trading app component library where each panel needs to be individually auditable
  • Generating reference UI for a developer integrating a third-party exchange API (Binance, Kraken, Coinbase Advanced) who needs visual scaffolding fast
  • Wireframing a hackathon project where speed to a professional-looking demo matters

Example output

For platform_type: "retail spot exchange", features: "limit orders, market orders, stop-limit", data_sources: "Binance WebSocket API", framework: "React + Recharts":

// OrderBook.tsx — WebSocket simulation with bid/ask diffing
const useOrderBook = (pair: string) => {
  const [book, setBook] = useState<OrderBook>({ bids: [], asks: [] });

  useEffect(() => {
    const ws = new WebSocket(`wss://stream.binance.com/ws/${pair}@depth20`);
    ws.onmessage = (e) => {
      const { bids, asks } = JSON.parse(e.data);
      setBook({ bids: bids.slice(0, 15), asks: asks.slice(0, 15) });
    };
    return () => ws.close();
  }, [pair]);

  const spread = (parseFloat(book.asks[0]?.[0]) - parseFloat(book.bids[0]?.[0])).toFixed(2);
  return { ...book, spread };
};

The prompt also produces candlestick chart config, a market ticker strip, and a portfolio P&L table as separate generated sections you can import individually.

Pro tips

  • Set platform_type as specifically as possible ("institutional OTC desk" vs. "retail futures exchange") — it shifts the generated leverage UI, order size defaults, and risk warning placement significantly.
  • If your data_sources variable includes a real exchange WebSocket URL (Binance, OKX), the AI will generate accurate stream endpoint paths and correct message parsing logic — much more useful than leaving it generic.
  • Add leverage: up to 20x inside features only if your platform actually supports it. The template has a leverage selector gated on this, so omitting it cleanly removes that component rather than leaving a broken stub.
  • The anti-pattern list in the template ("no cartoon aesthetics even for meme coins") is there because AI models default to playful styling when they detect words like DOGE or PEPE in your features. Keeping that rule in the prompt overrides that bias.
  • Pair this prompt with your design system variables (background hex, font stack) appended after the template. The AI will substitute them consistently across all six generated components rather than using the defaults.

Frequently Asked Questions

Will this generate working WebSocket code or just pseudocode?
The template explicitly requests framework code for the order book with WebSocket data simulation, so the output is runnable component code — not pseudocode. The quality depends on how specific your `data_sources` variable is. Point it at a real exchange stream (e.g., Binance depth20 WebSocket) and the AI generates correct endpoint URLs, message parsing, and diffing logic you can drop into a project with minimal changes.
Can I use this for a futures or derivatives platform, not just spot trading?
Yes — add futures-specific features to the `features` variable: funding rate display, liquidation price, cross vs. isolated margin toggle, open interest. The trade panel section of the prompt includes a leverage selector that activates when leverage is mentioned in your variables. The base layout still applies; futures just adds more data density to the trade panel.
Why does the prompt enforce dark mode so strongly — what if my brand uses a light theme?
The anti-pattern is based on actual trader workflow: dark mode reduces eye strain during long sessions and is the de facto standard on every major exchange (Binance, Kraken, Bybit, OKX). If you genuinely need a light variant, override just the background and text tokens in Pro tips style — append your light-theme hex values after the template. The prompt will follow your values. But shipping light mode as the default for a trading product will read as amateur to your target users.
Engr Mejba Ahmed

Need this built for real?

Engr Mejba Ahmed

AI Developer · Software Engineer

I'm Mejba — I design and ship production AI systems, automations, and full-stack apps. If you want this turned into a working solution for your team, let's talk.

Mehr in Finance & Fintech UI Prompts

Engr Mejba Ahmed

Engr Mejba Ahmed

Claude Code Expert · Online

👋

Hey there!

Quick Actions

WhatsApp Instant reply

Chat on WhatsApp

+880 1723 741224 · Instant reply

Popular Questions

Engr Mejba Ahmed is connected
Engr Mejba Ahmed is typing...
Engr Mejba Ahmed avatar

✉ Want me to follow up? Drop your email

Engr Mejba Ahmed avatar

📞 Connect Directly

Choose how you'd like to reach me

WhatsApp

+880 1723 741224

Email

[email protected]

✓ Details sent! I'll get back to you shortly.

Powered by OpenAI

335+

Blog Posts

25

AI Courses

63

Projects

Services & Expertise

Pricing & Process

Learning & Resources

Connect & Support