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

Account

@if ($percentage_deposit_increase > 0) + {{ round($percentage_deposit_increase, 2) }}% @else +0% @endif
{{ formatAmount(user()->balance) }}
+{{ formatAmount($todays_deposits) }} today

All Time PNL

{{ number_format($profit_percent, 2) }}%
{{ formatAmount($profit_fig + $capital) }}

AI Bots

{{ user()->botActivations()->count() }}
+{{ user()->botHistory()->count() }} trades

My 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

AI Trading Overview (7 Day PNL)

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