Bucket_seconds argument in get_market_history accepts only couple values
When calling get_market_history
method from account_history API with bucket_seconds
argument with other value than 15, 60, 300, 3600 or 86400
doesn't return anything. User should be aware that this argument accepts only chosen values. As @ABW recommended, appropriate error should be thrown when method is called with value that don't match values 15, 60, 300, 3600 or 86400
.
Edited by Mateusz Kudela