Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not explicitly round asset prices #1788
Previously, all asset prices were being rounded to 3 decimal places because this is the most precision we ever needed for equities. Some futures however have tick sizes with precision less than 0.001, so we don't want to cut off those price values.
Since we already cutoff the decimal places for equities to three places by default (https://github.com/quantopian/zipline/blob/master/zipline/data/minute_bars.py#L55) the explicit rounding when reading is unnecessary anywhere. And futures prices should be already cutoff to the appropriate precision according to their