Class: IB::Messages::Incoming::ExecutionData
- Defined in:
- lib/ib/messages/incoming/execution_data.rb
Instance Method Summary collapse
Instance Method Details
#contract ⇒ Object
35 36 37 |
# File 'lib/ib/messages/incoming/execution_data.rb', line 35 def contract @contract = IB::Contract.build @data[:contract] end |
#execution ⇒ Object
39 40 41 |
# File 'lib/ib/messages/incoming/execution_data.rb', line 39 def execution @execution = IB::Execution.new @data[:execution] end |
#load ⇒ Object
31 32 33 |
# File 'lib/ib/messages/incoming/execution_data.rb', line 31 def load simple_load end |
#to_human ⇒ Object
43 44 45 |
# File 'lib/ib/messages/incoming/execution_data.rb', line 43 def to_human "<ExecutionData #{request_id}: #{contract.to_human}, #{execution}>" end |