Git Product home page Git Product logo

Comments (6)

JKorf avatar JKorf commented on July 26, 2024 2

Hi, yes it is. Most exchanges call that data Kline or Candlestick data, so for uniformity it's available with the GetKlinesAsync method.

from kraken.net.

dharmatech avatar dharmatech commented on July 26, 2024 1

OK, it looks like the historical data can be retrieved via the Trades endpoint:

https://support.kraken.com/hc/en-us/articles/218198197-How-to-retrieve-historical-time-and-sales-trading-history-using-the-REST-API-Trades-endpoint-

from kraken.net.

dharmatech avatar dharmatech commented on July 26, 2024

@JKorf

Jan,

Thank you for taking the time to answer my question.

Sent you a little nano to help with lunch. 😊

https://nanocrawler.cc/explorer/block/D5297413BFA3698443148624A3BC59A7751019E5C920454B88D1E6EDD08E770F

from kraken.net.

dharmatech avatar dharmatech commented on July 26, 2024

Just in case others are curious about how to do get price history data, here's an example of asking for the BTCUSD data, with no specified start date and an interval of 15 days:

image

Here's a similar example, but with an interval of 1 day. Note that the data starts at 2019.

image

Note that if you ask for 1 day interval data going back to 2013, it only gives you the data starting at 2019:

image

1 hour data goes back about a month:

image

1 minute data goes back less around 12 hours:

image

from kraken.net.

dharmatech avatar dharmatech commented on July 26, 2024

Note that via Coinbase Pro API, it's possible to get 1 day data going back to 2014.

I have a video about this here:

https://youtu.be/Xl5vx9XFKyo

If anyone knows if it's possible to get the 1 day data going back to 2014 on Kraken, feel free to post below. :-)

Also, if anyone knows of other exchange APIs that provide 1 day data going back through the years, feel free to share here. :-)

from kraken.net.

dharmatech avatar dharmatech commented on July 26, 2024

@JKorf

Just FYI, I'm using your library as part of this project:

https://github.com/dharmatech/kraken-trades-database

The aim there is to retrieve the entire trading history for Kraken. I do so in two parts. First I ingest their downloadable historical CSV data. I then use your package to get the more recent trades data via API.

Thank you again for this library! Works very well.

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.