From 2fb5b3a522138044294e8622cced2b1d8d2d5777 Mon Sep 17 00:00:00 2001 From: HaoZhengZhao Date: Fri, 3 May 2024 20:43:14 +0800 Subject: [PATCH] fix: fixed depth --- feature/api/binance/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feature/api/binance/index.go b/feature/api/binance/index.go index 49cbf7a..62e47d5 100644 --- a/feature/api/binance/index.go +++ b/feature/api/binance/index.go @@ -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] }