mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-07-31 20:37:44 +00:00
d843e63e7b
Add Classic Pivot Points (P, R1-R3, S1-S3) computed from previous day's OHLC data, displayed as horizontal lines on an interactive Plotly.js candlestick chart at /chart with instrument/granularity selectors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
52 lines
2.0 KiB
HTML
52 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}fx-quant{% endblock %}</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
|
|
rel="stylesheet"
|
|
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YcnS/1p0TIMQ77Kv3OSpcXkig1hYZLRFss0K"
|
|
crossorigin="anonymous">
|
|
<style>
|
|
body { background: #f8f9fa; }
|
|
.navbar-brand { font-weight: 700; letter-spacing: 1px; }
|
|
.card { margin-bottom: 1rem; }
|
|
.table-sm td, .table-sm th { font-size: 0.85rem; }
|
|
.kill-active { background: #dc3545; color: #fff; padding: 4px 10px; border-radius: 4px; }
|
|
.kill-inactive { background: #198754; color: #fff; padding: 4px 10px; border-radius: 4px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-4">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="/">fx-quant</a>
|
|
<div class="navbar-nav">
|
|
<a class="nav-link" href="/">Status</a>
|
|
<a class="nav-link" href="/backtest">Backtest</a>
|
|
<a class="nav-link" href="/chart">Chart</a>
|
|
<a class="nav-link" href="/config">Config</a>
|
|
<a class="nav-link" href="/logs">Logs</a>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="container">
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% for category, message in messages %}
|
|
<div class="alert alert-{{ category }} alert-dismissible fade show" role="alert">
|
|
{{ message }}
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
</div>
|
|
{% endfor %}
|
|
{% endwith %}
|
|
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
|
|
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
|
|
crossorigin="anonymous"></script>
|
|
</body>
|
|
</html>
|