Batch processing runs a job on a complete, bounded dataset (a day of fills, a vendor file) and produces its output once. Stream processing runs a job continuously on an unbounded sequence of events, updating its output as each event arrives. The end-of-day batch is the set of batch jobs that run after the close to produce the day’s official positions, marks, P&L, risk and reports.
fig_platmap.py.