{{ $marketLabel }} positions

Manage every user's {{ strtolower($marketLabel) }} position — add profit, record a loss, or settle to their wallet.

@forelse ($trades as $trade) @php $pl = (float) $trade->profit; @endphp @empty @endforelse
User Asset Invested Profit / loss Current value Status Manage
{{ $trade->user?->name }}

{{ $trade->user?->email }}

{{ $trade->symbol }}

{{ $trade->name ?? '—' }}

${{ number_format((float) $trade->amount, 2) }} {{ $pl >= 0 ? '+' : '-' }}${{ number_format(abs($pl), 2) }} ${{ number_format($trade->currentValue(), 2) }} {{ $trade->status }} @if ($trade->isOpen())
@csrf
$
@csrf
@csrf @method('DELETE')
@else
Settled {{ $trade->closed_at?->format('M j, Y') }}
@csrf @method('DELETE')
@endif
No {{ strtolower($marketLabel) }} positions yet.
{{ $trades->links() }}