Initial working version, positions show.
This commit is contained in:
28
frontend/index.html
Normal file
28
frontend/index.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||||
<title>IB Dashboard</title>
|
||||
<style>
|
||||
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial; margin: 20px; }
|
||||
input, button { padding: 6px 8px; margin-right: 6px }
|
||||
table { border-collapse: collapse; width: 100%; margin-top: 12px }
|
||||
th, td { border: 1px solid #ddd; padding: 8px; text-align: left }
|
||||
th { background: #f4f4f4 }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Interactive Brokers Dashboard</h1>
|
||||
|
||||
<section>
|
||||
<h2>Positions</h2>
|
||||
<table id="positions-table">
|
||||
<thead><tr><th>Symbol</th><th>Position</th><th>Average Cost</th><th>Account</th></tr></thead>
|
||||
<tbody></tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
<script src="/static/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user