Trade ticks not matching Aggregates

Sep 6, 2019

Quite often we get support emails where a user is trying to calculate aggregates from the raw trade data. When doing so, the data does not seem to match up.

This is because aggregates ( OHLCV ) are a little more complex to calculate than just min,max,etc. There are condition matrix tables you must adhere to in the CTA and UTP specifications.

You can find our API aggregate condition mappings here.

For more information, the CTA and UTP documentation is below:

For CTA, See page 62:

For UTP, See page 43:

From the blog

See what's happening at

integration quantconnect Feature Image

Integration: QuantConnect

We are excited to announce our integration with QuantConnect! This offering empowers users with state-of-the-art research, backtesting, parameter optimization, and live trading capabilities, all fueled by the robust market data APIs and WebSocket Streams of