fix: matching test by adding default stepSize on BTCUSDT

This commit is contained in:
zenix 2022-08-17 20:00:01 +09:00
parent f7398f163a
commit 66a2f55f9a

View File

@ -38,6 +38,7 @@ func TestSimplePriceMatching_orderUpdate(t *testing.T) {
MinNotional: fixedpoint.MustNewFromString("0.001"), MinNotional: fixedpoint.MustNewFromString("0.001"),
MinAmount: fixedpoint.MustNewFromString("10.0"), MinAmount: fixedpoint.MustNewFromString("10.0"),
MinQuantity: fixedpoint.MustNewFromString("0.001"), MinQuantity: fixedpoint.MustNewFromString("0.001"),
StepSize: fixedpoint.MustNewFromString("0.00001"),
} }
t1 := time.Date(2021, 7, 1, 0, 0, 0, 0, time.UTC) t1 := time.Date(2021, 7, 1, 0, 0, 0, 0, time.UTC)
@ -192,6 +193,7 @@ func getTestMarket() types.Market {
MinNotional: fixedpoint.MustNewFromString("0.001"), MinNotional: fixedpoint.MustNewFromString("0.001"),
MinAmount: fixedpoint.MustNewFromString("10.0"), MinAmount: fixedpoint.MustNewFromString("10.0"),
MinQuantity: fixedpoint.MustNewFromString("0.001"), MinQuantity: fixedpoint.MustNewFromString("0.001"),
StepSize: fixedpoint.MustNewFromString("0.00001"),
} }
return market return market
} }