class OandaAPI::Resource::Labs::CalendarEvent

Calendar value object. See the Oanda Developer Guide for information about {developer.oanda.com/rest-live/forex-labs/#calendar Calendar}.

Attributes

actual[RW]
currency[RW]
forecast[RW]
impact[RW]
market[RW]
previous[RW]
region[RW]
timestamp[RW]
title[RW]
unit[RW]

Public Instance Methods

time() click to toggle source
# File lib/oanda_api/resource/labs/calendar_event.rb, line 19
def time
  Time.at(timestamp).utc if timestamp
end