Module: Alphavantage::Validations
- Included in:
- Crypto, Forex, Indicator, TimeSeries
- Defined in:
- lib/alphavantage/validations.rb
Constant Summary collapse
- VALID_SLICES =
(1..2).map do |year| (1..12).map do |month| "year#{year}month#{month}" end end.flatten.map(&:to_sym)
- VALID_INTERVALS =
%i{ 1min 5min 15min 30min 60min }
- VALID_INDICATOR_INTERVALS =
VALID_INTERVALS + %i{ daily weekly monthly }
- VALID_OUTPUTSIZES =
%i{ compact full }
- VALID_SERIES_TYPES =
%i{ close open high low }
- VALID_DATATYPES =
%i{ json csv }