parallelize_on attribute of the parent
ParallelDataCollection.
Examples:
time_increment on top:
- Parameters:
- None
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
coinmetrics._data_collection.ParallelDataCollection.export_to_json_files(
data_directory=None,
compress=False,
)
parallelize_on attribute of the parent
ParallelDataCollection.
Examples:
client.get_market_trades(
"coinbase-eth-btc-spot,coinbase-eth-usdc-spot",
).parallel("markets").export_to_json_files()
./market-trades/coinbase-eth-btc-spot.json
./market-trades/coinbase-eth-usdc-spot.json
time_increment on top:
client.get_asset_metrics(
"btc,eth", "ReferenceRateUSD",
start_time="2024-01-01", limit_per_asset=1,
).parallel(
"assets,metrics",
time_increment=timedelta(days=1),
).export_to_json_files()
./asset-metrics/btc/ReferenceRateUSD/start_time=2024-01-01T00-00-00Z.json
./asset-metrics/eth/ReferenceRateUSD/start_time=2024-01-01T00-00-00Z.json
