I want to get Ticker (Company) Details using the Polygon API. These are returns but they are sitting within Parentheses so I am unable to reference the elements such as ‘ceo’.
StockSummary = api.polygon.company(tradable_stocks)
Returns
Company({ 'active': True,
'bloomberg': 'EQ0010169500001000',
'ceo': 'Timothy D. Cook',
'cik': '320193', ............
...........'updated': '11/16/2018',
'url': 'http://www.apple.com'})
This is using my paper trading account
I’m trying to access the elements using the following statement
print(StockSummary[‘ceo’])