knowm / XChange

XChange is a Java library providing a streamlined API for interacting with 60+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.
http://knowm.org/open-source/xchange/
MIT License
3.86k stars 1.94k forks source link

[Kraken] unmarshalling error in AssetPairs #2925

Open lorenzo-bc opened 5 years ago

lorenzo-bc commented 5 years ago

KrakenAssetPair should contain "wsname"

Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "wsname" (class org.knowm.xchange.kraken.dto.marketdata.KrakenAssetPair), not marked as ignorable (26 known properties: "classQuote", "pair_decimals", "classBase", "marginCall", "fees", "lot_multiplier", "lot_decimals", "base", "fees_maker", "margin_stop", "aclass_quote", "volumeLotSize", "aclass_base", "volumeMultiplier", "leverage_buy", "fee_volume_currency", "margin_call", "lot", "volumeLotScale", "altname", "leverage_sell", "quote", "altName", "feeVolumeCurrency", "marginStop", "pairScale"])

Maybe related? https://github.com/knowm/XChange/issues/1812

jakubkalicki commented 5 years ago

Please, paste exact code that you have used. That's true that there is no such field in KrakenAssetPair class, but I didn't get any error during data fetch.