dbcf394afeae6a2ee11c5338d4918cc6ef107264,QUANTAXIS/QAFetch/QATdx.py,,QA_fetch_get_future_realtime,#Any#Any#Any#,1149

Before Change


def QA_fetch_get_future_realtime(code, ip=None, port=None):
    "期货实时价格"
    global best_ip
    if ip is None and port is None and best_ip["future"]["ip"] is None and best_ip["future"]["port"] is None:
        best_ip = select_best_ip()
        ip = best_ip["future"]["ip"]
        port = best_ip["future"]["port"]
    elif ip is None and port is None and best_ip["future"]["ip"] is not None and best_ip["future"]["port"] is not None:
        ip = best_ip["future"]["ip"]
        port = best_ip["future"]["port"]
    else:
        pass
    apix = TdxExHq_API()
    global extension_market_info
    extension_market_info = QA_fetch_get_future_list(
    ) if extension_market_info is None else extension_market_info

After Change



def QA_fetch_get_future_realtime(code, ip=None, port=None):
    "期货实时价格"
    ip, port = get_extensionmarket_ip(ip, port)
    apix = TdxExHq_API()
    global extension_market_list
    extension_market_list = QA_fetch_get_extensionmarket_list(
    ) if extension_market_list is None else extension_market_list
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 38

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: dbcf394afeae6a2ee11c5338d4918cc6ef107264
Time: 2018-06-28
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: QA_fetch_get_future_realtime


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: dbcf394afeae6a2ee11c5338d4918cc6ef107264
Time: 2018-06-28
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: QA_fetch_get_future_realtime


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: dbcf394afeae6a2ee11c5338d4918cc6ef107264
Time: 2018-06-28
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: QA_fetch_get_future_transaction_realtime


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: dbcf394afeae6a2ee11c5338d4918cc6ef107264
Time: 2018-06-28
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: QA_fetch_get_future_transaction


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: dbcf394afeae6a2ee11c5338d4918cc6ef107264
Time: 2018-06-28
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: QA_fetch_get_future_day


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: dbcf394afeae6a2ee11c5338d4918cc6ef107264
Time: 2018-06-28
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: QA_fetch_get_future_min