max: fix tick size

This commit is contained in:
c9s 2020-11-22 21:34:05 +08:00
parent 914d5cdc94
commit a86078d68c

View File

@ -62,7 +62,7 @@ func (e *Exchange) QueryMarkets(ctx context.Context) (types.MarketMap, error) {
MaxQuantity: 10000.0, MaxQuantity: 10000.0,
MinPrice: 1.0 / math.Pow10(m.QuoteUnitPrecision), // used in the price formatter MinPrice: 1.0 / math.Pow10(m.QuoteUnitPrecision), // used in the price formatter
MaxPrice: 10000.0, MaxPrice: 10000.0,
TickSize: 0.001, TickSize: 1.0 / math.Pow10(m.QuoteUnitPrecision),
} }
markets[symbol] = market markets[symbol] = market