(fields: Iterator<string>)
| 71 | } |
| 72 | |
| 73 | decodeContractFields(fields: Iterator<string>): void { |
| 74 | this.contract.conId = decodeInt(fields) |
| 75 | this.contract.symbol = decodeStr(fields) |
| 76 | this.contract.secType = coerceSecType(decodeStr(fields)) |
| 77 | this.contract.lastTradeDateOrContractMonth = decodeStr(fields) |
| 78 | this.contract.strike = decodeFloat(fields) |
| 79 | this.contract.right = decodeStr(fields) |
| 80 | if (this.version >= 32) { |
| 81 | this.contract.multiplier = decodeStr(fields) |
| 82 | } |
| 83 | this.contract.exchange = decodeStr(fields) |
| 84 | this.contract.currency = decodeStr(fields) |
| 85 | this.contract.localSymbol = decodeStr(fields) |
| 86 | if (this.version >= 32) { |
| 87 | this.contract.tradingClass = decodeStr(fields) |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | decodeAction(fields: Iterator<string>): void { |
| 92 | this.order.action = decodeStr(fields) |
no test coverage detected