Class: OandaAPI::Resource::Candle

Inherits:
OandaAPI::ResourceBase show all
Defined in:
lib/oanda_api/resource/candle.rb

Overview

Candle value object. See the Oanda Developer Guide for information about Candles.

Instance Attribute Summary collapse

Attributes inherited from OandaAPI::ResourceBase

#location

Method Summary

Methods inherited from OandaAPI::ResourceBase

#initialize, #to_json

Constructor Details

This class inherits a constructor from OandaAPI::ResourceBase

Instance Attribute Details

#close_askObject

Returns the value of attribute close_ask


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def close_ask
  @close_ask
end

#close_bidObject

Returns the value of attribute close_bid


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def close_bid
  @close_bid
end

#close_midObject

Returns the value of attribute close_mid


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def close_mid
  @close_mid
end

#completeObject Also known as: complete?

Returns the value of attribute complete


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def complete
  @complete
end

#high_askObject

Returns the value of attribute high_ask


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def high_ask
  @high_ask
end

#high_bidObject

Returns the value of attribute high_bid


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def high_bid
  @high_bid
end

#high_midObject

Returns the value of attribute high_mid


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def high_mid
  @high_mid
end

#low_askObject

Returns the value of attribute low_ask


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def low_ask
  @low_ask
end

#low_bidObject

Returns the value of attribute low_bid


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def low_bid
  @low_bid
end

#low_midObject

Returns the value of attribute low_mid


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def low_mid
  @low_mid
end

#open_askObject

Returns the value of attribute open_ask


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def open_ask
  @open_ask
end

#open_bidObject

Returns the value of attribute open_bid


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def open_bid
  @open_bid
end

#open_midObject

Returns the value of attribute open_mid


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def open_mid
  @open_mid
end

#timeObject

Returns the value of attribute time


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def time
  @time
end

#volumeObject

Returns the value of attribute volume


6
7
8
# File 'lib/oanda_api/resource/candle.rb', line 6

def volume
  @volume
end