mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
add min notional check
This commit is contained in:
parent
695ab28246
commit
a9a9c2744e
|
@ -18,6 +18,7 @@ type Market struct {
|
|||
BaseCurrency string
|
||||
MinQuantity float64
|
||||
MinAmount float64
|
||||
MinNotional float64
|
||||
MinLot float64
|
||||
}
|
||||
|
||||
|
@ -55,8 +56,9 @@ var MarketBTCUSDT = Market{
|
|||
PricePrecision: 2,
|
||||
VolumePrecision: 6,
|
||||
MinQuantity: 0.000001,
|
||||
MinAmount: 10.0,
|
||||
MinLot: 0.000001,
|
||||
MinAmount: 10.0,
|
||||
MinNotional: 10.0,
|
||||
}
|
||||
|
||||
var MarketETHUSDT = Market{
|
||||
|
@ -66,11 +68,11 @@ var MarketETHUSDT = Market{
|
|||
PricePrecision: 2,
|
||||
VolumePrecision: 5,
|
||||
MinQuantity: 0.01,
|
||||
MinAmount: 10.0,
|
||||
MinLot: 0.01,
|
||||
MinAmount: 10.0,
|
||||
MinNotional: 10.0,
|
||||
}
|
||||
|
||||
|
||||
var MarketBNBUSDT = Market{
|
||||
Symbol: "BNBUSDT",
|
||||
BaseCurrency: "BNB",
|
||||
|
@ -78,8 +80,9 @@ var MarketBNBUSDT = Market{
|
|||
PricePrecision: 4,
|
||||
VolumePrecision: 2,
|
||||
MinQuantity: 0.01,
|
||||
MinAmount: 10.0,
|
||||
MinLot: 0.01,
|
||||
MinAmount: 10.0,
|
||||
MinNotional: 10.0,
|
||||
}
|
||||
|
||||
var Markets = map[string]Market{
|
||||
|
|
Loading…
Reference in New Issue
Block a user