Class: Tastytrade::Models::OrderLegResponse
- Defined in:
- lib/tastytrade/models/order_response.rb
Overview
Represents a leg in an order response
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#execution_price ⇒ Object
readonly
Returns the value of attribute execution_price.
-
#fills ⇒ Object
readonly
Returns the value of attribute fills.
-
#instrument_type ⇒ Object
readonly
Returns the value of attribute instrument_type.
-
#quantity ⇒ Object
readonly
Returns the value of attribute quantity.
-
#remaining_quantity ⇒ Object
readonly
Returns the value of attribute remaining_quantity.
-
#symbol ⇒ Object
readonly
Returns the value of attribute symbol.
Attributes inherited from Base
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Tastytrade::Models::Base
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action.
85 86 87 |
# File 'lib/tastytrade/models/order_response.rb', line 85 def action @action end |
#execution_price ⇒ Object (readonly)
Returns the value of attribute execution_price.
85 86 87 |
# File 'lib/tastytrade/models/order_response.rb', line 85 def execution_price @execution_price end |
#fills ⇒ Object (readonly)
Returns the value of attribute fills.
85 86 87 |
# File 'lib/tastytrade/models/order_response.rb', line 85 def fills @fills end |
#instrument_type ⇒ Object (readonly)
Returns the value of attribute instrument_type.
85 86 87 |
# File 'lib/tastytrade/models/order_response.rb', line 85 def instrument_type @instrument_type end |
#quantity ⇒ Object (readonly)
Returns the value of attribute quantity.
85 86 87 |
# File 'lib/tastytrade/models/order_response.rb', line 85 def quantity @quantity end |
#remaining_quantity ⇒ Object (readonly)
Returns the value of attribute remaining_quantity.
85 86 87 |
# File 'lib/tastytrade/models/order_response.rb', line 85 def remaining_quantity @remaining_quantity end |
#symbol ⇒ Object (readonly)
Returns the value of attribute symbol.
85 86 87 |
# File 'lib/tastytrade/models/order_response.rb', line 85 def symbol @symbol end |