=1e9)return sym+(cv/1e9).toFixed(1)+'B';if(cv>=1e6)return sym+(cv/1e6).toFixed(0)+'M';if(cv>=1e3)return sym+(cv/1e3).toFixed(0)+'k';return sym+cv}CTYPE html> LeverTest — 레버리지 ETF 백테스트
loading...

Leverage ETF Backtester

24종목 레버리지/인버스 ETF의 과거 성과를 시뮬레이션하세요

1 USD =
KRW
KRW
리밸런싱 전략
정기 적립 매수 (DCA)
포트폴리오 가치 추이
포트폴리오
투입 원금
최대 낙폭 (Drawdown)
연도시작종료수익률최대 낙폭투입 원금
+Math.round(v).toLocaleString();return '₩'+Math.round(cv).toLocaleString()}}}}}})} function toggleLog(){useLog=!useLog;document.getElementById('logToggle').classList.toggle('active',useLog);if(lastResult)renderChart(lastResult)} function renderDDChart(r){const ctx=document.getElementById('ddChart').getContext('2d');if(ddChart)ddChart.destroy();const st=Math.max(1,Math.floor(r.dates.length/600));const lb=r.dates.filter((_,i)=>i%st===0);const d=r.dd.filter((_,i)=>i%st===0);ddChart=new Chart(ctx,{type:'line',data:{labels:lb,datasets:[{data:d,borderColor:'#ff3b5c',backgroundColor:'rgba(255,59,92,0.06)',fill:true,borderWidth:1,pointRadius:0,tension:0.1}]},options:{responsive:true,maintainAspectRatio:false,plugins:{legend:{display:false},tooltip:{backgroundColor:'#1a1a28',borderColor:'#2a2a42',borderWidth:1,callbacks:{label:c=>`Drawdown: ${c.parsed.y.toFixed(1)}%`}}},scales:{x:{grid:{color:'rgba(42,42,66,0.3)'},ticks:{color:'#6a6a88',maxTicksLimit:7,font:{family:'Noto Sans KR',size:10}}},y:{grid:{color:'rgba(42,42,66,0.3)'},ticks:{color:'#6a6a88',font:{family:'Noto Sans KR',size:10},callback:v=>v.toFixed(0)+'%'}}}}})} function renderTable(r){const tb=document.querySelector('#yearlyTable tbody');tb.innerHTML='';for(const[yr,d]of Object.entries(r.yearly)){const ret=((d.end-d.start)/d.start*100);tb.innerHTML+=`${yr}${fmtCurr(d.start)}${fmtCurr(d.end)}${ret>=0?'+':''}${ret.toFixed(1)}%-${(d.maxDD*100).toFixed(1)}%${fmtCurr(d.invested)}`}} function showToast(m,e=false){const t=document.getElementById('toast');t.textContent=m;t.className='toast show'+(e?' error':'');setTimeout(()=>t.classList.remove('show'),3000)} document.addEventListener('keydown',e=>{if(e.key==='Enter'&&selectedTicker)runBacktest()}); init();