Class: OandaAPI::Resource::Order::TradeReduced

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

#idObject

Returns the value of attribute id


70
71
72
# File 'lib/oanda_api/resource/order.rb', line 70

def id
  @id
end

#interestObject

Returns the value of attribute interest


70
71
72
# File 'lib/oanda_api/resource/order.rb', line 70

def interest
  @interest
end

#plObject

Returns the value of attribute pl


70
71
72
# File 'lib/oanda_api/resource/order.rb', line 70

def pl
  @pl
end

#unitsObject

Returns the value of attribute units


70
71
72
# File 'lib/oanda_api/resource/order.rb', line 70

def units
  @units
end