mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
fix: matching test by adding default stepSize on BTCUSDT
This commit is contained in:
parent
f7398f163a
commit
66a2f55f9a
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user