473 lines
13 KiB
Go
473 lines
13 KiB
Go
// -------------------------------------------------------------------------------
|
|
|
|
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
|
|
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
|
|
|
|
// -------------------------------------------------------------------------------
|
|
|
|
package ccxt
|
|
|
|
func (this *hollaex) PublicGetHealth (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetHealth", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetConstants (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetConstants", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetKit (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetKit", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetTiers (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetTiers", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetTicker (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetTicker", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetTickers (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetTickers", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetOrderbook (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetOrderbook", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetOrderbooks (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetOrderbooks", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetTrades (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetTrades", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetChart (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetChart", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetCharts (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetCharts", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetMinicharts (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetMinicharts", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetOraclePrices (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetOraclePrices", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetQuickTrade (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetQuickTrade", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetUdfConfig (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetUdfConfig", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetUdfHistory (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetUdfHistory", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PublicGetUdfSymbols (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("publicGetUdfSymbols", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivateGetUser (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privateGetUser", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivateGetUserBalance (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privateGetUserBalance", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivateGetUserDeposits (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privateGetUserDeposits", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivateGetUserWithdrawals (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privateGetUserWithdrawals", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivateGetUserWithdrawalFee (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privateGetUserWithdrawalFee", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivateGetUserTrades (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privateGetUserTrades", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivateGetOrders (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privateGetOrders", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivateGetOrder (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privateGetOrder", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivatePostUserWithdrawal (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privatePostUserWithdrawal", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivatePostOrder (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privatePostOrder", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivateDeleteOrderAll (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privateDeleteOrderAll", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|
|
|
|
func (this *hollaex) PrivateDeleteOrder (args ...interface{}) <-chan interface{} {
|
|
parameters := GetArg(args, 0, nil)
|
|
ch := make(chan interface{})
|
|
go func() {
|
|
defer close(ch)
|
|
defer func() {
|
|
if r := recover(); r != nil {
|
|
ch <- "panic:" + ToString(r)
|
|
}
|
|
}()
|
|
ch <- (<-this.callEndpoint ("privateDeleteOrder", parameters))
|
|
PanicOnError(ch)
|
|
}()
|
|
return ch
|
|
}
|