Skip to content

Commit

Permalink
fix: fixed depth
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZhengZhao committed May 3, 2024
1 parent f444c69 commit 2fb5b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature/api/binance/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func GetDepth(symbol string, limits ...int) (res *futures.DepthResponse, err err
}

func GetDepthAvgPrice(symbol string, limits ...int) (buyPrice float64, sellPrice float64, err error) {
limit := 25 // 默认值
limit := 50 // 默认值
if len(limits) != 0 {
limit = limits[0]
}
Expand Down

0 comments on commit 2fb5b3a

Please sign in to comment.