BTCMarkets / API

API
120 stars 30 forks source link

API v3 sort order #175

Closed DavidTangye closed 4 years ago

DavidTangye commented 4 years ago

In https://api.btcmarkets.net/doc/v3#section/General-notes :

Sort order By default, all lists are sorted ascending, meaning the most recent items appear first in the list.

That will be descending, if sorted on a timestamp.

martin-nginio commented 4 years ago

Thanks @DavidTangye for your feedback.

You are right and this is a mistake in our documentation.

Records always return newer to older hence descending sort order is correct always (unless specified otherwise).

We will get the documentation fixed shortly.

Thanks.

Regards, Martin

martin-nginio commented 4 years ago

Closing the ticket as the documentation has been updated.