def __init__(self):
     PostgreSQL.__init__(self, 'backtest')
     self.connect()
     pass
Example #2
0
 def __init__(self):
     PostgreSQL.__init__(self, 'futures_tick')
     w.start()
     time.sleep(5)
Example #3
0
 def __init__(self):
     sql.__init__(self, 'tradeday')
     self.connect()
Example #4
0
 def __init__(self, spe, begintime, endtime, periods):
     PostgreSQL.__init__(self, 'backtest')
     self.spe = spe
     self.begintime = begintime
     self.endtime = endtime
     self.periods = periods
Example #5
0
 def __init__(self, data_dict):
     PostgreSQL.__init__(self, 'futures_min')
     kline_process.__init__(self)
     self.data = data_dict