Kraken API的AssetPairs

9

我正在使用Kraken API,但我无法找到一个好的解释来解释响应中的信息。

实际上,对于给定的交易对,我有以下信息:

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

我有关于这个有效载荷的一些问题。感谢所有帮助我的人。

  1. lot_decimalspair_decimals:它们是如何应用的?我猜想,也许前者意味着第一种货币的数量最多可以用lot_decimals位小数表示,后者则意味着您可以用最多pair_decimals位小数表示货币对的价值。这合理吗?

  2. lot_multiplier:解释很清楚,但始终为1。这里存在任何原因吗?

  3. lot:这是您想在第二种货币中计算的第一种货币的金额吗?例如:100 EURBTC,100 是批量大小吗?

谢谢


嗨,布鲁诺,你可以回答自己的问题,这样答案就不会在问题中了。我现在会将它粘贴为答案。请在评论中告诉我何时完成。 - Matas Vaitkevicius
1个回答

3

我从@Bruno Ripa的问题中复制了以下内容:

我收到了来自Kraken的反馈。它是:

  1. lot_decimals是订单大小(交易量)的最大精度,以基础货币计算。pair_decimals是价格精度。
  2. lot_multiplier目前未使用。
  3. lot:如果交易对为BTC/EUR,则100的交易量以BTC计价,即为基础货币。

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接