25728831a3b53895bb2bd5076fcd385c1316f94c,QUANTAXIS/QASU/save_tushare.py,,QA_save_stock_day_all,#,12

Before Change


            coll=pymongo.MongoClient().quantaxis.stock_day
            coll.insert_many(data_json)
        except:
            print("none data")

def QA_SU_save_stock_list(client):
    data=QATushare.QA_fetch_get_stock_list()
    date=str(datetime.date.today())

After Change


            
            
            for i in range(0,len(data_json),1):
                data_json[i]["date_stamp"]=QA_util_date_stamp(list(data.index)[i])
                data_json[i]["date"]=list(data.index)[i]
           
            
            coll=pymongo.MongoClient().quantaxis.stock_day
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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: streamlit/streamlit
Commit Name: c5223d64a7a0e7d5b69c4dd39cd712e9e53b6e02
Time: 2018-05-18
Author: armando@playground.global
File Name: lib/streamlit/Proxy.py
Class Name: Proxy
Method Name: save_cloud


Project Name: streamlit/streamlit
Commit Name: da1e0e6720d6f95297f1ff0dcd2ef3f19d0da6d3
Time: 2018-05-21
Author: armando@playground.global
File Name: lib/streamlit/Proxy.py
Class Name: Proxy
Method Name: save_cloud