mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
use stamp time with milliseconds
This commit is contained in:
parent
fbe850b364
commit
956ef71a48
|
@ -121,7 +121,7 @@ func (trade Trade) SlackAttachment() slack.Attachment {
|
||||||
{Title: "Liquidity", Value: liquidity, Short: true},
|
{Title: "Liquidity", Value: liquidity, Short: true},
|
||||||
{Title: "Order ID", Value: strconv.FormatUint(trade.OrderID, 10), Short: true},
|
{Title: "Order ID", Value: strconv.FormatUint(trade.OrderID, 10), Short: true},
|
||||||
},
|
},
|
||||||
Footer: util.Render("trade time {{ . }}", trade.Time.Time().Format(time.RFC822)),
|
Footer: util.Render("trade time {{ . }}", trade.Time.Time().Format(time.StampMilli)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user