mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 01:01:56 +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"),
|
||||
MinAmount: fixedpoint.MustNewFromString("10.0"),
|
||||
MinQuantity: fixedpoint.MustNewFromString("0.001"),
|
||||
StepSize: fixedpoint.MustNewFromString("0.00001"),
|
||||
}
|
||||
|
||||
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"),
|
||||
MinAmount: fixedpoint.MustNewFromString("10.0"),
|
||||
MinQuantity: fixedpoint.MustNewFromString("0.001"),
|
||||
StepSize: fixedpoint.MustNewFromString("0.00001"),
|
||||
}
|
||||
return market
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user