03da495a219d7862a7ff6ba8bc7190dd7ae0c7f0,QUANTAXIS/QAFetch/QATdx.py,,ping,#Any#,42

Before Change


    __time1 = datetime.datetime.now()
    try:
        with api.connect(ip, 7709):
            api.get_security_bars(9, 0, "000001", 0, 1)
        return datetime.datetime.now() - __time1
    except:
        return datetime.timedelta(9, 9, 0)

After Change


            if len(api.get_security_list(0, 1)) >800:
                return datetime.datetime.now() - __time1
    except:
        print("Bad REPSONSE")
        return datetime.timedelta(9, 9, 0)


def select_best_ip():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 03da495a219d7862a7ff6ba8bc7190dd7ae0c7f0
Time: 2017-09-12
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: ping


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 1bb2bf28d8d3f815439f7d7406744378b5cb56d9
Time: 2017-11-20
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx_adv.py
Class Name:
Method Name:


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 9783be1abade3ea6f9700c6d7eceff06eb76c168
Time: 2017-08-14
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: QA_fetch_get_stock_day