mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
fix trade format alignment
This commit is contained in:
parent
f1cce3e123
commit
83d7aab4d4
|
@ -146,7 +146,7 @@ func trimTrailingZero(a float64) string {
|
|||
|
||||
// String is for console output
|
||||
func (trade Trade) String() string {
|
||||
return fmt.Sprintf("TRADE %s %s %4s %-4s @ %6s | amount %s | fee %s %s | orderID %d | %s",
|
||||
return fmt.Sprintf("TRADE %s %s %4s %-4s @ %-6s | amount %s | fee %s %s | orderID %d | %s",
|
||||
trade.Exchange.String(),
|
||||
trade.Symbol,
|
||||
trade.Side,
|
||||
|
|
Loading…
Reference in New Issue
Block a user