abe5858bdd8ec63beaa0437c8b896f5d9af57777,QUANTAXIS/QAFetch/QATushare.py,,QA_fetch_get_stock_day,#Any#Any#Any#,8
Before Change
def QA_fetch_get_stock_day(name,startDate,endDate):
if (len(name)!=6):
name=str(name)[0:6]
return QATs.get_k_data(name,startDate,endDate,ktype="D")
def QA_fetch_get_stock_info(name):
if (len(name)!=6):
name=str(name)[0:6]
After Change
def QA_fetch_get_stock_day(name,startDate,endDate):
if (len(name)!=6):
name=str(name)[0:6]
data=QATs.get_k_data(name,startDate,endDate,ktype="D")
data_json=json.loads(data.to_json(orient="records"))
for item in data_json:
item["date_stamp"]=QA_util_date_stamp(item["date"])
return data_json
def QA_fetch_get_stock_info(name):
if (len(name)!=6):
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: abe5858bdd8ec63beaa0437c8b896f5d9af57777
Time: 2017-05-07
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATushare.py
Class Name:
Method Name: QA_fetch_get_stock_day
Project Name: estnltk/estnltk
Commit Name: 17f388faab70d6e8e1334ef081338d0df375d444
Time: 2014-12-11
Author: brainscauseminds@gmail.com
File Name: estnltk/ner.py
Class Name: NerTagger
Method Name: process_json
Project Name: tensorflow/datasets
Commit Name: 7f151c2934a7202111325fe3d0ab9e372938c55d
Time: 2020-07-30
Author: cs17btech11040@iith.ac.in
File Name: tensorflow_datasets/core/features/sequence_feature.py
Class Name: Sequence
Method Name: to_json
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 3c857b194b02141ea0fb79a178c4229433430354
Time: 2017-05-08
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATushare.py
Class Name:
Method Name: QA_fetch_get_stock_info
Project Name: estnltk/estnltk
Commit Name: 5a9f616e770e766849b540a70817ba3f9109f10d
Time: 2014-12-09
Author: brainscauseminds@gmail.com
File Name: estnltk/verbchain.py
Class Name: VerbChainDetector
Method Name: process_json