Introducing

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:
https://www.ctaplan.com/publicdocs/ctaplan/notifications/trader-update/CTS_BINARY_OUTPUT_SPECIFICATION.pdf

For UTP, See page 43:
http://utpplan.com/DOC/UtpBinaryOutputSpec.pdf

From the blog

See what's happening at polygon.io

case study fey Feature Image

Case Study: Fey

Discover how Fey, a rising star in fintech, transformed their financial application's capabilities with Polygon.io's API services. Dive into our latest case study to see how we're powering innovation in finance.