dominiktraxl / pykrakenapi

A python implementation of the Kraken API.
GNU Lesser General Public License v3.0
225 stars 53 forks source link

average market price for a given volume #66

Closed jonnymaserati closed 2 years ago

jonnymaserati commented 2 years ago

I find it a bit weird that there's no call to return the current market price (average price) for a volume trade (at least I can't find anything) in the API, so I've written one for a class I'm writing. I'm happy to pass this on if you want to modify it to fit into your code, else I can create a branch and insert it via an pull request?

Maybe this is out of scope for an API wrapper, but let me know...

dominiktraxl commented 2 years ago

Hi @jonnymaserati, Thank you for the offer, but I'd like to keep this as simple as possible with a 1-to-1 correspondence to the original Kraken API.

jonnymaserati commented 2 years ago

Completely understand @dominiktraxl!