          'Leverage'                     ...
           ];
   
% establish connection with TWS
session.eClientSocket.eConnect('127.0.0.1',7496,0);

%% Make request for account summary

% request account attributes
session.eClientSocket.reqAccountSummary(0,'All',attrkeys);  pause(1);

%% Processing Account Summary Events

% get the event from the local buffer and convert to cell array
attrs = collection2cell(buf.get().data);

% blab about account attributes
cellfun(@(a)                         ...
        fp