ExBovespa v0.1.1 ExBovespa View Source

ExBovespa helps retrieving stocks data from bovespa website by webscraping their HTML data

Link to this section Summary

Functions

Returns a list of all stocks from bovespa website.

Link to this section Functions

Specs

stock_list() ::
  {:ok, [ExBovespa.Structs.Stock.t()]} | {:error, :invalid_response}

Returns a list of all stocks from bovespa website.

While running tests on development environment, it took more than 1min 30s to load the entire list of currently availble stocks on B3.

Example

iex> ExBovespa.stock_list()
{:ok, [
  %Stock{}
]}