@fantasia949/ib
Advanced tools
Comparing version 0.3.21 to 0.3.22
@@ -1204,12 +1204,22 @@ var _ = require('lodash'); | ||
{ | ||
// if (m_serverVersion >= 120) { | ||
// descriptions.push({ | ||
// exchange: this.dequeue(), | ||
// secType: this.dequeue(), | ||
// listingExch: this.dequeue(), | ||
// serviceDataType: this.dequeue(), | ||
// aggGroup: this.dequeueInt() || Number.MAX_VALUE | ||
// }) | ||
// } else { | ||
// } | ||
descriptions.push({ | ||
exchange: this.dequeue(), | ||
secType: this.dequeue(), | ||
listingExch: this.dequeue(), | ||
serviceDataType: this.dequeue(), | ||
aggGroup: this.dequeueInt() || Number.MAX_VALUE | ||
listingExch: '', | ||
serviceDataType: this.dequeueBool() ? 'Deep2' : 'Deep', | ||
aggGroup: Number.MAX_VALUE | ||
}) | ||
} | ||
this._emit('mktDepthExchanges', nDescriptions); | ||
this._emit('mktDepthExchanges', descriptions); | ||
}; | ||
@@ -1216,0 +1226,0 @@ |
{ | ||
"name": "@fantasia949/ib", | ||
"description": "Interactive Brokers TWS (or IB Gateway) API client library for Node.js", | ||
"version": "0.3.21", | ||
"version": "0.3.22", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "trung <fantasia949@gmail.com>", |
146711
3675