diff --git a/exchanges/poloniex/poloniex.go b/exchanges/poloniex/poloniex.go index 4a23e2a9..83399a2e 100644 --- a/exchanges/poloniex/poloniex.go +++ b/exchanges/poloniex/poloniex.go @@ -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) }