From a958d4d0927ccbf45784d4f60b8430f4c100ed35 Mon Sep 17 00:00:00 2001 From: zenix Date: Thu, 18 Aug 2022 12:03:38 +0900 Subject: [PATCH] fix: matching_test add TickSize --- pkg/backtest/matching_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/backtest/matching_test.go b/pkg/backtest/matching_test.go index c293e62ec..ede42bd95 100644 --- a/pkg/backtest/matching_test.go +++ b/pkg/backtest/matching_test.go @@ -39,6 +39,7 @@ func TestSimplePriceMatching_orderUpdate(t *testing.T) { MinAmount: fixedpoint.MustNewFromString("10.0"), MinQuantity: fixedpoint.MustNewFromString("0.001"), StepSize: fixedpoint.MustNewFromString("0.00001"), + TickSize: fixedpoint.MustNewFromString("0.01"), } 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"), MinQuantity: fixedpoint.MustNewFromString("0.001"), StepSize: fixedpoint.MustNewFromString("0.00001"), + TickSize: fixedpoint.MustNewFromString("0.01"), } return market }