Skip to content

Commit

Permalink
Merge pull request #2 from Krisa/patch-1
Browse files Browse the repository at this point in the history
Missing side when closing an order
  • Loading branch information
f0cii committed Jul 27, 2019
2 parents c6b5ac5 + 43a0cc4 commit 3c36c3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ws.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,9 @@ func (b *BitMEX) processOrder(msg *Response) (err error) {
if v.Text != "" {
old.Text = v.Text
}
if v.Side != "" {
old.Side = v.Side
}
old.Timestamp = v.Timestamp // 2018-10-12T02:33:18.886Z
}
}
Expand Down

0 comments on commit 3c36c3a

Please sign in to comment.