813f8e78d2db0a3d6d4fe30df8b9a6c7784e0250,QUANTAXIS/QAData/QADataStruct.py,QA_DataStruct_Crypto_Asset_min,__init__,#QA_DataStruct_Crypto_Asset_min#Any#Any#Any#,1954
Before Change
def __init__(self, DataFrame, dtype="crypto_asset_min", if_fq=""):
super().__init__(DataFrame, dtype, if_fq)
self.type = dtype
self.data = self.data.loc[:,
[
"open",
"high",
"low",
"close",
"volume",
"trade",
"amount",
"type"
]]
self.if_fq = if_fq
// 抽象类继承
def choose_db(self):
After Change
def __init__(self, DataFrame, dtype="crypto_asset_min", if_fq=""):
super().__init__(DataFrame, dtype, if_fq)
self.type = dtype
self.data = self.data.sort_index()
self.if_fq = if_fq
// 抽象类继承
def choose_db(self):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 813f8e78d2db0a3d6d4fe30df8b9a6c7784e0250
Time: 2020-03-06
Author: 11652964@qq.com
File Name: QUANTAXIS/QAData/QADataStruct.py
Class Name: QA_DataStruct_Crypto_Asset_min
Method Name: __init__
Project Name: commonsense/conceptnet5
Commit Name: e843bf1f958bc62866bbb434f785e1470f7f1683
Time: 2019-07-01
Author: rspeer@luminoso.com
File Name: conceptnet5/vectors/retrofit.py
Class Name:
Method Name: join_shards
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 813f8e78d2db0a3d6d4fe30df8b9a6c7784e0250
Time: 2020-03-06
Author: 11652964@qq.com
File Name: QUANTAXIS/QAData/QADataStruct.py
Class Name: QA_DataStruct_Crypto_Asset_day
Method Name: __init__