kmadac / bitstamp-python-client

Python package to communicate with bitstamp.net
MIT License
143 stars 70 forks source link

Param 'timedelta' in public 'transactions' query is incorrect #16

Closed Maberi closed 10 years ago

Maberi commented 10 years ago

Currently, the 'transactions' query only supports the 'time' parameter with 'minute' or 'hour' value:

Params: time - time frame for transaction export ("minute" - 1 minute, "hour" - 1 hour). Default: hour.

kmadac commented 10 years ago

Thanks for noticing the issue.

Parameter timedelta in transaction method was changed to time. Now, it is possible to choose between minute and hour time range. TransRange.HOUR is default value for time parameter. It is also possible to choose TransRange.MINUTE to get list of transactions only for last minute.