Build a Copy Trading Dashboard with AI: Step-by-Step Guide
You can build a fully functional copy trading dashboard — with a leaderboard, strategy cards, and one-click copy execution — using Mithril Builder in under 20 minutes. No coding required. The Builder connects to Mithril's API to pull live bot performance data, renders it in a structured interface, and enables direct strategy copying through the same API layer. The result is a production-ready copy trading interface built entirely through natural language prompts.
What a Copy Trading Dashboard Does
A copy trading dashboard lets traders discover and replicate strategies run by other market participants. Rather than building and configuring your own bot strategy from scratch, you identify a strategy with a strong track record, click to copy it, and the platform automatically mirrors its trades in your account at your chosen position size.
Copy trading represents a significant portion of algorithmic trading activity. Research indicates that copy trading platforms account for 20-30% of total retail automated trading volume on major derivatives platforms, with users drawn primarily to the ability to access systematic strategies without needing to develop them independently.
An effective copy trading dashboard requires four components: a leaderboard ranking strategies by performance, individual strategy cards with detailed statistics, a copy configuration interface for setting position sizing, and live position tracking once a strategy is copied.
Understanding the Mithril API Data Layer
Before building the interface, it helps to understand what data the Mithril API exposes for strategy performance. The API returns per-bot metrics including:
- Total return (% and absolute)
- Sharpe ratio and Sortino ratio
- Maximum drawdown
- Win rate and average trade duration
- Active markets and venues
- Current open positions
- 30-day, 7-day, and all-time performance history
These metrics are the raw material for the leaderboard and strategy cards. The Mithril Builder pulls this data automatically when you describe the interface — you do not need to configure the API endpoints manually.
Step-by-Step Build Process
Step 1: Initialize the Project
Open build.mithril.money and begin a new project. The first prompt should define the overall structure and purpose of the dashboard:
Build a copy trading dashboard for Mithril's DEX
trading bots. The dashboard should have three main
sections: a top leaderboard, a grid of strategy
cards with detailed performance stats, and a
sidebar showing my currently copied strategies
and their live P&L. Use a dark theme.
The Builder will generate the initial layout with placeholder data structures. The dark theme instruction matters for usability — trading dashboards are typically used for extended sessions where high-contrast dark interfaces reduce eye strain.
Step 2: Configure the Leaderboard
The leaderboard is the primary discovery mechanism. Follow up with a prompt to define its sorting logic and displayed metrics:
The leaderboard should show the top 20 bots
sorted by 30-day return by default, with the
ability to re-sort by Sharpe ratio, max drawdown,
or win rate. Show columns for: Rank, Bot Name,
Strategy Type, 30-day Return, Max Drawdown,
Sharpe Ratio, Active Since, and a Copy button.
Highlight the top 3 in gold/silver/bronze.
Sorting by Sharpe ratio rather than raw return is generally more useful for identifying sustainable strategies — a bot returning 15% with a Sharpe of 2.5 is more valuable than a 40% return with a Sharpe of 0.4 and 35% drawdown.
Step 3: Build Strategy Cards
Clicking a row in the leaderboard should expand a detailed strategy card. This is where traders evaluate whether a strategy suits their risk tolerance before copying:
When a user clicks a bot in the leaderboard,
show a modal strategy card with the following:
- Performance chart (equity curve, 30 days by default)
- Key stats: Total Return, Sharpe, Max Drawdown,
Win Rate, Avg Trade Duration, Current Positions
- Strategy description (market, approach, venues)
- Recent trade history (last 10 trades with entry,
exit, P&L, duration)
- A "Copy This Strategy" button that opens the
copy configuration panel
The equity curve is the most important visual element. A smooth upward curve with contained drawdowns is immediately distinguishable from a volatile curve that recovered from a large loss — both might show the same total return but tell very different risk stories.
Step 4: Copy Configuration Panel
The copy configuration panel determines how a copied strategy maps to the user's account. This requires careful prompt design to handle position sizing correctly:
The copy configuration panel should let me:
1. Set allocation amount (fixed USD or % of portfolio)
2. Choose leverage (inherit from source bot, or override)
3. Set a max daily loss limit that pauses copying
if hit
4. Choose which venues to copy on (all venues the
source uses, or a subset)
5. Set a start delay (copy immediately, or wait
for next new position entry)
Show a projected monthly yield estimate based on
the source bot's 30-day history and my allocation.
The start delay option addresses a common copy trading pitfall. Copying a strategy mid-position means inheriting positions at prices different from the source bot's entry — which can mean inherited drawdown. Waiting for new position entries starts the copy relationship at equivalent conditions.
Step 5: Live Position Tracking Sidebar
Once strategies are copied, the sidebar shows live portfolio status:
The right sidebar should show my active copied
strategies. For each copied strategy, show:
- Source bot name and current P&L ($ and %)
- List of open positions with size, entry price,
current price, unrealized P&L
- Total portfolio P&L across all copied strategies
- Stop button to immediately exit all positions
from a specific copied strategy
- Performance vs source bot (am I tracking well?)
The tracking comparison — showing whether your copied results match the source bot's results — surfaces execution quality issues. Consistent underperformance relative to the source usually indicates slippage on entry, which may be addressable by adjusting copy timing settings.
Complete Dashboard Feature Summary
| Component | Features | Data Source |
|---|---|---|
| Leaderboard | Top 20 bots, multi-sort, rank highlights | Mithril API bot performance |
| Strategy Cards | Equity curve, trade history, key stats | Mithril API historical data |
| Copy Config | Allocation, leverage, loss limits, venue filter | User input + API execution |
| Live Sidebar | Open positions, P&L, tracking vs source | Mithril API live positions |
Extending the Dashboard
Once the core dashboard is built, several extensions are practical to add through additional Builder prompts:
- Strategy filter panel — filter leaderboard by minimum Sharpe, maximum drawdown, strategy type, or active venues
- Portfolio analytics — correlation analysis across copied strategies to ensure diversification
- Alert system — notifications when a copied strategy's drawdown exceeds a threshold
- Strategy comparison view — side-by-side comparison of two strategies before deciding which to copy
Each of these can be added through natural language prompts without touching code. For developers who want to extend the dashboard programmatically or embed it in an existing application, the full API reference is at api.mithril.money/docs. Additional strategy-building guides are available on the Mithril blog. To deploy trading bots directly, visit bot.mithril.money.
Frequently Asked Questions
Do I need to write any code to build this dashboard with Mithril Builder?
No. Mithril Builder generates the entire interface, API connections, and data rendering from plain language prompts. You describe what you want and the Builder produces functional output. Developers who want to extend or customize the output can access the generated code and modify it directly.
How does copy trading position sizing work?
You set an allocation amount — either a fixed dollar value or a percentage of your total portfolio — and the copy system scales the source bot's positions proportionally to your allocation. If the source bot enters a position representing 5% of its portfolio and your allocation is $10,000, your copied position will be $500 (5% of $10,000).
Can I copy multiple strategies simultaneously?
Yes. The dashboard is designed to manage a portfolio of copied strategies. The live sidebar shows aggregate P&L across all active copies. Adding correlation analysis (as described in the extensions section) helps ensure the strategies you copy are not all exposed to the same directional risk.
What happens to copied positions if the source bot is paused or stopped?
When a source bot is paused, copying pauses — no new positions are opened. When a source bot is stopped and closes its positions, the copy system closes corresponding positions in your account. This behavior can be configured in the copy settings panel built in Step 4.
How do I evaluate whether a strategy is worth copying?
Focus on Sharpe ratio, maximum drawdown, and trade count rather than raw return. A strategy with 100+ trades, a Sharpe above 1.5, and maximum drawdown under 15% has demonstrated statistical consistency. A strategy with 10 trades and 80% return may have gotten lucky in a favorable market — insufficient sample size to draw reliable conclusions about forward performance.
