@extends('layouts.user') @section('contents')
Account
All Time PNL
AI Bots
{{ $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
{{ $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{{ 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 }}
{{ 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 }}