mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
max: fix tick size
This commit is contained in:
parent
914d5cdc94
commit
a86078d68c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user