feat go-client

This commit is contained in:
2026-08-28 08:48:06 +08:00
parent a4791b477a
commit e0ecdfba52
2 changed files with 1 additions and 24 deletions

View File

@@ -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)
}