ExBovespa v0.8.0 ExBovespa.Adapters.BovespaBehaviour behaviour View Source

Defines the functions implemented by Bovespa adapter

Link to this section Summary

Link to this section Callbacks

Link to this callback

get_historical_file(year)

View Source

Specs

get_historical_file(year :: String.t()) ::
  {:ok, binary()} | {:error, :invalid_response}
Link to this callback

get_historical_file(year, month)

View Source

Specs

get_historical_file(year :: String.t(), month :: String.t()) ::
  {:ok, binary()} | {:error, :invalid_response}
Link to this callback

get_historical_file(year, month, day)

View Source

Specs

get_historical_file(year :: String.t(), month :: String.t(), day :: String.t()) ::
  {:ok, binary()} | {:error, :invalid_response}

Specs

get_item(code :: String.t()) :: {:ok, String.t()} | {:error, :invalid_response}

Specs

get_list() :: {:ok, String.t()} | {:error, :invalid_response}