Can someone please share a sample code for creating 300-tick bars (candles) from tick data.
Note: TickConsolidator

Many thanks!