TradingEconomics.Indicators.Historical (TradingEconomics v0.1.0)

https://docs.tradingeconomics.com/indicators/historical/

Summary

Types

@type api_key() :: TradingEconomics.api_key()
@type country() :: binary() | [binary()]
@type format() :: :json | :csv | :xml
@type indicator() :: binary() | [binary()]
@type opts() :: [start_date: binary(), end_date: binary(), raw: boolean()]
@type result() :: {:ok, [t()]} | {:error, term()}
@type t() :: %TradingEconomics.Indicators.Historical{
  category: binary(),
  country: binary(),
  date_time: binary(),
  frequency: binary(),
  historical_data_symbol: binary(),
  last_update: binary(),
  value: number()
}

Functions

Link to this function

get(api_key, country, indicator, opts \\ [])

@spec get(api_key(), country(), indicator(), opts()) :: result()