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