示例#1
0
def QA_SU_save_stock_info(client=DATABASE):
    data = QA_fetch_get_stock_info('')
    client.drop_collection('stock_info')
    coll = client.stock_info
    coll.create_index('code')
    coll.insert_many(QA_util_to_json_from_pandas(data.reset_index()))
示例#2
0
def QA_SU_save_stock_info(client=QA_Setting.client):
    data = QA_fetch_get_stock_info('all')
    coll = client.quantaxis.stock_info
    coll.insert_many(data)
示例#3
0
def QA_SU_save_stock_info(client=DATABASE):
    data = QA_fetch_get_stock_info('all')
    coll = client.stock_info
    coll.insert_many(data)