ccxt-go/huobi.go

30 lines
646 B
Go
Raw Permalink Normal View History

2025-02-28 10:33:20 +08:00
package ccxt
// 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
type huobi struct {
htx
}
func NewHuobiCore() huobi {
p := huobi{}
setDefaults(&p)
return p
}
func (this *huobi) Describe() interface{} {
return this.DeepExtend(this.htx.Describe(), map[string]interface{} {
"id": "huobi",
"alias": true,
})
}
func (this *huobi) Init(userConfig map[string]interface{}) {
this.htx.Init(this.DeepExtend(this.Describe(), userConfig))
this.Itf = this
this.Exchange.DerivedExchange = this
}