forked from quantopian/zipline
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Modifies minute bars to use a dict of OHLC ratios (quantopian#…
…1428) For scaling up pricing data before writing to bcolz, the writer now accepts a dict mapping each sid to the ratio to use. It still accepts a single ratio as default_ohlc_ratio, which is used as a fallback if no mapping exists for a given sid. The default is OHLC_RATIO (1000). This allows better handling of futures pricing data, where the required precision across root symbols is not consistent.
- Loading branch information
Andrew Daniels
committed
Aug 24, 2016
1 parent
20f9241
commit acb2cf1
Showing
1 changed file
with
80 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters