mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
grid2: remove todo item
This commit is contained in:
parent
78f10212b9
commit
bbc47bb63a
|
@ -343,8 +343,6 @@ func (s *Strategy) processFilledOrder(o types.Order) {
|
|||
newQuantity = fixedpoint.Max(orderQuoteQuantity.Div(newPrice), s.Market.MinQuantity)
|
||||
}
|
||||
|
||||
// calculate profit
|
||||
// TODO: send profit notification
|
||||
profit := s.calculateProfit(o, newPrice, newQuantity)
|
||||
s.logger.Infof("GENERATED GRID PROFIT: %+v", profit)
|
||||
s.GridProfitStats.AddProfit(profit)
|
||||
|
|
Loading…
Reference in New Issue
Block a user