<s> '''<STR_LIT>''' <EOL> from ib . ext . Contract import Contract <EOL> priceTicks = { <NUM_LIT:1> : '<STR_LIT>' , <NUM_LIT:2> : '<STR_LIT>' , <NUM_LIT:4> : '<STR_LIT>' , <NUM_LIT:6> : '<STR_LIT>' , <NUM_LIT:7> : '<STR_LIT>' , <NUM_LIT:9> : '<STR_LIT>' , <NUM_LIT> : '<STR_LIT>' } <EOL> timeFormat = "<STR_LIT>" <EOL> dateFormat = "<STR_LIT>" <EOL> def createContract ( symbol , secType = '<STR_LIT>' , exchange = '<STR_LIT>' , currency = '<STR_LIT>' ) : <EOL> '''<STR_LIT>''' <EOL> c = Contract ( ) <EOL> c . m_symbol = symbol <EOL> c . m_secType = secType <EOL> c . m_exchange = exchange <EOL> c . m_currency = currency <EOL> return c </s>
