Class: IB::Messages::Incoming::ContractMessage

Inherits:
AbstractMessage show all
Defined in:
lib/ib/messages/incoming/portfolio_value.rb

Instance Attribute Summary

Attributes inherited from AbstractMessage

#created_at, #data

Instance Method Summary collapse

Methods inherited from AbstractMessage

data_map, message_id, #message_id, message_type, #message_type, properties?, #request_id, #to_human, version

Instance Method Details

#contractObject



6
7
8
# File 'lib/ib/messages/incoming/portfolio_value.rb', line 6

def contract
	@contract = IB::Contract.build @data[:contract]
end