a3b39f9e6e7e1b33a3eb9919923d939430b60b86,QUANTAXIS/QAFetch/QATdx.py,,QA_fetch_get_stock_min,#Any#Any#Any#Any#Any#Any#,255

Before Change


    with api.connect(ip, port):
        data = []
        for i in range(26):
            data += api.get_security_bars(level,
                                          market_code, code, (25 - i) * 800, 800)
        data = api.to_df(data)
        data["datetime"] = pd.to_datetime(data["datetime"])
        data["code"] = code
        data = data.drop(["year", "month", "day", "hour", "minute"], axis=1,

After Change


        level, type_ = 3, "60min"
    with api.connect(ip, port):

        data = pd.concat([api.to_df(api.get_security_bars(level,
                                                          market_code, code, (25 - i) * 800, 800)) for i in range(26)], axis=0)
        return data\
            .assign(datetime=pd.to_datetime(data["datetime"]), code=code)\
            .drop(["year", "month", "day", "hour", "minute"], axis=1, inplace=False)\
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: a3b39f9e6e7e1b33a3eb9919923d939430b60b86
Time: 2017-09-01
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: QA_fetch_get_stock_min


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: 6749bc00e5db17b6552058b592b3a46146807fff
Time: 2018-02-07
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx_adv.py
Class Name: QA_Tdx_Executor
Method Name: get_security_bar_concurrent