Skip to content

Inconsistent historical Spread #119

@dverney

Description

@dverney

Versions

OS: Amazon Linux (lambda)
Python: 3.6.9
krakenex: None

What are you trying to achieve?

I get Kraken data directly from their APIs (without using Krakenex).

What do you expect to happen?

My environments are on an identical infrastructure (lambda and S3), and have an identical application code too. I therefore expect that the data recovered by my two environments will be identical.

What happens instead?

I just realized that there are differences at least on the data of 'XXBTZUSD' Spread (Bitcoin in $).
After checking my code, I conclude that there must be an inconsistency in the data returned by the Kraken API.
To verify this, I just made 2 calls spaced about 7 seconds apart (https://api.kraken.com/0/public/Spread?pair=XXBTZUSD&since=0).

Here are the results :
Capture d’écran 2020-04-08 à 21 37 07

The data returned by each call is incomplete.
The cells in red correspond to the missing data, in yellow a difference in timestamp (or can be 2 separate records... I don't know).

What is your question?

  • Have you noticed this inconsistency in the Spread data (using Krakenex or not)?
  • Does Krakenex take this lack of reliability into account in Kraken Spread data?
  • If the cells in yellow correspond in fact to two separate records, would it be interesting to do a concatenation of several API calls to try to have the exhaustiveness of the data?

Thanks in advance for your help, and thank you for Krakenex which I just found out !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions