Class: Tastytrade::Models::OrderResponse

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

Overview

Represents the response from placing an order

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

#account_numberObject (readonly)

Returns the value of attribute account_number.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def 
  @account_number
end

#buying_power_effectObject (readonly)

Returns the value of attribute buying_power_effect.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def buying_power_effect
  @buying_power_effect
end

#cancellableObject (readonly)

Returns the value of attribute cancellable.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def cancellable
  @cancellable
end

#complex_order_idObject (readonly)

Returns the value of attribute complex_order_id.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def complex_order_id
  @complex_order_id
end

#complex_order_tagObject (readonly)

Returns the value of attribute complex_order_tag.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def complex_order_tag
  @complex_order_tag
end

#created_atObject (readonly)

Returns the value of attribute created_at.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def created_at
  @created_at
end

#editableObject (readonly)

Returns the value of attribute editable.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def editable
  @editable
end

#editedObject (readonly)

Returns the value of attribute edited.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def edited
  @edited
end

#errorsObject (readonly)

Returns the value of attribute errors.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def errors
  @errors
end

#fee_calculationsObject (readonly)

Returns the value of attribute fee_calculations.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def fee_calculations
  @fee_calculations
end

#legsObject (readonly)

Returns the value of attribute legs.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def legs
  @legs
end

#order_idObject (readonly)

Returns the value of attribute order_id.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def order_id
  @order_id
end

#order_typeObject (readonly)

Returns the value of attribute order_type.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def order_type
  @order_type
end

#priceObject (readonly)

Returns the value of attribute price.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def price
  @price
end

#price_effectObject (readonly)

Returns the value of attribute price_effect.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def price_effect
  @price_effect
end

#statusObject (readonly)

Returns the value of attribute status.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def status
  @status
end

#stop_triggerObject (readonly)

Returns the value of attribute stop_trigger.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def stop_trigger
  @stop_trigger
end

#time_in_forceObject (readonly)

Returns the value of attribute time_in_force.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def time_in_force
  @time_in_force
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def updated_at
  @updated_at
end

#valueObject (readonly)

Returns the value of attribute value.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def value
  @value
end

#value_effectObject (readonly)

Returns the value of attribute value_effect.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def value_effect
  @value_effect
end

#warningsObject (readonly)

Returns the value of attribute warnings.



9
10
11
# File 'lib/tastytrade/models/order_response.rb', line 9

def warnings
  @warnings
end