@php
// Real wins from last 24h. Falls back to empty if too few/none — ticker hides below threshold.
if (!isset($pilotWins)) {
$pilotWins = \App\Pilot\Services\PilotWinsService::recent(10);
}
@endphp
@if(count($pilotWins) >= 3)
Live trades
{{-- First pass --}}
@foreach($pilotWins as $w)
{{ $w['user'] }} closed ${{ $w['amount'] }} on {{ $w['market'] }}
@endforeach
{{-- Second pass: same items duplicated so the -50% translate loop is seamless --}}
@foreach($pilotWins as $w)
{{ $w['user'] }} closed ${{ $w['amount'] }} on {{ $w['market'] }}
@endforeach
@endif