commit
7a3977943c
1
SOL_USDT-5m.json
Normal file
1
SOL_USDT-5m.json
Normal file
File diff suppressed because one or more lines are too long
@ -33,8 +33,8 @@
|
|||||||
"ccxt_config": {},
|
"ccxt_config": {},
|
||||||
"ccxt_async_config": {},
|
"ccxt_async_config": {},
|
||||||
"pair_whitelist": [
|
"pair_whitelist": [
|
||||||
"SOL/USDT",
|
"SOL/USDT",
|
||||||
"BTC/USDT"
|
"BTC/USDT"
|
||||||
],
|
],
|
||||||
"pair_blacklist": [
|
"pair_blacklist": [
|
||||||
"BNB/.*"
|
"BNB/.*"
|
||||||
|
@ -11,9 +11,9 @@ def clean_json():
|
|||||||
list = []
|
list = []
|
||||||
data = json.load(file)
|
data = json.load(file)
|
||||||
for datas in data:
|
for datas in data:
|
||||||
datas[0] = datas[0]/1000
|
unix = datas[0]/1000
|
||||||
datas[0] = int(datas[0])
|
unix = int(unix)
|
||||||
date = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(datas[0])))
|
date = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(unix)))
|
||||||
date = datetime.datetime.strptime(str(date), "%Y-%m-%d %H:%M:%S")
|
date = datetime.datetime.strptime(str(date), "%Y-%m-%d %H:%M:%S")
|
||||||
year = date.year
|
year = date.year
|
||||||
month = date.month
|
month = date.month
|
||||||
|
@ -164,6 +164,7 @@ class Strategy002(IStrategy):
|
|||||||
:return bool: When True is returned, then the buy-order is placed on the exchange.
|
:return bool: When True is returned, then the buy-order is placed on the exchange.
|
||||||
False aborts the process
|
False aborts the process
|
||||||
"""
|
"""
|
||||||
|
print("............................................................................"+str(current_time))
|
||||||
mode = "test"
|
mode = "test"
|
||||||
coin = pair.split("/")[0]
|
coin = pair.split("/")[0]
|
||||||
brain = "Freq_" + self.__class__.__name__
|
brain = "Freq_" + self.__class__.__name__
|
||||||
|
Loading…
Reference in New Issue
Block a user