错误:Kraken API返回错误:查询:未知资产对

时间:2017-12-28 09:54:36

标签: api zenbot

我正试图从海妖补充一对。但是我得到了这个错误:

blade@debian:~/zenbot$ zenbot backfill kraken.XXBT-ZEUR --days 1node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
    In the future, you will have to enable it yourself.
    See https://github.com/yagop/node-telegram-bot-api/issues/319. module.js:635:30

    Trades error:
    Error: Kraken API returned error: Query:Unknown asset pair
        at Request._callback (/home/blade/zenbot/node_modules/kraken-api/kraken.js:155:34)
        at Request.self.callback (/home/blade/zenbot/node_modules/request/request.js:186:22)
        at emitTwo (events.js:126:13)
        at Request.emit (events.js:214:7)
        at Request.<anonymous> (/home/blade/zenbot/node_modules/request/request.js:1060:10)
        at emitOne (events.js:116:13)
        at Request.emit (events.js:211:7)
        at IncomingMessage.<anonymous> (/home/blade/zenbot/node_modules/request/request.js:980:12)
        at Object.onceWrapper (events.js:313:30)
        at emitNone (events.js:111:20)
        at IncomingMessage.emit (events.js:208:7)
        at endReadableNT (_stream_readable.js:1056:12)
        at _combinedTickCallback (internal/process/next_tick.js:138:11)
        at process._tickCallback (internal/process/next_tick.js:180:9)

    getTrades() returned no trades, --start may be too remotely in the past.

我尝试过使用gdax,但它确实有效。问题出在哪儿? zenbot或kraken?

当我在status.kraken.com上看到图片时,他们的API似乎有效。

1 个答案:

答案 0 :(得分:1)

我不是百分百肯定,但请看products.json。并尝试使用XBT / EUR作为标签。所以kraken.XBT-EUR