Building Real-Time Minute Bars from Futures Tick Data
Summary
This Chinese-language post describes a method for turning raw futures tick updates into real-time minute bars for traders using lower- and medium-frequency strategies. Its design aims to align bar timestamps with common market-data conventions: ticks during a minute are assigned to the bar labeled at the minute’s end, while a tick at the exchange’s closing time belongs to the final bar rather than creating a bar for the next minute.
The proposed approach tracks the previous tick to calculate the current minute’s incremental volume. It also obtains the futures instrument’s trading sessions when updates arrive, intended to prevent after-hours ticks from being included in bars. The post states that the method is meant to match established charting and database conventions, but the supplied text shows no implementation details, sample output, validation, or handling of missing, late, or out-of-order ticks. It is a practical design outline rather than evidence of correctness across data feeds or exchanges.
Key ideas
- The post converts raw futures ticks into minute bars for lower- and medium-frequency strategies.
- Bars are right-labeled, so ticks within a minute are grouped under its ending timestamp.
- A tick at the exchange closing time is assigned to the final bar of the session.
- The method uses the previous tick to calculate incremental volume within the current minute.
- Trading-session information is used to avoid including ticks received outside the instrument’s session.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.