{% extends 'layouts/base.html' %} {% block content %}
Profit = (sell − buy) × quantity × scrip point value. Short positions invert the difference.
| Scrip | Position | Buy | Sell | Qty | Points | Point Value | Profit / Loss |
|---|---|---|---|---|---|---|---|
| {{ r.scrip }} | {{ 'Short' if r.side == 'sell' else 'Long' }} | {{ r.buy }} | {{ r.sell }} | {{ r.quantity }} | {{ '%.2f'|format(r.points) }} | {{ r.point_value }} | ₹{{ '%.2f'|format(r.profit) }} |
| Net | ₹{{ '%.2f'|format(net_total) }} | ||||||