@extends('layouts.app') @section('title', 'Trade ' . $current?->symbol) @push('head') @vite(['resources/js/trade.js']) @endpush @section('content') @php use App\Support\Money; @endphp @if(! $current)
| Symbol | Side | Size | Entry | Mark | SL | TP | Margin | P&L | |
|---|---|---|---|---|---|---|---|---|---|
| {{ $p['symbol'] }} | {{ strtoupper($p['side']) }} {{ $p['leverage'] }}x | {{ Money::fmt($p['quantity'], 4) }} | {{ Money::fmt($p['entry_price']) }} | {{ Money::fmt($p['mark_price']) }} | {{ $p['stop_loss'] ? Money::fmt($p['stop_loss']) : '—' }} | {{ $p['take_profit'] ? Money::fmt($p['take_profit']) : '—' }} | {{ Money::fmt($p['margin']) }} | {{ Money::fmt($p['pnl']) }} |
No open positions.
| {{ $o->instrument->symbol }} | {{ strtoupper($o->side->value) }} | {{ Money::fmt((string) $o->quantity, 4) }} @ {{ Money::fmt((string) $o->limit_price) }} | |
| No pending orders. |
| {{ $t->instrument->symbol }} | {{ strtoupper($t->side->value) }} | {{ $t->close_reason?->label() }} | {{ Money::fmt($t->netPnl()) }} |
| No closed trades yet. |