// ------------------------------------------------------------------------------- // 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 *coinspot) PublicGetLatest (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 ("publicGetLatest", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostOrders (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 ("privatePostOrders", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostOrdersHistory (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 ("privatePostOrdersHistory", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostMyCoinDeposit (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 ("privatePostMyCoinDeposit", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostMyCoinSend (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 ("privatePostMyCoinSend", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostQuoteBuy (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 ("privatePostQuoteBuy", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostQuoteSell (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 ("privatePostQuoteSell", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostMyBalances (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 ("privatePostMyBalances", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostMyOrders (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 ("privatePostMyOrders", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostMyBuy (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 ("privatePostMyBuy", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostMySell (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 ("privatePostMySell", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostMyBuyCancel (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 ("privatePostMyBuyCancel", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostMySellCancel (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 ("privatePostMySellCancel", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMyBalances (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 ("privatePostRoMyBalances", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMyBalancesCointype (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 ("privatePostRoMyBalancesCointype", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMyDeposits (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 ("privatePostRoMyDeposits", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMyWithdrawals (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 ("privatePostRoMyWithdrawals", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMyTransactions (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 ("privatePostRoMyTransactions", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMyTransactionsCointype (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 ("privatePostRoMyTransactionsCointype", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMyTransactionsOpen (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 ("privatePostRoMyTransactionsOpen", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMyTransactionsCointypeOpen (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 ("privatePostRoMyTransactionsCointypeOpen", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMySendreceive (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 ("privatePostRoMySendreceive", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMyAffiliatepayments (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 ("privatePostRoMyAffiliatepayments", parameters)) PanicOnError(ch) }() return ch } func (this *coinspot) PrivatePostRoMyReferralpayments (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 ("privatePostRoMyReferralpayments", parameters)) PanicOnError(ch) }() return ch }