node-ib
node-ib copied to clipboard
reqFundamentalData: Missing reportType
Hi,
I'm getting the following error when using reqFundamentalData(), this also happens in the examples/all.js:
Error:
We are sorry, but fundamentals data for the security specified is not available.Missing reportType
ib.reqFundamentalData(201, {
currency: 'USD',
exchange: 'SMART',
primaryExch: 'NASDAQ',
secType: 'STK',
symbol: 'AMZN'
}, 'Estimates'); // reqId, contract, reportType
Using TWS 956
Turns out the reportType values have changed or were just wrong:
http://interactivebrokers.github.io/tws-api/reuters_fundamentals.html#report_type

Has anyone got ReportRatios to work? Is this a problem on the IB end of things?