Skip to main content
Loading navigation

Build and review the exercise

Prompt source

Implementation with evidence-linked review4 lines4 sectionsNo variables0 checklist items
Reconstruct variation-margin cash from contract positions and settlement prices. Separate opening collateral from daily profit and loss. Reconcile the clearing statement after a contract multiplier change and a duplicate cash message.

Contract: Daily variation equals contracts times multiplier times settlement-price change. Each day supplies the applicable multiplier. Deduplicate cash messages by ID. Initial margin is collateral, not PnL.

Use the attached inputs and dictionary. Show source records, calculation traces and unresolved cases. Return an export with stable record references.

Use the supplied fictional contract. Do not execute payments, trades, credit decisions or regulatory filings. Do not present results as legal, accounting or investment advice.