Closed strangelittlemonkey closed 1 year ago
Thanks, I will review and merge shortly!
I added some comments.
The documentation on the site was formerly incorrect ( at the time of this pull request ) but has been updated to now be correctly showing that for the endpoints that the pair field is optional.
https://docs.kraken.com/rest/#tag/User-Data/operation/getTradeVolume
pair | string Comma delimited list of asset pairs to get fee info on (optional)
I realize that my commit with it being optional did not match the documentation, but it did match what actually worked with the endpoint.
This is an authenticated endpoint, taking one or more pairs comma separated, eg. "ADAUSD" or "ADAUSD,KAVAUSD" in addition to the optional fee-info. The response tells the level of volume done in the last 30 days revolving in addition to current fee and next fee ( if any ) and next volume level for discount ( if any ).