chore: dashboard HTML exports, tick results, raw mainnet BTC data, serve script

This commit is contained in:
ramseshk
2026-08-12 11:39:48 +08:00
parent 00bb06434e
commit d967301834
12 changed files with 175 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env python3
"""Start dashboard dev server and print the URL."""
import http.server
import os
import socketserver
import sys
PORT = 9176
DIR = "/home/satoshi/ftdt-quant-lab/backtests/reports"
os.chdir(DIR)
class MyHandler(http.server.SimpleHTTPRequestHandler):
def log_message(self, fmt, *args):
pass # quiet
with socketserver.TCPServer(("0.0.0.0", PORT), MyHandler) as httpd:
print(f"Dashboard: http://localhost:{PORT}")
httpd.serve_forever()