@extends('dashboard.admin.layouts.app') @section('content')

{{ $title }}

@foreach ($trades as $trade) @endforeach
# Name Initial Amount Profit/Loss Participants Status Started
{{ $loop->iteration }} {{ $trade->name }} ${{ formatAmount($trade->initial_amount) }} {{ $trade->profit_loss >= 0 ? '+' : '' }}${{ formatAmount($trade->profit_loss) }} {{ $trade->participants_count }} {{ $trade->status->label() }} {{ $trade->started_at ? $trade->started_at->format('M d, Y') : 'N/A' }} View
@forelse ($trades as $trade)
{{ $trade->name }}

Initial: ${{ formatAmount($trade->initial_amount) }}

P/L: {{ $trade->profit_loss >= 0 ? '+' : '' }}${{ formatAmount($trade->profit_loss) }}

Participants: {{ $trade->participants_count }}

Status: {{ $trade->status->label() }}

View
@empty
No copy trades found.
@endforelse
{{ $trades->links() }}
@endsection