Skip to content

Commit

Permalink
add filters to testbinance exchangeinfo response (#3160)
Browse files Browse the repository at this point in the history
  • Loading branch information
buck54321 authored Feb 1, 2025
1 parent cfa6f07 commit 05d7092
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions client/cmd/testbinance/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
}
}

Expand Down

0 comments on commit 05d7092

Please sign in to comment.