Open lstavares84 opened 1 year ago
You can use the SearchObj
to get such symbols. Like so, using package tessa (https://github.com/ymyke/tessa):
import tessa
df, currency = tessa.price_history(query="{'id_': 1172772, 'name': 'Petroreconcavo SA', 'symbol': 'RECV3', 'country': 'brazil', 'tag': '/equities/petroreconcavo', 'pair_type': 'stocks', 'exchange': 'BM&FBovespa'}", type_="searchobj")
You can find the SearchObj
like so:
import tessa
res = tessa.search("RECV3", "brazil", "stock")
# Then inspect the different results in res and pick the one that fits
The following symbols of brazilian companies are not being found when get_stock_historical_data() is being called:
RECV3 - https://www.investing.com/equities/petroreconcavo CBAV3 - https://www.investing.com/equities/companhia-brasileira-de-aluminio RZAG11 - https://www.investing.com/equities/fi-nas-cadeias-prod-agroind-riza DEVA11 - https://www.investing.com/equities/devant-recebiveis-imobiliarios-fii XPCI11 - https://www.investing.com/equities/xp-credito-imobiliario-real-estate RECR11 - https://www.investing.com/equities/fi-imobiliario-ubs
Also the ETF IVVB11 is not being found when I'm using get_etf_historical_data() function ( https://www.investing.com/etfs/fundo-de-invest-ishares-sp-500 ).