Does anyone know why I'm getting an error unable to fetch fundamental data. This is the contract ID for google stock.
def getnasdaqOPThistdata():
for index, row in DFcontractdata.iterrows():
contract = Contract()
contract.secType = 'STK'
contract.exchange = "SMART"
# contract.conId = row[3]
contract.conId = 208813720
print(contract.conId)
# We are separating out the historical data requests by class to make it easier to identify the type of data coming back from IB.
# app1.reqHistoricalData(row[3], contract, "", "1 D", "1 min", "BID", 1, 1, False, [])
# app2.reqHistoricalData(row[3], contract, "", "1 D", "1 min", "ASK", 1, 1, False, [])
# app3.reqHistoricalData(row[3], contract, "", "1 D", "1 min", "BID_ASK", 1, 1, False, [])
# app4.reqHistoricalData(row[3], contract, "", "1 D", "1 min", "TRADES", 1, 1, False, [])
app1.reqFundamentalData(999,contract,reportType='ReportSnapshot',fundamentalDataOptions='')