f083111608442549981060baf35e521be8d61af9,QUANTAXIS/QAFetch/QATushare.py,,QA_fetch_get_stock_day,#Any#Any#Any#,32
Before Change
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
After Change
data_json = json.loads(data.to_json(orient="records"))
for j in range(0, len(data_json), 1):
data_json[j]["date_stamp"] = QA_util_date_stamp(
list(data.index)[j])
data_json[j]["date"] = list(data.index)[j]
data_json[j]["code"] = str(name)
return data_json
def QA_fetch_get_stock_realtime():
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 10
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: f083111608442549981060baf35e521be8d61af9
Time: 2017-06-15
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATushare.py
Class Name:
Method Name: QA_fetch_get_stock_day
Project Name: hyperspy/hyperspy
Commit Name: 527a17bdda2956928507057adcf9c139c34cb498
Time: 2016-07-18
Author: eric.prestat@gmail.com
File Name: hyperspy/io_plugins/protochips.py
Class Name: ProtochipsCSV
Method Name: _read_data
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 25728831a3b53895bb2bd5076fcd385c1316f94c
Time: 2017-05-30
Author: yutiansut@qq.com
File Name: QUANTAXIS/QASU/save_tushare.py
Class Name:
Method Name: QA_save_stock_day_all
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: f083111608442549981060baf35e521be8d61af9
Time: 2017-06-15
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QATushare.py
Class Name:
Method Name: QA_fetch_get_stock_day
Project Name: OpenNMT/OpenNMT-tf
Commit Name: f9e68489ead1381f68961d5dddd01f69e312d6ad
Time: 2017-10-09
Author: guillaume.klein@systrangroup.com
File Name: opennmt/utils/misc.py
Class Name: WordCounterHook
Method Name: after_run