def updateRSVRecord(): try: code_list = readConfig()['buy_stk'] # global RSV_Record for stk in code_list: RSV_Record[stk] = calRSVRank(stk, 5) except Exception as e: send_qq('影子2', 'RSV数据更新失败!\n' + str(e))
def updateRSVRecord(): try: code_list = list( set(readConfig()['buy_stk'] + readConfig()['concerned_stk'] + readConfig()['index_stk'])) # global RSV_Record for stk in code_list: RSV_Record[stk] = calRSVRank(stk, 5) / 100 except Exception as e: print(str(e))
def updateRSVRecord(self): try: code_list = list( set(readConfig()['buy_stk'] + readConfig()['concerned_stk'] + readConfig()['index_stk'])) # global RSV_Record for stk in code_list: RSV_Record[stk] = calRSVRank(stk, 5) except Exception as e: # print(str(e)) self.p_ctrl.m_textCtrlMsg.AppendText('RSV数据更新失败!原因:\n' + str(e) + '\n')
# encoding=utf-8