From 69902aeb217f4f45a4ca5663e7aa9a985301d815 Mon Sep 17 00:00:00 2001 From: Yaser Alraddadi Date: Sat, 6 Jan 2018 04:25:23 +0300 Subject: [PATCH 1/2] increase limit for GetAuthenticatedTradeHistory --- exchanges/poloniex/poloniex.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) } From 3f4059f6a2c2b0fe810e54dfd666484707568718 Mon Sep 17 00:00:00 2001 From: Bret Palsson Date: Sat, 6 Jan 2018 02:26:43 -0800 Subject: [PATCH 2/2] Ignore intelij project files --- .gitignore | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c93b5407..2d34abb6 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,8 @@ lib .vscode testdata/dump -testdata/writefiletest \ No newline at end of file +testdata/writefiletest + +# InteliJ +.idea +*.iml