mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-15 11:22:18 +08:00
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.