我正在使用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
我有关于这个有效载荷的一些问题。感谢所有帮助我的人。
lot_decimals
和pair_decimals
:它们是如何应用的?我猜想,也许前者意味着第一种货币的数量最多可以用lot_decimals
位小数表示,后者则意味着您可以用最多pair_decimals位小数表示货币对的价值。这合理吗?lot_multiplier
:解释很清楚,但始终为1。这里存在任何原因吗?lot
:这是您想在第二种货币中计算的第一种货币的金额吗?例如:100 EURBTC,100 是批量大小吗?
谢谢