mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
Merge branch 'master' of https://github.com/thrasher-/gocryptotrader
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -5,4 +5,8 @@ lib
|
||||
.vscode
|
||||
|
||||
testdata/dump
|
||||
testdata/writefiletest
|
||||
testdata/writefiletest
|
||||
|
||||
# InteliJ
|
||||
.idea
|
||||
*.iml
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user