Hello!

I am trying to program an algorithm that uses tick data and an indicator to trade future contracts. Is there a way of consolidating say 300 ticks into trade bars in python? I know that it's possible in C# but I haven't been able to find any information or examples for python. If not would I just have to program the sizes into the indicators?

I would appreciate any help anyone could offer. Cheers!!