Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/hadrianl/ibapi
Browse files Browse the repository at this point in the history
  • Loading branch information
hadrianl committed Oct 22, 2020
2 parents 94c5390 + d8a59c3 commit eb8d0fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ type DepthMktDataDescription struct {
func (d DepthMktDataDescription) String() string {
aggGroup := ""
if d.AggGroup != UNSETINT {
aggGroup = string(d.AggGroup)
aggGroup = fmt.Sprint(d.AggGroup)
}

return fmt.Sprintf("DepthMktDataDescription<Exchange: %s, SecType: %s, ListingExchange: %s, ServiceDataType: %s, AggGroup: %s>",
Expand Down
2 changes: 1 addition & 1 deletion decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -2134,7 +2134,7 @@ func (d *ibDecoder) processCompletedOrderMsg(msgBuf *MsgBuffer) {
o.Shareholder = msgBuf.readString()
o.ImbalanceOnly = msgBuf.readBool()
o.RouteMarketableToBbo = msgBuf.readBool()
o.ParenPermID = msgBuf.readInt()
o.ParentPermID = msgBuf.readInt()

orderState.CompletedTime = msgBuf.readString()
orderState.CompletedStatus = msgBuf.readString()
Expand Down
2 changes: 1 addition & 1 deletion order.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ type Order struct {
Shareholder string
ImbalanceOnly bool
RouteMarketableToBbo bool
ParenPermID int64
ParentPermID int64
UsePriceMgmtAlgo bool

SoftDollarTier SoftDollarTier
Expand Down

0 comments on commit eb8d0fa

Please sign in to comment.