question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: kraken HTML page markup has changed

See original GitHub issue
  • OS: CentOS
  • Programming Language version: JavaScript (in Web browser via ccxt-browser.js)
  • CCXT version: latest ccxt-browser.js

I finally have my proxy server running and am able to use the code below (only with binance as the exchange) to pull close data. With kraken it’s throwing an error. Which is confusing as I’m obviously checking if ‘fetchTicker’ is supported.

<script type="text/javascript">
const kraken = new ccxt.kraken({'enableRateLimit': true})
kraken.proxy = 'https://xxxxxxxxxx.com:8080/'

if (kraken.has['fetchTicker']) {
    kraken.fetchTicker ('BTC/USD')
    .then(function(data) {
      var btc = data.last;
      console.log(btc);
      console.log(data);
      return btc;
    })
}
</script>

ERROR (in JS console):

ccxt.browser.js:4893 Uncaught (in promise) NotSupported: kraken fetchMinOrderAmounts HTML page markup has changed: https://kraken.zendesk.com/api/v2/help_center/en-us/articles/205893708 at kraken.fetchMinOrderAmounts (https://cdn.jsdelivr.net/npm/ccxt@1.29.75/dist/ccxt.browser.js:72651:19) at async kraken.fetchMarkets (https://cdn.jsdelivr.net/npm/ccxt@1.29.75/dist/ccxt.browser.js:72723:22) at async kraken.loadMarketsHelper (https://cdn.jsdelivr.net/npm/ccxt@1.29.75/dist/ccxt.browser.js:4032:25) at async kraken.fetchTicker (https://cdn.jsdelivr.net/npm/ccxt@1.29.75/dist/ccxt.browser.js:73011:9)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
mmehrlecommented, Mar 10, 2021

Awesome - even better. FYI - along with setting up my own corsproxy instance on my server and figuring all this out it feels like I just gave birth! But seeing it actually running inside my page as part of the dynamic Javascript is pure magic. Well done - I’ll be having a lot of fun with this.

1reaction
kroitorcommented, Mar 10, 2021

@mmehrle alternatively, you can use this URL which always points to the most recent version: https://cdn.jsdelivr.net/npm/ccxt/dist/ccxt.browser.js (you won’t have to edit the version numbers manually this way, and it will stay up to date).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kraken fetchMinOrderAmounts HTML page markup ... - GitHub
It seems that Kraken has changed the markup of the html page ... loadMarkets() for the Kraken exchange the following error is thrown:...
Read more >
<fieldset>: The Field Set element - HTML - MDN Web Docs
This attribute takes the value of the id attribute of a <form> element you want the <fieldset> to be part of, even if...
Read more >
Why does my FAQ say 'broken HTML in answer content' when ...
You can fix this error as follows: 1. Export all of your affected FAQs as a CSV. 2. Identify which FAQs have broken...
Read more >
Safari Technology Preview Release Notes - Apple Developer
Note: Shared Tab Groups and syncing for Tab Groups, Website Settings, ... Changed URL breakpoints to also pause when an HTML attribute is...
Read more >
Microsoft Word in Windows 2010 Track Changes error
If the command doesn't work, it suggests that someone has added markup manually, by formatting text with underlines, strikethrough, etc., and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found