Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初始化 币安 报错 #184

Closed
silver-brother opened this issue Oct 27, 2020 · 3 comments
Closed

初始化 币安 报错 #184

silver-brother opened this issue Oct 27, 2020 · 3 comments

Comments

@silver-brother
Copy link

初始化

api := builder.DefaultAPIBuilder.BuildFuture(goex.BINANCE)
fmt.Println(api)

返回错误信息

/go/pkg/mod/github.com/nntaoli-project/goex@v1.2.2/bitmex/bitmex.go:164:3: cannot use leverRate (type int) as type float64 in field value
/go/pkg/mod/github.com/nntaoli-project/goex@v1.2.2/bitmex/bitmex.go:236:17: cannot use p.Leverage (type int) as type float64 in assignment
@nntaoli
Copy link
Member

nntaoli commented Oct 28, 2020

请用最新版

@silver-brother
Copy link
Author

请用最新版

最新版本不是 1.2.2 吗?我现在就是这个版本啊?难不成是dev?

@nntaoli
Copy link
Member

nntaoli commented Oct 28, 2020

#182

@nntaoli nntaoli closed this as completed Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants