Skip to main content
Loading navigation

Build and review the exercise

Prompt source

Implementation with evidence-linked review4 lines4 sectionsNo variables0 checklist items
Allocate partial trade fills across participating funds under the pre-trade instruction. Reconcile whole-share allocations and commissions. Flag post-fill instruction changes instead of silently assigning the best fills to a favored fund.

Contract: Use signed instructions available before the fill. Allocate whole shares by largest remainder, breaking ties by fund order. Allocate commission by resulting shares using the same rounding method.

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.