@extends('layouts.user.app') @section('content')
{{$user->balances()->sum('balance')}} $
Total Balance
{{$totalInvestment}} $
Total Investment
{{$totalProfitLoss}} $
Total Profit/Loss
{{$totalPercentageGain}} %
Total Percentage Gain
{{$totalTrades}}
Total Trades
{{$duration}} Month
Duration
Buy/Sell
Buy: {{$buy}}
Sell: {{$sell}}
Profit By Instrument
    @foreach ($profitableTradePairNames as $key => $name) @if ($key < 5)
  • {{$name}}
  • @elseif($key == 5)
  • Others
  • @endif @endforeach
Loss By Instrument
    @foreach ($loosableTradePairNames as $key => $name) @if ($key < 5)
  • {{$name}}
  • @elseif($key == 5)
  • Others
  • @endif @endforeach
Profit / Loss Ratio
Profit: {{$totalProfit}}
Loss: {{$totalLoss}}
@endsection @push('script') @endpush