tai v0.0.7 Tai.Exchanges.AssetBalanceRange

Link to this section Summary

Link to this section Types

Link to this type qty()
qty() :: number() | String.t() | Decimal.t()
Link to this type t()
t() :: %Tai.Exchanges.AssetBalanceRange{
  asset: atom(),
  max: Decimal.t(),
  min: Decimal.t()
}

Link to this section Functions

Link to this function new(asset, min, max)
new(atom(), qty(), qty()) :: t()
Link to this function validate(asset_balance_range)
validate(t()) :: :ok | {:error, :min_less_than_zero | :min_greater_than_max}