feat: update analytics version descriptions

- Added v4 description: 'Frequency penalties + blocked signals tracking (Nov 11-14)'
- Added v5 description: 'Buy/Sell Signal strategy (pre-Nov 12)'
- Added v6 description: 'HalfTrend + BarColor strategy (Nov 12+)'

Context:
- v1-v4 = signalQualityVersion (scoring logic evolution)
- v5-v6 = indicatorVersion (TradingView strategy versions)
- Dashboard will now correctly label both types of versions
This commit is contained in:
mindesbunister
2025-11-14 13:07:01 +01:00
parent 5a1d51a429
commit 08ee899164

View File

@@ -120,7 +120,10 @@ export async function GET() {
const versionDescriptions: Record<string, string> = { const versionDescriptions: Record<string, string> = {
'v1': 'Original logic (price < 5% threshold)', 'v1': 'Original logic (price < 5% threshold)',
'v2': 'Added volume compensation for low ADX', 'v2': 'Added volume compensation for low ADX',
'v3': 'Stricter: ADX > 18 required for positions < 15%' 'v3': 'Stricter: ADX > 18 required for positions < 15%',
'v4': 'Frequency penalties + blocked signals tracking (Nov 11-14)',
'v5': 'Buy/Sell Signal strategy (pre-Nov 12)',
'v6': 'HalfTrend + BarColor strategy (Nov 12+)',
} }
return NextResponse.json({ return NextResponse.json({