mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
grid2: fix base fee format
This commit is contained in:
parent
fcd7a20b78
commit
78f10212b9
|
@ -321,7 +321,7 @@ func (s *Strategy) processFilledOrder(o types.Order) {
|
||||||
if o.Side == types.SideTypeBuy {
|
if o.Side == types.SideTypeBuy {
|
||||||
baseSellQuantityReduction = s.aggregateOrderBaseFee(o)
|
baseSellQuantityReduction = s.aggregateOrderBaseFee(o)
|
||||||
|
|
||||||
s.logger.Infof("buy order base fee: %f %s", baseSellQuantityReduction.Float64(), s.Market.BaseCurrency)
|
s.logger.Infof("GRID BUY ORDER BASE FEE: %s %s", baseSellQuantityReduction.String(), s.Market.BaseCurrency)
|
||||||
|
|
||||||
newQuantity = newQuantity.Sub(baseSellQuantityReduction)
|
newQuantity = newQuantity.Sub(baseSellQuantityReduction)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user