Git Product home page Git Product logo

Comments (4)

JKorf avatar JKorf commented on August 30, 2024

Looks like the the API is implemented as described on

  1. https://docs.kraken.com/rest/#tag/User-Data/operation/getTradesInfo
  2. https://docs.kraken.com/rest/#tag/User-Data/operation/getTradeHistory

If data is not returned for some reason thats outside of my control. If you feel like something should be fixed because the mapping or something is incorrect please let me know.

from kraken.net.

jaylagorio avatar jaylagorio commented on August 30, 2024

I think something should be fixed because the mapping or something is incorrect. For example, calling GetUserTradeAsync
(which hits the TradeHistory endpoint) returns this information:

image

However, running the Python example client (https://support.kraken.com/hc/en-us/articles/360025180232-REST-API-command-line-client-Python-) with the TradeHistory endpoint returns this data:

{"error":[],"result":{"count":5384,"trades":{"TAY77K-FMNYL-KGCUHN":{"ordertxid":"OLQWKA-HUCZS-NNV5MY","postxid":"TKH2SE-M7IF5-CFI7LT","pair":"TBTCXBT","time":1679144288.0316086,"type":"sell","ordertype":"limit","price":"1.03006000","cost":"0.00005892","fee":"0.00000012","vol":"0.00005720","margin":"0.00000000","leverage":"0","misc":"","trade_id":77183}

Note the cost data is in the JSON being returned in the Python data. This is data that should be present in GetUserTradeAsync and at least at one point was present when I used the same code to retrieve that data last year.

from kraken.net.

JKorf avatar JKorf commented on August 30, 2024

Its under QuoteQuantity right?

from kraken.net.

jaylagorio avatar jaylagorio commented on August 30, 2024

That appears to be right - it wasn't obvious that was what it was being mapped to. Thanks!

from kraken.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.