Esempio n. 1
0
    def __del__(self):
        print "this is the over function " + str(self._config_file)

        config_file = "../config/" + str(self._config_file)
        bf.write_config_info(self._pre_ema_val, self._lastprice_array,
                             self._rsi_array, self._rsi_period,
                             self._now_md_price[LASTPRICE], config_file)
Esempio n. 2
0
    def __del__(self):
        print "this is the over function " + str(self._config_file)

        config_file = "../config_two/" + str(self._config_file)
        bf.write_config_info(self._pre_ema_val_60, self._pre_ema_val_5,
                             self._pre_ema_val_1, self._lastprice_array,
                             self._ema_period, config_file)
        print "has write the config file"
Esempio n. 3
0
 def __del__(self):
     print "this is the over function"
     path = "../config/" + str(self._config_file)
     bf.write_config_info(self._quick_ema, self._slow_ema, self._diff_array,
                          self._dea_period, path)