Class: OandaAPI::Resource::Transaction::TradeReduced
- Inherits:
-
OandaAPI::ResourceBase
- Object
- OandaAPI::ResourceBase
- OandaAPI::Resource::Transaction::TradeReduced
- Defined in:
- lib/oanda_api/resource/transaction.rb
Overview
See http://developer.oanda.com/rest-live/transaction-history/ for attribute details.
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
Constructor Details
This class inherits a constructor from OandaAPI::ResourceBase
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
63 64 65 |
# File 'lib/oanda_api/resource/transaction.rb', line 63 def id @id end |
#interest ⇒ Object
Returns the value of attribute interest.
63 64 65 |
# File 'lib/oanda_api/resource/transaction.rb', line 63 def interest @interest end |
#pl ⇒ Object
Returns the value of attribute pl.
63 64 65 |
# File 'lib/oanda_api/resource/transaction.rb', line 63 def pl @pl end |
#units ⇒ Object
Returns the value of attribute units.
63 64 65 |
# File 'lib/oanda_api/resource/transaction.rb', line 63 def units @units end |