mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
support: fix quantity formatting
This commit is contained in:
parent
b9584117d6
commit
b60fd9e356
|
@ -197,6 +197,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
|
|||
takerBuyBaseVolumeThreshold,
|
||||
s.TakerBuyRatio.Float64(),
|
||||
)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -255,7 +256,7 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
|
|||
|
||||
s.Notify("Submitting %s market order buy with quantity %f according to the base volume %f, taker buy base volume %f",
|
||||
s.Symbol,
|
||||
quantity,
|
||||
quantity.Float64(),
|
||||
kline.Volume,
|
||||
kline.TakerBuyBaseAssetVolume)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user