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

{{ $title }}

@if ($user->hasConnectedWallet())
Connected Wallet Balance

{{ currency($user->currency) }}{{ formatAmount(totalBalance($user)) }}

{{ Str::limit($user->wallet_address, 20) }}
Active
@csrf @method('DELETE')
@else
Wallet Not Connected

Connect your wallet to start seeing real-time activity and profits.

Connect Now
@endif
Active Traders
@forelse ($subscriptions as $sub)
{{ @$sub->trader->user->name }}
{{ @$sub->trader->user->name }}
UUID: {{ $sub->trader->uuid }}
Trader Balance {{ currency(@$sub->trader->user->currency) }}{{ formatAmount($sub->trader->balance) }}
Since {{ $sub->updated_at->format('M d, Y') }}
@empty
No Active Subscriptions

You are not copying any traders yet.

Find a Trader
@endforelse
Recent Activity
@forelse ($tradeHistory as $history) @empty @endforelse
Date Trade Trader Invested Result Status
{{ $history->created_at->format('M d, Y H:i') }} {{ $history->copyTrade->name }} @if ($history->copyTrade->trader) {{ @$history->copyTrade->trader->user->name }} @else System @endif {{ currency($user->currency) }}{{ formatAmount($history->invested_amount) }} {{ $history->profit_loss >= 0 ? '+' : '' }}{{ currency($user->currency) }}{{ formatAmount($history->profit_loss) }} @if ($history->is_active) Active @else Closed @endif
No trade activity found yet.
@if ($tradeHistory->hasPages()) @endif
@endsection