MCPcopy
hub / github.com/quantopian/zipline / read

Method read

zipline/data/minute_bars.py:1301–1317  ·  view source on GitHub ↗

Read and return pricing update data. Parameters ---------- dts : DatetimeIndex The minutes for which to read the pricing updates. sids : iter[int] The sids for which to read the pricing updates. Returns -------

(self, dts, sids)

Source from the content-addressed store, hash-verified

1299
1300 @abstractmethod
1301 def read(self, dts, sids):
1302 """
1303 Read and return pricing update data.
1304
1305 Parameters
1306 ----------
1307 dts : DatetimeIndex
1308 The minutes for which to read the pricing updates.
1309 sids : iter[int]
1310 The sids for which to read the pricing updates.
1311
1312 Returns
1313 -------
1314 data : iter[(int, DataFrame)]
1315 Returns an iterable of ``sid`` to the corresponding OHLCV data.
1316 """
1317 raise NotImplementedError()
1318
1319
1320class H5MinuteBarUpdateWriter(object):

Callers 13

versions_from_fileFunction · 0.45
do_setupFunction · 0.45
setup.pyFile · 0.45
_runFunction · 0.45
load_extensionsFunction · 0.45
load_from_directoryFunction · 0.45
openMethod · 0.45
truncateMethod · 0.45
_get_metadataMethod · 0.45
read_compressedFunction · 0.45
_renderFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_bundleMethod · 0.36