feat go-client
This commit is contained in:
@@ -29,7 +29,7 @@ func main() {
|
||||
if err != nil {
|
||||
fatal("获取资产失败: %v", err)
|
||||
}
|
||||
positions, err := client.Positions(ctx)
|
||||
_, positions, err := client.Positions(ctx)
|
||||
if err != nil {
|
||||
fatal("获取持仓失败: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user