<s> """<STR_LIT>""" <EOL> class EClientErrors ( object ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class CodeMsgPair ( object ) : <EOL> """<STR_LIT>""" <EOL> m_errorCode = <NUM_LIT:0> <EOL> m_errorMsg = "<STR_LIT>" <EOL> def code ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_errorCode <EOL> def msg ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . m_errorMsg <EOL> def __init__ ( self , i , errString ) : <EOL> """<STR_LIT>""" <EOL> self . m_errorCode = i <EOL> self . m_errorMsg = errString <EOL> NO_VALID_ID = - <NUM_LIT:1> <EOL> NOT_CONNECTED = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> UPDATE_TWS = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> ALREADY_CONNECTED = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> CONNECT_FAIL = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> UNKNOWN_ID = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQMKT = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CANMKT = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_ORDER = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_ACCT = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_EXEC = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CORDER = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_OORDER = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> UNKNOWN_CONTRACT = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQCONTRACT = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQMKTDEPTH = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CANMKTDEPTH = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_SERVER_LOG_LEVEL = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_FA_REQUEST = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_FA_REPLACE = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQSCANNER = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CANSCANNER = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQSCANNERPARAMETERS = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQHISTDATA = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CANHISTDATA = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQRTBARS = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CANRTBARS = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQCURRTIME = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQFUNDDATA = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CANFUNDDATA = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQCALCIMPLIEDVOLAT = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQCALCOPTIONPRICE = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CANCALCIMPLIEDVOLAT = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CANCALCOPTIONPRICE = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQGLOBALCANCEL = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQMARKETDATATYPE = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQPOSITIONS = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CANPOSITIONS = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_REQACCOUNTDATA = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) <EOL> FAIL_SEND_CANACCOUNTDATA = CodeMsgPair ( <NUM_LIT> , "<STR_LIT>" ) </s>
