Download public/index.html from jeeva780/Selva-Option-Backtest: direct link, hf CLI and curl.
- Browser
- Download file 2.77 kB
-
https://huggingface.co/spaces/jeeva780/Selva-Option-Backtest/resolve/main/public/index.html
- Command line
-
hf download hf://spaces/jeeva780/Selva-Option-Backtest/public/index.html
-
curl -L -o index.html https://huggingface.co/spaces/jeeva780/Selva-Option-Backtest/resolve/main/public/index.html
2.77 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <title>Selva Option Backtest — Breeze</title> | |
| <link rel="stylesheet" href="/styles/style.css"> | |
| </head> | |
| <body> | |
| <header> | |
| <div> | |
| <div class="eyebrow">SEC.01 · REAL MARKET DATA</div> | |
| <h1>SELVA OPTION BACKTEST</h1> | |
| <div class="sub">NIFTY · OVERNIGHT ATM CE + PE · ICICI DIRECT BREEZE</div> | |
| </div> | |
| <div id="status" class="status offline">● OFFLINE</div> | |
| </header> | |
| <main> | |
| <section class="card login"> | |
| <div class="eyebrow">SEC.02 · BREEZE SESSION</div> | |
| <h2>Connect ICICI Direct</h2> | |
| <p class="muted">API secret stays on the Hugging Face server. Enter only your Breeze API Session here.</p> | |
| <div class="row"> | |
| <button id="loginLink">OPEN ICICI LOGIN</button> | |
| <input id="session" type="password" placeholder="Paste API Session"> | |
| <button id="connect">CONNECT BREEZE</button> | |
| <button id="logout" class="secondary">LOGOUT</button> | |
| </div> | |
| <pre id="log">/ awaiting handshake…</pre> | |
| </section> | |
| <section id="terminal" class="card"> | |
| <div class="eyebrow">SEC.03 · BACKTEST PARAMETERS</div> | |
| <div class="grid"> | |
| <label>START DATE<input id="start" type="date"></label> | |
| <label>END DATE<input id="end" type="date"></label> | |
| <label>TARGET POINTS<input id="target" type="number" value="20" step="0.5"></label> | |
| <label>SL POINTS<input id="sl" type="number" value="10" step="0.5"></label> | |
| <label>BROKERAGE / LEG<input id="brokerage" type="number" value="40" step="1"></label> | |
| <label>SQUARE-OFF<input id="sqoff" type="time" value="15:10"></label> | |
| </div> | |
| <div class="strategy"> | |
| <span>ENTRY 15:15</span><span>ATM STEP 50</span><span>CE + PE</span><span>QTY 65</span><span>OVERNIGHT</span><span>SL BEFORE TARGET</span> | |
| </div> | |
| <button id="run" class="run">▶ RUN REAL BREEZE BACKTEST</button> | |
| <div id="progress" class="progress hidden"><div id="bar"></div><span id="progressText"></span></div> | |
| </section> | |
| <section id="results" class="hidden"> | |
| <div class="eyebrow">SEC.04 · RESULTS</div> | |
| <div id="metrics" class="metrics"></div> | |
| <div class="card"> | |
| <h2>Daily P&L</h2> | |
| <div class="tableWrap"><table id="dailyTable"></table></div> | |
| </div> | |
| <div class="card"> | |
| <h2>Trade Legs</h2> | |
| <div class="tableWrap"><table id="tradesTable"></table></div> | |
| </div> | |
| <div class="row"> | |
| <button id="downloadTrades">DOWNLOAD TRADES CSV</button> | |
| <button id="downloadDaily">DOWNLOAD DAILY CSV</button> | |
| </div> | |
| </section> | |
| </main> | |
| <footer>REAL DATA MODE · No local market simulator in this build</footer> | |
| <script src="/scripts/main.js"></script> | |
| </body> | |
| </html> | |