But make sure before that Ally really returns the tick start time in their API, because this is unusual. Most prices sources return the time when the tick was sampled.
I did not know this.
GET market/timesales:"The datetime field will indicate the start time of an interval (for example: 09:25 will represent the interval from 09:25 to 09:30)."
I guess that Ally is an
unusual broker.
And I did not implement ticks because I cannot get it to work. So that saves me a step.