Reg. Address: #1108, Sector 21-B, Chandigarh – 160022
Head Office: Finvasia Tower, C-214, 4th Floor, Phase 8B, Sector 74, Industrial Focal Point, SAS Nagar (Mohali), Punjab – 160055
Corporate Office: Finvasia Securities Private Limited, 23rd Floor, Sunshine Tower, Plot No. 616, Senapati Bapat Marg, Dadar West, Parel, Mumbai, Maharashtra – 400013, India
NSE Clearing Member: M51912, NSE Member Code: 14846, BSE Member Code: 4043, MCX Member ID: 55135.
SEBI Reg: INZ000176037 (Cash, F&O, CDS, Commodity), AMFI ARN: 103331, CDSL DP ID: 12084300, SEBI Regn : IN-DP-317-2017
Research Analyst SEBI Regn. No. INH000011927
Smart Online Dispute Resolution | Grievances Redressal Mechanism
Overview
Shoonya doesn't expose a standalone "Daily MTM" API. Your day's mark-to-market is derived by summing
rpnl(realized P&L) andurmtom(unrealized mark-to-market) across every row returned by Positions. This page documents that derivation so it doesn't have to be rediscovered per integration.Derivation
Best practices
urmtomfrom tick LTPs directly (netqty × (ltp − netavgprc) × prcftr), and reconcile the full snapshot from Positions periodically.rzpnl_*,uzpnl_*) — that's a margin-engine view and may not sum identically to the Positions-derived figure due to rounding and timing differences. Use one source consistently rather than cross-checking the two as if they must always agree to the paisa.Notes
If your use case is a dashboard rather than a trading decision, recomputing this once every few seconds from Positions is usually sufficient — there's rarely a need to recompute on every single tick.