Class: IB::Messages::Incoming::AccountMessage
Instance Attribute Summary
#created_at, #data
Instance Method Summary
collapse
data_map, message_id, #message_id, message_type, #message_type, properties?, #request_id, version
Instance Method Details
#account_name ⇒ Object
47
48
49
|
# File 'lib/ib/messages/incoming/account_value.rb', line 47
def account_name
@account_name = @data[:account]
end
|
#account_value ⇒ Object
44
45
46
|
# File 'lib/ib/messages/incoming/account_value.rb', line 44
def account_value
@account_value = IB::AccountValue.new @data[:account_value]
end
|
51
52
53
|
# File 'lib/ib/messages/incoming/account_value.rb', line 51
def to_human
"<AccountValue: #{account_name}, #{account_value}"
end
|