question

an0o0nyme avatar image
0 Likes"
an0o0nyme asked ·

Discrepancy in stock exchange API

Hi,

I am using python-api to fetch company data as described at https://product.intrinio.com/financial-data/us-fundamentals-financials-metrics-ratios-stock-prices/documentation/python/get_company_v2


One of the properties that CompanyApi.get_company() returns is a stock_exchange. So for example available at your website it returns:

{...
 'stock_exchange': 'NasdaqGS',
...}


However if I now go and try to fetch information about that specific stock exchange using code provided at https://product.intrinio.com/financial-data/us-fundamentals-financials-metrics-ratios-stock-prices/documentation/python/get_stock_exchange_by_id_v2

and replacing identifier argument with value from response above - namely 'NasdaqGS' - it will throw an error:

HTTP response body: {"error":"StockExchange not found. The data may not be available in the Sandbox environment.","message":"An error occured. Please contact success@intrinio.com with the details."}


Is there a possibility to return value of MIC or Intrinio ID for value for stock_exchange that could be used for other APIs, rather than value that seems to be just a str?


P.S.
Last time I posted a question here it was fixed in a github repo fairly quickly. However I did not get notified in any way. Can you please let me know HERE whenever you address this ticket?

pythonintrinio-sdkpython-sdk
10 |600 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.