I am consuming the Kraken API, and I am not able to find a good explanation to the info I have in the response.
Actually, for a given pair, I have the following info:
altname = alternate pair name
aclass_base = asset class of base component
base = asset id of base component
aclass_quote = asset class of quote component
quote = asset id of quote component
lot = volume lot size
pair_decimals = scaling decimal places for pair
lot_decimals = scaling decimal places for volume
lot_multiplier = amount to multiply lot volume by to get currency volume
leverage_buy = array of leverage amounts available when buying
leverage_sell = array of leverage amounts available when selling
fees = fee schedule array in [volume, percent fee] tuples
fees_maker = maker fee schedule array in [volume, percent fee] tuples (if on maker/taker)
fee_volume_currency = volume discount currency
margin_call = margin call level
margin_stop = stop-out/liquidation margin level
I have some questions about this payload. Thanks to everyone who will help.
lot_decimals
and pair_decimals
: how do these apply ? I am guessing that maybe the former means that the quantity of the first currency can be represented with a maximum of lot_decimals
decimals, with the latter meaning that you can represent the pair value with a maximum of pair_decimals decimals. Is this any reasonable ?
lot_multiplier
: the explanation is clear, but it's always 1. Any reason for this being there ?
lot
: is this the amount of first currency that you want to calculate in the second currency ? Example: 100 EURBTC, 100 is the lot size ?
Thanks
I copied this over from inside the question by @Bruno Ripa:
I had feedback from Kraken. It is:
lot_decimals
is the maximal precision of order size (volume), which is in base currency. pair_decimals
is price precisionlot_multiplier
is unused at the moment.lot
: pair is BTC/EUR, the volume of 100 is denominated in BTC, which is a base currencyIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With