4113a6a3be19167a8c551f8ae20e849ac851e52c,QUANTAXIS/QAFetch/QAQuery.py,,QA_fetch_index_day,#Any#Any#Any#Any#Any#,256

Before Change


            // __data = DataFrame(
            //     __data, columns=["code", "open", "high", "low", "close", "up_count", "down_count", "volume", "amount", "date"])
            // __data["date"] = pd.to_datetime(__data["date"])
            __data = __data.set_index("date", drop=False)
        else:
            print("QA Error QA_fetch_index_day format parameter %s is none of  \"P, p, pandas, pd , n, N, numpy !\" " % format)
        return __data
    else:
        QA_util_log_info("QA something wrong with date")

After Change



        if format in ["P", "p", "pandas", "pd"]:
            return res
        elif format in ["json", "dict"]:
            return QA_util_to_json_from_pandas(res)
        // 多种数据格式
        elif format in ["n", "N", "numpy"]:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 4113a6a3be19167a8c551f8ae20e849ac851e52c
Time: 2019-03-25
Author: zhongjy1992@outlook.com
File Name: QUANTAXIS/QAFetch/QAQuery.py
Class Name:
Method Name: QA_fetch_index_day


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 5b4d04de17457286fe4e5f3e0e8295db42d0f064
Time: 2020-04-05
Author: 11652964@qq.com
File Name: QUANTAXIS/QAFetch/QAQuery.py
Class Name:
Method Name: QA_fetch_index_min


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: d4ef551d20e24fc9bdd83f280102215027ec22ef
Time: 2019-02-21
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: d4ef551d20e24fc9bdd83f280102215027ec22ef
Time: 2019-02-21
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATdx.py
Class Name:
Method Name: QA_fetch_get_stock_realtime