mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
fix MAX market min price format
This commit is contained in:
parent
dc547aa818
commit
63df07b815
|
@ -58,7 +58,7 @@ func (e *Exchange) QueryMarkets(ctx context.Context) (types.MarketMap, error) {
|
||||||
MinLot: 1.0 / math.Pow10(m.BaseUnitPrecision), // make it like 0.0001
|
MinLot: 1.0 / math.Pow10(m.BaseUnitPrecision), // make it like 0.0001
|
||||||
MinQuantity: m.MinBaseAmount,
|
MinQuantity: m.MinBaseAmount,
|
||||||
MaxQuantity: 10000.0,
|
MaxQuantity: 10000.0,
|
||||||
MinPrice: 0.1,
|
MinPrice: 1.0 / math.Pow10(m.QuoteUnitPrecision), // used in the price formatter
|
||||||
MaxPrice: 10000.0,
|
MaxPrice: 10000.0,
|
||||||
TickSize: 0.001,
|
TickSize: 0.001,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user