parameters: (self, user, passwd)
docstring: Constructor
docstring_summary: Constructor
docstring_tokens: Constructor
function: def __init__(self, user, passwd):
          self.user = user
          self.passwd = passwd
          self.tkreader = TkReader()     
          if( not self.tkreader.login(user, passwd)):
              print("login failed")
              return False
          self.start_time = "21:00:00"
          self.end_time = "15:30:00"             
          self.bar_map = {}
          self.trade_date = 0
          self.cycle = 0
          self.timeutil = TimeUtil()
          self.trade_time_map = {}    
          
          
          '''
          Constructor
          '''
function_tokens: def __init__ ( self , user , passwd ) : self . user = user self . passwd = passwd self . tkreader = TkReader ( ) if ( not self . tkreader . login ( user , passwd ) ) : print ( "login failed" ) return False self . start_time = "21:00:00" self . end_time = "15:30:00" self . bar_map = { } self . trade_date = 0 self . cycle = 0 self . timeutil = TimeUtil ( ) self . trade_time_map = { }