8000 CCXT 1.15 XRB → NANO · Issue #3302 · ccxt/ccxt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CCXT 1.15 XRB → NANO #3302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kroitor opened this issue Jul 1, 2018 · 0 comments
Closed

CCXT 1.15 XRB → NANO #3302

kroitor opened this issue Jul 1, 2018 · 0 comments
Assignees

Comments

@kroitor
Copy link
Member
kroitor commented Jul 1, 2018

Hi!

Due to a confusion on the proper code for the RaiBlocks token, we have switched from using the old XRB symbol to using the newer NANO symbol across the entire library. This was XRB in CCXT 1.14, now it's NANO in CCXT 1.15+.

Please, note that starting from CCXT 1.15 all pairs are switched to the new unified code NANO:

  • XRB/BTC is now NANO/BTC
  • XRB/ETH is now NANO/ETH
  • and so on...

Related links:

The Manual has been updated accordingly.

This is a backward-incompatible change and it might affect many users. Please, make sure to update your code accordingly.

If you still wish to keep the old behaviour for the exchange in question, you can add your own commonCurrencies substitution map like so:

// pseudocode to revert to old behaviour with CCXT 1.15+

exchange = new ccxt.exchange ({
    // use the old XRB code
    'commonCurrencies': {
        'XRB': 'XRB',
        'NANO': 'XRB',
    }
})

Thx for using this library!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0