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

{{ $title }}

@include('dashboard.admin.user.partials.account_options_and_status')
@foreach ($trades as $trade) @endforeach
Market Asset Type Mode Amount Entry Price Exit Price Profit Status Opened At Closed At Action
{{ $trade->market->asset }} {{ $trade->type->label() }} {{ $trade->mode->label() }} {{ formatAmount($trade->amount) }} {{ formatAmount($trade->entry_price) }} {{ formatAmount($trade->exit_price) }} {{ formatAmount($trade->profit) }} {{ $trade->status->label() }} @if ($trade->opened_at) {{ $trade->opened_at->diffForHumans() }} @endif @if ($trade->closed_at) {{ $trade->closed_at->diffForHumans() }} @endif View
@foreach ($trades as $trade)
Market Asset: {{ $trade->market->asset }}

Type: {{ $trade->type->label() }}

Mode: {{ $trade->mode->label() }}

Amount: {{ formatAmount($trade->amount) }}

Entry Price: {{ formatAmount($trade->entry_price) }}

Exit Price: {{ formatAmount($trade->exit_price) }}

Profit: {{ formatAmount($trade->profit) }}

Status: {{ $trade->status->label() }}

Opened At: @if ($trade->opened_at) {{ $trade->opened_at->diffForHumans() }} @endif

CLosed At: @if ($trade->closed_at) {{ $trade->closed_at->diffForHumans() }} @endif

@endforeach
@endsection