mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
fix: matching_test add TickSize
This commit is contained in:
parent
e1c2ed40ff
commit
a958d4d092
|
@ -39,6 +39,7 @@ func TestSimplePriceMatching_orderUpdate(t *testing.T) {
|
||||||
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"),
|
StepSize: fixedpoint.MustNewFromString("0.00001"),
|
||||||
|
TickSize: fixedpoint.MustNewFromString("0.01"),
|
||||||
}
|
}
|
||||||
|
|
||||||
t1 := time.Date(2021, 7, 1, 0, 0, 0, 0, time.UTC)
|
t1 := time.Date(2021, 7, 1, 0, 0, 0, 0, time.UTC)
|
||||||
|
@ -194,6 +195,7 @@ func getTestMarket() types.Market {
|
||||||
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"),
|
StepSize: fixedpoint.MustNewFromString("0.00001"),
|
||||||
|
TickSize: fixedpoint.MustNewFromString("0.01"),
|
||||||
}
|
}
|
||||||
return market
|
return market
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user