node-ib
node-ib copied to clipboard
Interactive Brokers TWS API client library for Node.js
When using reqPositionMulti, the resulting positionMulti event always incur an error like such ```Unknown incoming first token: NaN``` Upon closer debugging, it seems like `Incoming.prototype._POSITION_MULTI` should have one extra this.dequeue()...
I'm assuming since I don't find any mention of order conditioning in node-ib, except in the java ref code, that I won't be able to set these: http://interactivebrokers.github.io/tws-api/order_conditions.html Any advice?...
Hi, he **cancelTickByTickData** function generates this error in the IB GATEWAY log: **[JTS-EServerSocket-256] - Error: can't find sec type 98** and obviously does not interrupt the tick stream.
Could you supply a combo example please? contract/combo.js only takes a symbol, but how do you define the legs?
IMO doesn't make sense to put default values in there, it can lead to hard to track errors.
The [documentation](https://interactivebrokers.github.io/tws-api/interfaceIBApi_1_1EWrapper.html#a79918660257f0e7ce77309bf3bccf13c) says marketDataType can be "1 for real-time, 2 for frozen, 3 for delayed, 4 for delayed-frozen". [This example](https://github.com/pilwon/node-ib/blob/efe3f049145778b04ffff59a2cc752a9cbb0b92a/examples/all.js#L151) assumes only 1 or 2. Maybe it'd be good to...
This can be seen in the example, or simplified: ```js const ib = new (require('ib'))({ // clientId: 0, // host: '127.0.0.1', // port: 7496 }).on('error', err => { console.error(err.message); }).on('result',...
When I request historical data, I get all bars with a last boolean value equal to `false`. That last value isn't documented at https://interactivebrokers.github.io/tws-api/historical_bars.html This example interprets it as [hasGaps](https://github.com/pilwon/node-ib/blob/master/examples/reqHistData.js#L26)....
Hi, I am using node_ib with electron and angular 5! When calling ib.connect, i get the exception that net.connect is not a function. I read the other issues, but i...
Hi, I set the property orderRef on the order object, before I call placeOrder. However, the orderRef doesn't seem to have been included, when I pull out history as a...