Esempio n. 1
0
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))
Esempio n. 2
0
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))
Esempio n. 3
0
    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')
Esempio n. 4
0
File: Sub.py Progetto: PieDi/MoDeng
# encoding=utf-8