202 lines
9.0 KiB
HTML
202 lines
9.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=375">
|
|
<title>Mobile-05 미니멀 다크</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body { font-family: 'Inter', sans-serif; background: #09090b; color: #fafafa; width: 375px; min-height: 812px; padding-bottom: 100px; }
|
|
|
|
.header { padding: 54px 20px 20px; }
|
|
.header-row { display: flex; justify-content: space-between; align-items: center; }
|
|
.header-title { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
|
|
.version-badge { background: #27272a; color: #71717a; padding: 6px 12px; border-radius: 8px; font-size: 10px; }
|
|
|
|
.container { padding: 0 20px; }
|
|
|
|
/* 심볼 */
|
|
.symbol-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
|
|
.symbol-name { font-size: 16px; color: #a1a1aa; }
|
|
.symbol-price { font-size: 16px; font-weight: 600; color: #22c55e; }
|
|
|
|
/* 대형 수익률 */
|
|
.big-return { text-align: center; margin-bottom: 40px; }
|
|
.big-return-value { font-size: 72px; font-weight: 700; color: #22c55e; letter-spacing: -2px; }
|
|
.big-return-label { font-size: 14px; color: #52525b; margin-top: 8px; }
|
|
|
|
/* 메트릭 리스트 */
|
|
.metrics-list { margin-bottom: 32px; }
|
|
.metric-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid #27272a; }
|
|
.metric-row:last-child { border: none; }
|
|
.metric-label { font-size: 14px; color: #71717a; }
|
|
.metric-value { font-size: 16px; font-weight: 600; }
|
|
.metric-value.green { color: #22c55e; }
|
|
.metric-value.red { color: #ef4444; }
|
|
|
|
/* 정확도 바 */
|
|
.accuracy-section { margin-bottom: 32px; }
|
|
.accuracy-header { display: flex; justify-content: space-between; margin-bottom: 16px; }
|
|
.accuracy-title { font-size: 14px; color: #71717a; }
|
|
.accuracy-value { font-size: 16px; font-weight: 600; }
|
|
.accuracy-bars { }
|
|
.acc-bar { margin-bottom: 16px; }
|
|
.acc-bar-header { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 8px; }
|
|
.acc-bar-label { color: #71717a; }
|
|
.acc-bar-pct { font-weight: 600; }
|
|
.acc-bar-pct.green { color: #22c55e; }
|
|
.acc-bar-pct.orange { color: #f97316; }
|
|
.acc-bar-bg { height: 8px; background: #27272a; border-radius: 4px; overflow: hidden; }
|
|
.acc-bar-fill { height: 100%; border-radius: 4px; }
|
|
.acc-bar-fill.green { background: linear-gradient(90deg, #22c55e, #4ade80); }
|
|
.acc-bar-fill.orange { background: linear-gradient(90deg, #f97316, #fb923c); }
|
|
|
|
/* 미니 차트 */
|
|
.mini-chart { background: #18181b; border-radius: 16px; padding: 20px; margin-bottom: 32px; }
|
|
.chart-header { display: flex; justify-content: space-between; margin-bottom: 16px; }
|
|
.chart-title { font-size: 12px; color: #71717a; }
|
|
.chart-area { height: 120px; display: flex; align-items: flex-end; justify-content: space-around; gap: 4px; }
|
|
.bar { width: 8px; border-radius: 2px; position: relative; }
|
|
.bar.up { background: #22c55e; }
|
|
.bar.down { background: #ef4444; }
|
|
.dot { position: absolute; width: 14px; height: 14px; border-radius: 50%; font-size: 7px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
|
|
.dot.buy { bottom: -18px; left: 50%; transform: translateX(-50%); background: #22c55e; color: #000; }
|
|
.dot.sell { top: -18px; left: 50%; transform: translateX(-50%); background: #ef4444; color: #fff; }
|
|
|
|
/* 거래 */
|
|
.trades-section { }
|
|
.section-header { display: flex; justify-content: space-between; margin-bottom: 16px; }
|
|
.section-title { font-size: 14px; font-weight: 600; }
|
|
.section-link { font-size: 12px; color: #3b82f6; }
|
|
.trade-item { display: flex; align-items: center; padding: 16px; background: #18181b; border-radius: 14px; margin-bottom: 10px; }
|
|
.trade-type { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; margin-right: 14px; }
|
|
.trade-type.buy { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
|
|
.trade-type.sell { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
|
|
.trade-info { flex: 1; }
|
|
.trade-action { font-size: 14px; font-weight: 500; }
|
|
.trade-time { font-size: 11px; color: #52525b; margin-top: 2px; }
|
|
.trade-result { text-align: right; }
|
|
.trade-price { font-size: 14px; font-weight: 500; }
|
|
.trade-pnl { font-size: 12px; font-weight: 600; margin-top: 2px; }
|
|
.trade-pnl.profit { color: #22c55e; }
|
|
.trade-pnl.loss { color: #ef4444; }
|
|
|
|
/* 실행 버튼 */
|
|
.run-btn { position: fixed; bottom: 36px; left: 20px; right: 20px; width: calc(100% - 40px); max-width: 335px; padding: 18px; background: #fafafa; border: none; border-radius: 14px; color: #09090b; font-size: 16px; font-weight: 600; cursor: pointer; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<header class="header">
|
|
<div class="header-row">
|
|
<span class="header-title">백테스트</span>
|
|
<span class="version-badge">Mobile-05</span>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="container">
|
|
<div class="symbol-row">
|
|
<span class="symbol-name">BTC/KRW · 1H · MACD+RSI</span>
|
|
<span class="symbol-price">+2.34%</span>
|
|
</div>
|
|
|
|
<div class="big-return">
|
|
<div class="big-return-value">+23.5%</div>
|
|
<div class="big-return-label">₩10,000,000 → ₩12,350,000</div>
|
|
</div>
|
|
|
|
<div class="metrics-list">
|
|
<div class="metric-row">
|
|
<span class="metric-label">최종 자산</span>
|
|
<span class="metric-value">₩12,350,000</span>
|
|
</div>
|
|
<div class="metric-row">
|
|
<span class="metric-label">승률</span>
|
|
<span class="metric-value green">68% (17/25)</span>
|
|
</div>
|
|
<div class="metric-row">
|
|
<span class="metric-label">최대 낙폭</span>
|
|
<span class="metric-value red">-8.2%</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="accuracy-section">
|
|
<div class="accuracy-header">
|
|
<span class="accuracy-title">전략 정확도</span>
|
|
<span class="accuracy-value">70%</span>
|
|
</div>
|
|
<div class="accuracy-bars">
|
|
<div class="acc-bar">
|
|
<div class="acc-bar-header">
|
|
<span class="acc-bar-label">매수</span>
|
|
<span class="acc-bar-pct green">76%</span>
|
|
</div>
|
|
<div class="acc-bar-bg"><div class="acc-bar-fill green" style="width: 76%;"></div></div>
|
|
</div>
|
|
<div class="acc-bar">
|
|
<div class="acc-bar-header">
|
|
<span class="acc-bar-label">매도</span>
|
|
<span class="acc-bar-pct orange">64%</span>
|
|
</div>
|
|
<div class="acc-bar-bg"><div class="acc-bar-fill orange" style="width: 64%;"></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="mini-chart">
|
|
<div class="chart-header">
|
|
<span class="chart-title">가격 차트</span>
|
|
<span class="chart-title">3개월</span>
|
|
</div>
|
|
<div class="chart-area">
|
|
<div class="bar up" style="height: 30px;"></div>
|
|
<div class="bar up" style="height: 45px;"></div>
|
|
<div class="bar down" style="height: 25px;"></div>
|
|
<div class="bar down" style="height: 40px;"><div class="dot buy">B</div></div>
|
|
<div class="bar up" style="height: 55px;"></div>
|
|
<div class="bar up" style="height: 70px;"></div>
|
|
<div class="bar up" style="height: 60px;"></div>
|
|
<div class="bar down" style="height: 35px;"><div class="dot sell">S</div></div>
|
|
<div class="bar down" style="height: 50px;"></div>
|
|
<div class="bar up" style="height: 40px;"></div>
|
|
<div class="bar down" style="height: 25px;"><div class="dot buy">B</div></div>
|
|
<div class="bar up" style="height: 45px;"></div>
|
|
<div class="bar up" style="height: 55px;"></div>
|
|
<div class="bar up" style="height: 65px;"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="trades-section">
|
|
<div class="section-header">
|
|
<span class="section-title">최근 거래</span>
|
|
<span class="section-link">전체보기 →</span>
|
|
</div>
|
|
<div class="trade-item">
|
|
<div class="trade-type sell">S</div>
|
|
<div class="trade-info">
|
|
<div class="trade-action">매도</div>
|
|
<div class="trade-time">03.15 14:00</div>
|
|
</div>
|
|
<div class="trade-result">
|
|
<div class="trade-price">₩58,450,000</div>
|
|
<div class="trade-pnl profit">+5.2%</div>
|
|
</div>
|
|
</div>
|
|
<div class="trade-item">
|
|
<div class="trade-type buy">B</div>
|
|
<div class="trade-info">
|
|
<div class="trade-action">매수</div>
|
|
<div class="trade-time">03.12 09:00</div>
|
|
</div>
|
|
<div class="trade-result">
|
|
<div class="trade-price">₩55,520,000</div>
|
|
<div class="trade-pnl">-</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<button class="run-btn">백테스트 실행</button>
|
|
</body>
|
|
</html>
|