@extends('layouts.admin') @section('contents')

Users

{{ $users->count() }}
{{ $users->whereNotNull('email_verified_at')->count() }} Email verified
{{ $users->whereNotNull('kyc_verified_at')->count() }} KYC verified

Deposits

{{ formatAmount($deposits->sum('amount')) }}
{{ formatAmount($deposits->where('status', 'finished')->sum('amount')) }} approved
{{ formatAmount($deposits->where('status', 'waiting')->sum('amount')) }} pending
{{ formatAmount($deposits->where('status', 'expired')->sum('amount')) }} failed

Withdrawals

{{ formatAmount($withdrawals->sum('amount')) }}
{{ formatAmount($withdrawals->where('status', 'approved')->sum('amount')) }} approved
{{ formatAmount($withdrawals->where('status', 'pending')->sum('amount')) }} pending
{{ formatAmount($withdrawals->where('status', 'rejected')->sum('amount')) }} failed

All Time PNL

{{ number_format(($profit_fig / ($capital + 0.001)) * 100 ?? 0, 2) }}%
{{ formatAmount($profit_fig + $capital) }}

AI Bots

{{ $activations->total() }}
+{{ $histories->total() }} trades

Running Bots

View All
@forelse ($activations as $bot)

{{ $bot->bot->name }}

@if ($bot->status == 'active') @else @endif

Portfolio Balance {{ formatAmount($bot->balance) }}

PNL @if ($bot->profit < 0) {{ round(($bot->profit / ($bot->capital + 0.0001)) * 100, 2) }}% @else +{{ round(($bot->profit / ($bot->capital + 0.0001)) * 100, 2) }}% @endif

@empty
You have not activated any bot
@endforelse

Recent Trades

View All
@forelse ($histories as $history)

{{ $history->botActivation->bot->name }}

{{ $history->pair }}

{{ date('d-m-y H:i:s', $history->timestamp) }} @if ($history->profit < 0)

-{{ formatAmount(str_replace('-', '', $history->profit)) }}

{{ number_format((($history->exit_price - $history->entry_price) / $history->entry_price) * 100, 2) }}%

@else

+{{ formatAmount($history->profit) }}

+{{ number_format((($history->exit_price - $history->entry_price) / $history->entry_price) * 100, 2) }}%

@endif
@empty
Empty Record. No trading history found!
@endforelse

7 Days Data Overview

Recent Deposits

View All
@forelse ($deposits as $deposit)

{{ date('d-m-y H:i:s', strtotime($deposit->created_at)) }}

{{ formatAmount($deposit->amount) }}

{{ $deposit->depositCoin->name }}

@if ($deposit->status == 'waiting') {{ $deposit->status }} @elseif ($deposit->status == 'finished') {{ $deposit->status }} @elseif ($deposit->status == 'expired' || $deposit->status == 'failed' || $deposit->status == 'refunded') {{ $deposit->status }} @else {{ $deposit->status }} @endif

{{ $deposit->converted_amount . ' ' . $deposit->currency }}

@empty
Empty Record. No depsoit found!
@endforelse

Recent Withdrawals

View All
@forelse ($withdrawals as $withdrawal)

{{ date('d-m-y H:i:s', strtotime($withdrawal->created_at)) }}

{{ formatAmount($withdrawal->amount - $withdrawal->fee) }}

{{ $withdrawal->depositCoin->name }}

@if ($withdrawal->status == 'pending') {{ $withdrawal->status }} @elseif ($withdrawal->status == 'approved') {{ $withdrawal->status }} @elseif ($withdrawal->status == 'rejected' || $withdrawal->status == 'failed' || $withdrawal->status == 'refunded') {{ $withdrawal->status }} @else {{ $withdrawal->status }} @endif

{{ $withdrawal->converted_amount . ' ' . $withdrawal->depositCoin->code }} /{{ $withdrawal->depositCoin->network ?? $withdrawal->depositCoin->code }}

{{ $withdrawal->wallet_address }}

@empty
Empty Record. No withdrawal found!
@endforelse
@endsection @section('scripts') @endsection