mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
trade: use assignment instead of append
This commit is contained in:
parent
41574a2390
commit
01c7429758
|
@ -176,9 +176,9 @@ func (trade Trade) SlackAttachment() slack.Attachment {
|
|||
|
||||
func (trade Trade) Liquidity() (o string) {
|
||||
if trade.IsMaker {
|
||||
o += "MAKER"
|
||||
o = "MAKER"
|
||||
} else {
|
||||
o += "TAKER"
|
||||
o = "TAKER"
|
||||
}
|
||||
|
||||
return o
|
||||
|
|
Loading…
Reference in New Issue
Block a user