Class: OandaAPI::Resource::Order::OrderOpened

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

Overview

See the Oanda Developer Guide for Order details.

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

#expiryObject

Returns the value of attribute expiry


55
56
57
# File 'lib/oanda_api/resource/order.rb', line 55

def expiry
  @expiry
end

#idObject

Returns the value of attribute id


55
56
57
# File 'lib/oanda_api/resource/order.rb', line 55

def id
  @id
end

#lower_boundObject

Returns the value of attribute lower_bound


55
56
57
# File 'lib/oanda_api/resource/order.rb', line 55

def lower_bound
  @lower_bound
end

#sideObject

Returns the value of attribute side


55
56
57
# File 'lib/oanda_api/resource/order.rb', line 55

def side
  @side
end

#stop_lossObject

Returns the value of attribute stop_loss


55
56
57
# File 'lib/oanda_api/resource/order.rb', line 55

def stop_loss
  @stop_loss
end

#take_profitObject

Returns the value of attribute take_profit


55
56
57
# File 'lib/oanda_api/resource/order.rb', line 55

def take_profit
  @take_profit
end

#trailing_stopObject

Returns the value of attribute trailing_stop


55
56
57
# File 'lib/oanda_api/resource/order.rb', line 55

def trailing_stop
  @trailing_stop
end

#unitsObject

Returns the value of attribute units


55
56
57
# File 'lib/oanda_api/resource/order.rb', line 55

def units
  @units
end

#upper_boundObject

Returns the value of attribute upper_bound


55
56
57
# File 'lib/oanda_api/resource/order.rb', line 55

def upper_bound
  @upper_bound
end