8c61e0272785d49a84bc47b0c2c4c563fce8cefc,QUANTAXIS/QAFetch/QATdx_adv.py,QA_Tdx_Executor,get_security_bar_concurrent,#QA_Tdx_Executor#Any#Any#Any#,192

Before Change



           //[api.get_security_bars(level, __select_market_code(str(code)), str(code), (25 - i) * 800, 800) for i in range(26)]
            data = {self.get_security_bars(self.get_level(_type), self.get_market(str(code)), str(code), (25 - i) * 800, 800) for i in range(int(lens / 800) + 1)}
            print(data.result())
            //return ([i.result() for i in data], datetime.datetime.now())

        except:

After Change


           //[api.get_security_bars(level, __select_market_code(str(code)), str(code), (25 - i) * 800, 800) for i in range(26)]
            data = {[self.get_security_bars(self.get_level(_type), self.get_market(
                str(code)), str(code), (25 - i) * 800, 800) for i in range(int(lens / 800) + 1)]}
            print([i.result() for i in data])

        except:
            raise Exception
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 8c61e0272785d49a84bc47b0c2c4c563fce8cefc
Time: 2017-11-13
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx_adv.py
Class Name: QA_Tdx_Executor
Method Name: get_security_bar_concurrent


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: b3fb8da8ea971d5e06d0adb023da853f639ac516
Time: 2018-12-30
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAEngine/QAAsyncioEngine.py
Class Name:
Method Name: callback


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 3073997a3a8a754a5cc66a5a7e5dfdae00917f00
Time: 2017-11-13
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx_adv.py
Class Name: QA_Tdx_Executor
Method Name: get_security_bar_concurrent