View Source BitpandaApi.Api.Public.Ohlc (Bitpanda API v0.1.0)
Functions to fetch OHLC for a certain asset or many assets
Link to this section Summary
Functions
Get OHLC data for all the provided assets for the provided period
Get OHLC for one or more assets for the provided period. Raises an exception on error
Link to this section Functions
@spec get([String.t()] | String.t(), BitpandaApi.Entity.Ohlc.period()) :: {:ok, [BitpandaApi.Entity.Ohlc.t()]} | {:ok, BitpandaApi.Entity.Ohlc.t()} | {:error, BitpandaApi.Api.Error.t()}
Get OHLC data for all the provided assets for the provided period
@spec get!([String.t()] | String.t(), BitpandaApi.Entity.Ohlc.period()) :: [BitpandaApi.Entity.Ohlc.t()] | BitpandaApi.Entity.Ohlc.t()
Get OHLC for one or more assets for the provided period. Raises an exception on error