crawlers.valorValorEconomicoCrawlerCrawler for Valor Economico.
Examples:
import brdata
crawler = brdata.ValorEconomicoCrawler()
crawler.get_recommended_wallet_by_month(1, 2022)
__init____init__()
get_page_soupget_page_soup(
month: int,
year: int,
enable_cache: bool = True,
**kwargs
) → BeautifulSoup
get_recommended_walletget_recommended_wallet(
start_date: str,
end_date: str,
to_pandas: bool = True,
enable_cache: bool = True
)
Get recommended wallet.
Args:
start_date (str): Start date in ISO8601 format.end_date (str): End date in ISO8601 format.to_pandas (bool, optional): If True, returns a pandas.DataFrame. Otherwise, returns a list of dicts. Defaults to True.enable_cache (bool, optional): If True, enables cache. Defaults to True.Returns:
pd.DataFrame: History of recommended wallet.get_recommended_wallet_by_monthget_recommended_wallet_by_month(
month: int,
year: int,
to_pandas: bool = True,
enable_cache: bool = True
) → DataFrame
Get recommended wallet for a given month and year.
Args:
month (int): Month.year (int): Year.to_pandas (bool, optional): If True, returns a pandas.DataFrame. Otherwise, returns a list of dicts. Defaults to True.enable_cache (bool, optional): If True, enables cache. Defaults to True.Returns:
pd.DataFrame: Recommended wallet for a given month and year.get_wallets_from_institutionsget_wallets_from_institutions(
start_date: str,
end_date: str,
to_pandas: bool = True,
enable_cache: bool = True
)
Get wallets from institutions.
Args:
start_date (str): Start date in ISO8601 format.end_date (str): End date in ISO8601 format.to_pandas (bool, optional): If True, returns a pandas.DataFrame. Otherwise, returns a list of dicts. Defaults to True.enable_cache (bool, optional): If True, enables cache. Defaults to True.Returns:
pd.DataFrame: History of wallets from institutions.get_wallets_from_institutions_by_monthget_wallets_from_institutions_by_month(
month: int,
year: int,
to_pandas: bool = True,
enable_cache: bool = True
) → DataFrame
Get wallets from institutions for a given month and year.
Args:
month (int): Month.year (int): Year.to_pandas (bool, optional): If True, returns a pandas.DataFrame. Otherwise, returns a list of dicts. Defaults to True.enable_cache (bool, optional): If True, enables cache. Defaults to True.Returns:
pd.DataFrame: Wallets from institutions for a given month and year.This file was automatically generated via lazydocs.