node-ib icon indicating copy to clipboard operation
node-ib copied to clipboard

reqFundamentalData: Missing reportType

Open rmoriz opened this issue 9 years ago • 2 comments

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

rmoriz avatar May 08 '16 13:05 rmoriz

Turns out the reportType values have changed or were just wrong:

http://interactivebrokers.github.io/tws-api/reuters_fundamentals.html#report_type

tws api v9 72_ reuters fundamentals

rmoriz avatar May 08 '16 13:05 rmoriz

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

zgsrc avatar Sep 12 '16 02:09 zgsrc