interactive-brokers-webapi-nodejs
npm install ibkr-webapi-bridgeThis nodejs module is just a wrapper for IBRK web-api Java localhost server, so, you don't have to manually download that. This module automatically downloads that .zip file, extracts and starts that IBKR headless gateway (localhost server) for you. Moreover, this module automatically pings the server once in every minute to keep is alive (as it's required by IBKR).
npm i ibkr-webapi-bridgenpm run serve.
const ibBridge = require ('ibkr-webapi-bridge');
ib.serve();
$3
let params = {
// forceDownload: bool (default: false)
// defaultUrl: string (default: 'https://download2.interactivebrokers.com/portal/clientportal.gw.zip')
// redownloadDays: int (default: 7)
// showMessages: bool (default: false)
};
ib.serve(params);
``