mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 01:01:56 +00:00
grid2: simplify WriteString call
This commit is contained in:
parent
905b25655d
commit
ef771546e3
|
@ -31,7 +31,7 @@ func debugGrid(logger logrus.FieldLogger, grid *Grid, book *bbgo.ActiveOrderBook
|
|||
})
|
||||
|
||||
if existingOrder != nil {
|
||||
sb.WriteString(fmt.Sprintf("%s", existingOrder.String()))
|
||||
sb.WriteString(existingOrder.String())
|
||||
|
||||
switch existingOrder.Status {
|
||||
case types.OrderStatusFilled:
|
||||
|
|
Loading…
Reference in New Issue
Block a user