Class: Tastytrade::Models::OrderLegResponse

Inherits:
Base
  • Object
show all
Defined in:
lib/tastytrade/models/order_response.rb

Overview

Represents a leg in an order response

Instance Attribute Summary collapse

Attributes inherited from Base

#data

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Tastytrade::Models::Base

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action.



85
86
87
# File 'lib/tastytrade/models/order_response.rb', line 85

def action
  @action
end

#execution_priceObject (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

#fillsObject (readonly)

Returns the value of attribute fills.



85
86
87
# File 'lib/tastytrade/models/order_response.rb', line 85

def fills
  @fills
end

#instrument_typeObject (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

#quantityObject (readonly)

Returns the value of attribute quantity.



85
86
87
# File 'lib/tastytrade/models/order_response.rb', line 85

def quantity
  @quantity
end

#remaining_quantityObject (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

#symbolObject (readonly)

Returns the value of attribute symbol.



85
86
87
# File 'lib/tastytrade/models/order_response.rb', line 85

def symbol
  @symbol
end