Skip to content

Commit 05d7092

Browse files
authored
add filters to testbinance exchangeinfo response (#3160)
1 parent cfa6f07 commit 05d7092

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

client/cmd/testbinance/main.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,20 @@ func makeMarket(baseSymbol, quoteSymbol string) *bntypes.Market {
119119
"TAKE_PROFIT",
120120
"TAKE_PROFIT_LIMIT",
121121
},
122+
Filters: []*bntypes.Filter{
123+
{
124+
Type: "PRICE_FILTER",
125+
MinPrice: 0,
126+
MaxPrice: math.MaxFloat64,
127+
TickSize: 1e-9,
128+
},
129+
{
130+
Type: "LOT_SIZE",
131+
MinQty: 0,
132+
MaxQty: math.MaxFloat64,
133+
StepSize: 1e-9,
134+
},
135+
},
122136
}
123137
}
124138

0 commit comments

Comments
 (0)