<?php $__env->startSection('content'); ?>
<div class="grid gap-6 md:grid-cols-2">
    <div class="trade-card">
        <h2 class="mb-2 text-lg font-semibold text-slate-400">Unrealized P&L</h2>
        <div class="text-3xl font-bold <?php echo e($data['unrealized_pnl'] >= 0 ? 'pnl-positive' : 'pnl-negative'); ?>">
            <?php echo e($data['unrealized_pnl'] >= 0 ? '+' : ''); ?>₹<?php echo e(number_format($data['unrealized_pnl'], 2)); ?>

        </div>
    </div>
    <div class="trade-card">
        <h2 class="mb-2 text-lg font-semibold text-slate-400">Today Realized P&L</h2>
        <div class="text-3xl font-bold <?php echo e($data['realized_pnl'] >= 0 ? 'pnl-positive' : 'pnl-negative'); ?>">
            <?php echo e($data['realized_pnl'] >= 0 ? '+' : ''); ?>₹<?php echo e(number_format($data['realized_pnl'], 2)); ?>

        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.trading', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/vishal/Desktop/AutoTrade-FlatTrade/resources/views/trading/pnl.blade.php ENDPATH**/ ?>