Skip to content
Velo

.batch_depth

Splits a depth request into parameter dictionaries that fit the endpoint's per-request limit. .depth calls this method automatically, so most applications do not need to call it directly.

Example

batches = client.batch_depth(params)

Parameters

params

  • Type: dict

See Depth parameters for the accepted fields.

Return type

list[dict]

Returns one or more API request dictionaries. Each dictionary contains begin, end, reso, and forward, together with either coin or both exchange and product.