fix: update analytics UI to show TradingView indicator versions correctly

- Changed section title: 'Signal Quality Logic Versions' → 'TradingView Indicator Versions'
- Updated current version marker: v3 → v6
- Added version sorting: v6 first, then v5, then unknown
- Updated description to reflect indicator strategy comparison

Context:
- User clarified: V4 display = v6 data, V1 display = v5 data
- Dashboard now shows indicator versions in proper order
- 154 unknown (pre-tracking), 15 v6 (HalfTrend), 4 v5 (Buy/Sell)
This commit is contained in:
mindesbunister
2025-11-14 13:15:30 +01:00
parent 6e8da10f7d
commit 2cda751dc4
2 changed files with 12 additions and 5 deletions

View File

@@ -277,19 +277,18 @@ export default function AnalyticsPage() {
</div>
)}
{/* Signal Quality Version Comparison */}
{/* Indicator Version Comparison */}
{versionComparison && versionComparison.versions.length > 0 && (
<div className="mb-8">
<h2 className="text-xl font-bold text-white mb-4">🔬 Signal Quality Logic Versions</h2>
<h2 className="text-xl font-bold text-white mb-4"><EFBFBD> TradingView Indicator Versions</h2>
<div className="bg-gray-800/50 backdrop-blur-sm rounded-xl p-6 border border-gray-700">
<p className="text-gray-300 text-sm mb-6 leading-relaxed">
The bot has evolved through different signal quality scoring algorithms.
This section compares their performance to enable data-driven optimization.
Comparing performance across different TradingView indicator strategies to optimize signal quality.
</p>
<div className="space-y-4">
{versionComparison.versions.map((version, idx) => {
const isCurrentVersion = version.version === 'v3'
const isCurrentVersion = version.version === 'v6'
return (
<div
key={version.version}