How ScriptTrader Reports Position Profit and Loss
Summary
This short forum exchange asks how ScriptTrader’s position query reports profit and loss: by daily mark-to-market accounting or by matching individual trades. The reply says the value is accumulated from successive position responses delivered through the investor-position query callback. This gives a practical clue about the data source behind the reported position P&L in that interface.
The exchange does not explain the accounting formula, clarify whether the accumulated values are realized or unrealized P&L, or compare the result with daily settlement figures. It also provides no code or example output. The answer is therefore useful as a narrow implementation detail for users investigating ScriptTrader position data, but should not be treated as a general explanation of futures accounting or as confirmation of how every gateway and contract handles P&L.
Key ideas
- The question distinguishes daily mark-to-market P&L from trade-by-trade matching.
- The reply says the position P&L is accumulated from investor-position query responses.
- The exchange does not specify the calculation formula or whether the figure is realized or unrealized P&L.
- The explanation is specific to the ScriptTrader interface and lacks examples or broader accounting guidance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.