Class: IB::Messages::Incoming::AccountMessage

Inherits:
AbstractMessage show all
Defined in:
lib/ib/messages/incoming/account_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, version

Instance Method Details

#account_nameObject



47
48
49
# File 'lib/ib/messages/incoming/account_value.rb', line 47

def 
	@account_name =  @data[:account]
end

#account_valueObject



44
45
46
# File 'lib/ib/messages/incoming/account_value.rb', line 44

def 
  @account_value = IB::AccountValue.new @data[:account_value]
end

#to_humanObject



51
52
53
# File 'lib/ib/messages/incoming/account_value.rb', line 51

def to_human
    "<AccountValue: #{}, #{}"  
end