Try simulated trades
Make each pretend trade and its assumptions visible.
The idea
Paper trading means recording simulated trades without sending real orders.
It helps you inspect the program. It does not tell you exactly how a real order would fill.
A small example
Extend the replay with a clearly labeled learning rule:
- When the signal turns positive, record a request for a simulated buy.
- State which later price the simulator will use for the fill.
- When the signal turns negative, record a request to close it.
- Keep a log of both the decision and the assumed fill.
Use the cost worksheet from part three. Do not fill a decision at an earlier price the program could no longer act on.
Try it
Pause the input while the program has a pretend position. What should the status panel say?
Check your work
It should make the pause and the simulated position visible. The program should not invent fresh prices or fills.
Review the log before continuing. You should be able to explain every pretend trade in plain English.