¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Unable to fetch fundamental data


 

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='')




 

Here is the error...

? ? ?0? 1 2? ? ? ? ? 3 4 5? ? 6? ? ? ? ? ? ? ? ? ? ?7
0? 555? 0? ? 208813720? ? ? 0.0? [ISIN=US02079K1079;]
208813720
were at the loop for saving data
press enter to continueError:? -1? ?2106? ?HMDS data farm connection is OK:fundfarm
Error: Error:? -1? ?2106? ? HMDS data farm connection is OK:fundfarm-1
?Error:? ?-1? 2106? ? 2106? HMDS data farm connection is OK:fundfarm
? HMDS data farm connection is OK:fundfarm
Error:? 999? ?430? ?The fundamentals data for the security specified is not available.failed to fetch


 

Hi Mark,

Message code 430 clearly means "No fundamental data available". This means there is absolutely nothing wrong with the code.?

However, it is intriguing how GOOGLE's fundamental data can be unavailable. I also received the same error for GOOG. While AMZN and other few stocks return data with same script.?

Thanks,
Pratik


 

Thanks for sharing your experience, Pratik. I just tried AMZN and I was also able to receive data. Considering GOOG fundamentals are available in the app, not sure why they aren't available in the API. This might warrant a call to API support or entering a web ticket.

-Mark

On Sat, Feb 20, 2021 at 3:40 PM <praditik@...> wrote:
Hi Mark,

Message code 430 clearly means "No fundamental data available". This means there is absolutely nothing wrong with the code.?

However, it is intriguing how GOOGLE's fundamental data can be unavailable. I also received the same error for GOOG. While AMZN and other few stocks return data with same script.?

Thanks,
Pratik


 

Most other company tickers are working, including GOOGL. I'm going to take a guess that GOOG isn't available because?it's owned by Alphabet and is not the parent company. Just a guess...


On Mon, Feb 22, 2021 at 11:12 AM Mark Guglielmi via <Markag1983=[email protected]> wrote:
Thanks for sharing your experience, Pratik. I just tried AMZN and I was also able to receive data. Considering GOOG fundamentals are available in the app, not sure why they aren't available in the API. This might warrant a call to API support or entering a web ticket.

-Mark

On Sat, Feb 20, 2021 at 3:40 PM <praditik@...> wrote:
Hi Mark,

Message code 430 clearly means "No fundamental data available". This means there is absolutely nothing wrong with the code.?

However, it is intriguing how GOOGLE's fundamental data can be unavailable. I also received the same error for GOOG. While AMZN and other few stocks return data with same script.?

Thanks,
Pratik