Class: OandaAPI::Resource::Order::TradeReduced
- Inherits:
-
OandaAPI::ResourceBase
- Object
- OandaAPI::ResourceBase
- OandaAPI::Resource::Order::TradeReduced
- 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
-
#id ⇒ Object
Returns the value of attribute id.
-
#interest ⇒ Object
Returns the value of attribute interest.
-
#pl ⇒ Object
Returns the value of attribute pl.
-
#units ⇒ Object
Returns the value of attribute units.
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
#id ⇒ Object
Returns the value of attribute id.
69 70 71 |
# File 'lib/oanda_api/resource/order.rb', line 69 def id @id end |
#interest ⇒ Object
Returns the value of attribute interest.
69 70 71 |
# File 'lib/oanda_api/resource/order.rb', line 69 def interest @interest end |
#pl ⇒ Object
Returns the value of attribute pl.
69 70 71 |
# File 'lib/oanda_api/resource/order.rb', line 69 def pl @pl end |
#units ⇒ Object
Returns the value of attribute units.
69 70 71 |
# File 'lib/oanda_api/resource/order.rb', line 69 def units @units end |