class OandaAPI::Resource::Candle
Candle
value object. See the Oanda Developer Guide for information about {developer.oanda.com/rest-live/rates/#retrieveInstrumentHistory Candles}.
Attributes
close_ask[RW]
close_bid[RW]
close_mid[RW]
complete[RW]
complete?[RW]
high_ask[RW]
high_bid[RW]
high_mid[RW]
low_ask[RW]
low_bid[RW]
low_mid[RW]
open_ask[RW]
open_bid[RW]
open_mid[RW]
time[RW]
volume[RW]
Public Instance Methods
time=(v)
click to toggle source
# File lib/oanda_api/resource/candle.rb, line 69 def time=(v) @time = Time.parse v.to_s end