12462bd6e7a257e9e8feeaf3655205e2fbbdfbf9,numerapi/numerapi.py,NumerAPI,get_payments,#NumerAPI#,306
Before Change
}
data = self.raw_query(query, authorization=True)["data"]["user"]
return data["payments"]
def get_transactions(self):
all deposits and withdrawals
query =
After Change
}
data = self.raw_query(query, authorization=True)["data"]
payments = data["user"]["payments"]
// convert datetime strings to datetime.datetime objects
for p in payments:
p["round"]["openTime"] = \
utils.parse_datetime_string(p["round"]["openTime"])
p["round"]["resolveTime"] = \
utils.parse_datetime_string(p["round"]["resolveTime"])
return payments
def get_transactions(self):
all deposits and withdrawals
query =
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances Project Name: uuazed/numerapi
Commit Name: 12462bd6e7a257e9e8feeaf3655205e2fbbdfbf9
Time: 2017-12-29
Author: uuazed@gmail.com
File Name: numerapi/numerapi.py
Class Name: NumerAPI
Method Name: get_payments
Project Name: uuazed/numerapi
Commit Name: 12462bd6e7a257e9e8feeaf3655205e2fbbdfbf9
Time: 2017-12-29
Author: uuazed@gmail.com
File Name: numerapi/numerapi.py
Class Name: NumerAPI
Method Name: get_payments
Project Name: uuazed/numerapi
Commit Name: 12462bd6e7a257e9e8feeaf3655205e2fbbdfbf9
Time: 2017-12-29
Author: uuazed@gmail.com
File Name: numerapi/numerapi.py
Class Name: NumerAPI
Method Name: get_competitions
Project Name: uuazed/numerapi
Commit Name: 12462bd6e7a257e9e8feeaf3655205e2fbbdfbf9
Time: 2017-12-29
Author: uuazed@gmail.com
File Name: numerapi/numerapi.py
Class Name: NumerAPI
Method Name: get_stakes