logging channels; training steps storage
This commit is contained in:
@@ -144,6 +144,7 @@
|
||||
<strong class="small">🔴 LIVE</strong>
|
||||
</div>
|
||||
<div class="small">
|
||||
<div>Timeframe: <span id="active-timeframe" class="fw-bold text-primary">--</span></div>
|
||||
<div>Signal: <span id="latest-signal" class="fw-bold">--</span></div>
|
||||
<div>Confidence: <span id="latest-confidence">--</span></div>
|
||||
<div class="text-muted" style="font-size: 0.7rem;">Predicting <span id="active-steps">1</span> step(s) ahead</div>
|
||||
@@ -572,6 +573,9 @@
|
||||
document.getElementById('inference-status').style.display = 'block';
|
||||
document.getElementById('inference-controls').style.display = 'block';
|
||||
|
||||
// Display active timeframe
|
||||
document.getElementById('active-timeframe').textContent = timeframe.toUpperCase();
|
||||
|
||||
// Clear prediction history and reset PnL tracker
|
||||
predictionHistory = [];
|
||||
pnlTracker = {
|
||||
@@ -1038,6 +1042,9 @@
|
||||
}
|
||||
|
||||
const latest = data.signals[0];
|
||||
console.log('[Signal Polling] Latest signal:', latest);
|
||||
console.log('[Signal Polling] predicted_candle:', latest.predicted_candle);
|
||||
|
||||
document.getElementById('latest-signal').textContent = latest.action;
|
||||
document.getElementById('latest-confidence').textContent =
|
||||
(latest.confidence * 100).toFixed(1) + '%';
|
||||
|
||||
Reference in New Issue
Block a user