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