From 05d709226dafd644f74a0f562129f975d485d7d0 Mon Sep 17 00:00:00 2001 From: buck54321 Date: Fri, 31 Jan 2025 21:46:41 -0600 Subject: [PATCH] add filters to testbinance exchangeinfo response (#3160) --- client/cmd/testbinance/main.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/client/cmd/testbinance/main.go b/client/cmd/testbinance/main.go index 174ed651ed..3d8c0a7f14 100644 --- a/client/cmd/testbinance/main.go +++ b/client/cmd/testbinance/main.go @@ -119,6 +119,20 @@ func makeMarket(baseSymbol, quoteSymbol string) *bntypes.Market { "TAKE_PROFIT", "TAKE_PROFIT_LIMIT", }, + Filters: []*bntypes.Filter{ + { + Type: "PRICE_FILTER", + MinPrice: 0, + MaxPrice: math.MaxFloat64, + TickSize: 1e-9, + }, + { + Type: "LOT_SIZE", + MinQty: 0, + MaxQty: math.MaxFloat64, + StepSize: 1e-9, + }, + }, } }