Expand description
Loaders for CoinAPI Flat Files, the semicolon-delimited .csv.gz exports of the S3 API.
load_trades,load_quotes, andload_deltasread a whole per-symbol file.stream_trades,stream_quotes, andstream_deltasread one in chunks.CoinApiOhlcvLoaderreads an exchange-wide OHLCV file.
Values convert exactly from their text. A load infers each precision it is not given from every value it reads. A stream infers it from a leading sample and rejects a later value that would need rounding, so pass explicit precisions to stream values of unknown precision.
Structs§
- Coin
ApiOhlcv Loader - Loads [
Bar]s from exchange-wideT-OHLCV_ACTIVE_CONSOLIDATEDfiles.
Constants§
- STREAM_
CHUNK_ SIZE_ MAX - The largest
chunk_sizea stream accepts.
Functions§
- load_
deltas - Loads [
OrderBookDelta]s from aT-LIMITBOOK_FULLfile. - load_
quotes - Loads [
QuoteTick]s from aT-QUOTESfile. - load_
trades - Loads [
TradeTick]s from aT-TRADESfile. - stream_
deltas - Streams [
OrderBookDelta]s from aT-LIMITBOOK_FULLfile in chunks of aboutchunk_size. - stream_
quotes - Streams [
QuoteTick]s from aT-QUOTESfile in chunks of up tochunk_size. - stream_
trades - Streams [
TradeTick]s from aT-TRADESfile in chunks of up tochunk_size.