ccxt-go/fmfwio.go
zhangkun9038@dingtalk.com 1a2ce7046a first add
2025-02-28 10:33:20 +08:00

48 lines
1.4 KiB
Go

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 fmfwio struct {
hitbtc
}
func NewFmfwioCore() fmfwio {
p := fmfwio{}
setDefaults(&p)
return p
}
func (this *fmfwio) Describe() interface{} {
return this.DeepExtend(this.hitbtc.Describe(), map[string]interface{} {
"id": "fmfwio",
"name": "FMFW.io",
"countries": []interface{}{"KN"},
"urls": map[string]interface{} {
"logo": "https://user-images.githubusercontent.com/1294454/159177712-b685b40c-5269-4cea-ac83-f7894c49525d.jpg",
"api": map[string]interface{} {
"public": "https://api.fmfw.io/api/3",
"private": "https://api.fmfw.io/api/3",
},
"www": "https://fmfw.io",
"doc": "https://api.fmfw.io/",
"fees": "https://fmfw.io/fees-and-limits",
"referral": "https://fmfw.io/referral/da948b21d6c92d69",
},
"fees": map[string]interface{} {
"trading": map[string]interface{} {
"maker": this.ParseNumber("0.005"),
"taker": this.ParseNumber("0.005"),
},
},
})
}
func (this *fmfwio) Init(userConfig map[string]interface{}) {
this.hitbtc.Init(this.DeepExtend(this.Describe(), userConfig))
this.Itf = this
this.Exchange.DerivedExchange = this
}