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.

[Kraken] CurrencyPair misspelled CHE/UR -->BCH/EUR

See original GitHub issue

`private static void generic(Exchange krakenExchange) throws IOException {

// Interested in the private trading functionality (authentication)
    TradeService tradeService = krakenExchange.getTradeService();

// Get the trade history
    Trades trades = tradeService.getTradeHistory(tradeService.createTradeHistoryParams());
    List<Trade> tradeHistory = trades.getTrades();
    for (Trade t : tradeHistory) {
          System.out.println(t.getCurrencyPair().toString();}

}`

In this case of a trade with Currency Pair is “BCH/EUR” the system will return “CHE/UR” (currencyPair=CHE/UR - printing the whole Trade Objst) - same happen printing the whole Trade object for the " feeCurrency=‘UR’" - There is no get method for feeAmount and feeCurrency.

To be noticed that the currecnyPair si recognised while getting open orders instead (currencyPair=BCH/EUR) - even if it is not defined among the available CurrencyPair (e.g. CurrencyPair.XRP_EUR).

Thanks for your help!

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
timmoltercommented, Aug 31, 2017
1reaction
timmoltercommented, Aug 30, 2017

Note: latest snapshot code (develop branch) is more up to date than the latest release (on Maven central).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change the currency pair - Kraken Support
You can select a new currency pair from the drop-down menu located in the upper left corner of any page on your account....
Read more >
BCHEUR | Bitcoin Cash EUR Overview - MarketWatch
BCHEUR | A complete Bitcoin Cash EUR cryptocurrency overview by MarketWatch. View the latest cryptocurrency news, crypto prices and market data.
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