Class: OandaAPI::Resource::Order::OrderOpened
- Inherits:
-
OandaAPI::ResourceBase
- Object
- OandaAPI::ResourceBase
- OandaAPI::Resource::Order::OrderOpened
- Defined in:
- lib/oanda_api/resource/order.rb
Overview
See the Oanda Developer Guide for Order details.
Constant Summary
Constants inherited from OandaAPI::ResourceBase
OandaAPI::ResourceBase::NOT_PLURALIZED
Instance Attribute Summary collapse
-
#expiry ⇒ Object
Returns the value of attribute expiry.
-
#id ⇒ Object
Returns the value of attribute id.
-
#lower_bound ⇒ Object
Returns the value of attribute lower_bound.
-
#side ⇒ Object
Returns the value of attribute side.
-
#stop_loss ⇒ Object
Returns the value of attribute stop_loss.
-
#take_profit ⇒ Object
Returns the value of attribute take_profit.
-
#trailing_stop ⇒ Object
Returns the value of attribute trailing_stop.
-
#units ⇒ Object
Returns the value of attribute units.
-
#upper_bound ⇒ Object
Returns the value of attribute upper_bound.
Attributes inherited from OandaAPI::ResourceBase
Method Summary
Methods inherited from OandaAPI::ResourceBase
class_from_symbol, #initialize, labs_resource?, pluralize, #to_json
Constructor Details
This class inherits a constructor from OandaAPI::ResourceBase
Instance Attribute Details
#expiry ⇒ Object
Returns the value of attribute expiry.
54 55 56 |
# File 'lib/oanda_api/resource/order.rb', line 54 def expiry @expiry end |
#id ⇒ Object
Returns the value of attribute id.
54 55 56 |
# File 'lib/oanda_api/resource/order.rb', line 54 def id @id end |
#lower_bound ⇒ Object
Returns the value of attribute lower_bound.
54 55 56 |
# File 'lib/oanda_api/resource/order.rb', line 54 def lower_bound @lower_bound end |
#side ⇒ Object
Returns the value of attribute side.
54 55 56 |
# File 'lib/oanda_api/resource/order.rb', line 54 def side @side end |
#stop_loss ⇒ Object
Returns the value of attribute stop_loss.
54 55 56 |
# File 'lib/oanda_api/resource/order.rb', line 54 def stop_loss @stop_loss end |
#take_profit ⇒ Object
Returns the value of attribute take_profit.
54 55 56 |
# File 'lib/oanda_api/resource/order.rb', line 54 def take_profit @take_profit end |
#trailing_stop ⇒ Object
Returns the value of attribute trailing_stop.
54 55 56 |
# File 'lib/oanda_api/resource/order.rb', line 54 def trailing_stop @trailing_stop end |
#units ⇒ Object
Returns the value of attribute units.
54 55 56 |
# File 'lib/oanda_api/resource/order.rb', line 54 def units @units end |
#upper_bound ⇒ Object
Returns the value of attribute upper_bound.
54 55 56 |
# File 'lib/oanda_api/resource/order.rb', line 54 def upper_bound @upper_bound end |