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_async_config": {},
|
||||
"pair_whitelist": [
|
||||
"SOL/USDT",
|
||||
"BTC/USDT"
|
||||
"SOL/USDT",
|
||||
"BTC/USDT"
|
||||
],
|
||||
"pair_blacklist": [
|
||||
"BNB/.*"
|
||||
|
@ -11,9 +11,9 @@ def clean_json():
|
||||
list = []
|
||||
data = json.load(file)
|
||||
for datas in data:
|
||||
datas[0] = datas[0]/1000
|
||||
datas[0] = int(datas[0])
|
||||
date = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(int(datas[0])))
|
||||
unix = datas[0]/1000
|
||||
unix = int(unix)
|
||||
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")
|
||||
year = date.year
|
||||
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.
|
||||
False aborts the process
|
||||
"""
|
||||
print("............................................................................"+str(current_time))
|
||||
mode = "test"
|
||||
coin = pair.split("/")[0]
|
||||
brain = "Freq_" + self.__class__.__name__
|
||||
|
Loading…
Reference in New Issue
Block a user