Documentation
¶
Index ¶
- func FetchCVM() (err error)
- func FetchSectors(yamlFile string) (err error)
- func ListCompanies() (err error)
- func ListCompaniesProfits(rate float32) (err error)
- func ListSector(company, yamlFile string) (err error)
- func Report(company string, path, yamlFile string) (err error)
- func SelectCompany(company string, scriptMode bool) string
- func Unzip(src string, dest string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchSectors ¶ added in v0.8.1
FetchSectors checks if the configuration file is already populated. If 'force' is set or if the config is empty, it retrieves data from B3, unzip and extract a spreadsheet containing a list of companies divided by sector, subsector, and segment; then this info is set into the config file.
func ListCompaniesProfits ¶ added in v0.9.0
ListCompaniesProfits lists companies profits
func ListSector ¶ added in v0.8.1
ListSector shows all companies from the same sector as 'company'
func SelectCompany ¶
SelectCompany returns the company name compared to the names stored in the DB
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.