increase limit for GetAuthenticatedTradeHistory

This commit is contained in:
Yaser Alraddadi
2018-01-06 04:25:23 +03:00
parent 1a5c7a7ae1
commit 69902aeb21

View File

@@ -369,13 +369,17 @@ func (p *Poloniex) GetOpenOrders(currency string) (interface{}, error) {
}
}
func (p *Poloniex) GetAuthenticatedTradeHistory(currency, start, end string) (interface{}, error) {
func (p *Poloniex) GetAuthenticatedTradeHistory(currency, start, end, limit string) (interface{}, error) {
values := url.Values{}
if start != "" {
values.Set("start", start)
}
if limit != "" {
values.Set("limit", limit)
}
if end != "" {
values.Set("end", end)
}