Update and fixx
This commit is contained in:
parent
b5189ecfcb
commit
d1942df293
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"GRUPPENMANAGEMENT",
|
"groupmanagement":"GRUPPENMANAGEMENT",
|
||||||
"puzzles":"RÄTSEL",
|
"puzzles":"RÄTSEL",
|
||||||
"nodemanagement":"KNOTENVERWALTUNG",
|
"nodemanagement":"KNOTENVERWALTUNG",
|
||||||
"trading":"HANDELN"
|
"trading":"HANDELN",
|
||||||
|
"groups":"GRUPPEN"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Einloggen",
|
"login":"Einloggen",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"GESTIÓN DE GRUPO",
|
"groupmanagement":"GESTIÓN DE GRUPO",
|
||||||
"puzzles":"ROMPECABEZAS",
|
"puzzles":"ROMPECABEZAS",
|
||||||
"nodemanagement":"GESTIÓN DE NODO",
|
"nodemanagement":"GESTIÓN DE NODO",
|
||||||
"trading":"COMERCIO"
|
"trading":"COMERCIO",
|
||||||
|
"groups":"GRUPOS"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Iniciar sesión",
|
"login":"Iniciar sesión",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"GESTION DE GROUPES",
|
"groupmanagement":"GESTION DE GROUPES",
|
||||||
"puzzles":"PUZZLES",
|
"puzzles":"PUZZLES",
|
||||||
"nodemanagement":"GESTION DE NOEUDS",
|
"nodemanagement":"GESTION DE NOEUDS",
|
||||||
"trading":"COMMERCE"
|
"trading":"COMMERCE",
|
||||||
|
"groups":"GROUPES"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Connexion",
|
"login":"Connexion",
|
||||||
|
@ -36,7 +36,8 @@
|
|||||||
"groupmanagement":"समूह प्रबंधन",
|
"groupmanagement":"समूह प्रबंधन",
|
||||||
"puzzles":"पहेलि",
|
"puzzles":"पहेलि",
|
||||||
"nodemanagement":"नोड प्रबंधन",
|
"nodemanagement":"नोड प्रबंधन",
|
||||||
"trading":"व्यापार"
|
"trading":"व्यापार",
|
||||||
|
"groups":"समूह"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"लॉग इन करें",
|
"login":"लॉग इन करें",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"UPRAVLJANJE GRUPAMA",
|
"groupmanagement":"UPRAVLJANJE GRUPAMA",
|
||||||
"puzzles":"ZAGONETKE",
|
"puzzles":"ZAGONETKE",
|
||||||
"nodemanagement":"UPRAVLJANJE ČVOROVIMA",
|
"nodemanagement":"UPRAVLJANJE ČVOROVIMA",
|
||||||
"trading":"TRGOVANJE"
|
"trading":"TRGOVANJE",
|
||||||
|
"groups":"GRUPE"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Prijavi se",
|
"login":"Prijavi se",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"CSOPORTKEZELÉS",
|
"groupmanagement":"CSOPORTKEZELÉS",
|
||||||
"puzzles":"REJTVÉNYEK",
|
"puzzles":"REJTVÉNYEK",
|
||||||
"nodemanagement":"CSOMÓPONTKEZELÉS",
|
"nodemanagement":"CSOMÓPONTKEZELÉS",
|
||||||
"trading":"KERESKEDÉS"
|
"trading":"KERESKEDÉS",
|
||||||
|
"groups":"CSOPORTOK"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Bejelentkezés",
|
"login":"Bejelentkezés",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"GESTIONE DEI GRUPPI",
|
"groupmanagement":"GESTIONE DEI GRUPPI",
|
||||||
"puzzles":"PUZZLES",
|
"puzzles":"PUZZLES",
|
||||||
"nodemanagement":"GESTIONE DEI NODI",
|
"nodemanagement":"GESTIONE DEI NODI",
|
||||||
"trading":"COMMERCIO"
|
"trading":"COMMERCIO",
|
||||||
|
"groups":"GRUPPI"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Login",
|
"login":"Login",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"그룹 관리",
|
"groupmanagement":"그룹 관리",
|
||||||
"puzzles":"퍼즐",
|
"puzzles":"퍼즐",
|
||||||
"nodemanagement":"노드 관리",
|
"nodemanagement":"노드 관리",
|
||||||
"trading":"무역"
|
"trading":"무역",
|
||||||
|
"groups":"여러 떼"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"로그인",
|
"login":"로그인",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"GRUPPEADMINISTRASJON",
|
"groupmanagement":"GRUPPEADMINISTRASJON",
|
||||||
"puzzles":"PUZZLES",
|
"puzzles":"PUZZLES",
|
||||||
"nodemanagement":"NODEADMINISTRASJON",
|
"nodemanagement":"NODEADMINISTRASJON",
|
||||||
"trading":"HANDEL"
|
"trading":"HANDEL",
|
||||||
|
"groups":"GRUPPER"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Logg på",
|
"login":"Logg på",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"ZARZĄDZANIE GRUPAMI",
|
"groupmanagement":"ZARZĄDZANIE GRUPAMI",
|
||||||
"puzzles":"PUZZLE",
|
"puzzles":"PUZZLE",
|
||||||
"nodemanagement":"ZARZĄDZANIE WĘZŁAMI",
|
"nodemanagement":"ZARZĄDZANIE WĘZŁAMI",
|
||||||
"trading":"HANDLOWY"
|
"trading":"HANDLOWY",
|
||||||
|
"groups":"GRUPY"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Zaloguj się",
|
"login":"Zaloguj się",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"GESTÃO DE GRUPOS",
|
"groupmanagement":"GESTÃO DE GRUPOS",
|
||||||
"puzzles":"ENIGMAS",
|
"puzzles":"ENIGMAS",
|
||||||
"nodemanagement":"GERENCIAMENTO DO NÓDULO",
|
"nodemanagement":"GERENCIAMENTO DO NÓDULO",
|
||||||
"trading":"NEGOCIAÇÃO"
|
"trading":"NEGOCIAÇÃO",
|
||||||
|
"groups":"GRUPOS"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Login",
|
"login":"Login",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"GESTIONARE GRUP",
|
"groupmanagement":"GESTIONARE GRUP",
|
||||||
"puzzles":"PUZZLE-URI",
|
"puzzles":"PUZZLE-URI",
|
||||||
"nodemanagement":"GESTIONARE NOD",
|
"nodemanagement":"GESTIONARE NOD",
|
||||||
"trading":"COMERCIAL"
|
"trading":"COMERCIAL",
|
||||||
|
"groups":"GRUPURI"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Login",
|
"login":"Login",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"MENADŽMENT GRUPA",
|
"groupmanagement":"MENADŽMENT GRUPA",
|
||||||
"puzzles":"SLAGALICE",
|
"puzzles":"SLAGALICE",
|
||||||
"nodemanagement":"MENADŽMENT ČVORIŠTA",
|
"nodemanagement":"MENADŽMENT ČVORIŠTA",
|
||||||
"trading":"TRADING"
|
"trading":"TRADING",
|
||||||
|
"groups":"GRUPE"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Prijava",
|
"login":"Prijava",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"УПРАВЛЕНИЕ ГРУППАМИ",
|
"groupmanagement":"УПРАВЛЕНИЕ ГРУППАМИ",
|
||||||
"puzzles":"ГОЛОВОЛОМКИ",
|
"puzzles":"ГОЛОВОЛОМКИ",
|
||||||
"nodemanagement":"УПРАВЛЕНИЕ УЗЛАМИ",
|
"nodemanagement":"УПРАВЛЕНИЕ УЗЛАМИ",
|
||||||
"trading":"ТОРГОВЛЯ"
|
"trading":"ТОРГОВЛЯ",
|
||||||
|
"groups":"ГРУППЫ"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Войти",
|
"login":"Войти",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"GROUP MANAGEMENT",
|
"groupmanagement":"GROUP MANAGEMENT",
|
||||||
"puzzles":"PUZZLES",
|
"puzzles":"PUZZLES",
|
||||||
"nodemanagement":"NODE MANAGEMENT",
|
"nodemanagement":"NODE MANAGEMENT",
|
||||||
"trading":"TRADING"
|
"trading":"TRADING",
|
||||||
|
"groups":"GROUPS"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"Login",
|
"login":"Login",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"群组管理",
|
"groupmanagement":"群组管理",
|
||||||
"puzzles":"益智游戏",
|
"puzzles":"益智游戏",
|
||||||
"nodemanagement":"节点管理",
|
"nodemanagement":"节点管理",
|
||||||
"trading":"贸易"
|
"trading":"贸易",
|
||||||
|
"groups":"团体"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"登入",
|
"login":"登入",
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
"groupmanagement":"群組管理",
|
"groupmanagement":"群組管理",
|
||||||
"puzzles":"益智遊戲",
|
"puzzles":"益智遊戲",
|
||||||
"nodemanagement":"節點管理",
|
"nodemanagement":"節點管理",
|
||||||
"trading":"貿易"
|
"trading":"貿易",
|
||||||
|
"groups":"團體"
|
||||||
},
|
},
|
||||||
"login":{
|
"login":{
|
||||||
"login":"登入",
|
"login":"登入",
|
||||||
|
@ -480,17 +480,11 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
|
|
||||||
window.addEventListener('storage', async () => {
|
window.addEventListener('storage', async () => {
|
||||||
this.tradeBotBtcBook = JSON.parse(localStorage.getItem(this.botBtcWallet) || "[]")
|
this.tradeBotBtcBook = JSON.parse(localStorage.getItem(this.botBtcWallet) || "[]")
|
||||||
await appDelay(500)
|
|
||||||
this.tradeBotLtcBook = JSON.parse(localStorage.getItem(this.botLtcWallet) || "[]")
|
this.tradeBotLtcBook = JSON.parse(localStorage.getItem(this.botLtcWallet) || "[]")
|
||||||
await appDelay(500)
|
|
||||||
this.tradeBotDogeBook = JSON.parse(localStorage.getItem(this.botDogeWallet) || "[]")
|
this.tradeBotDogeBook = JSON.parse(localStorage.getItem(this.botDogeWallet) || "[]")
|
||||||
await appDelay(500)
|
|
||||||
this.tradeBotDgbBook = JSON.parse(localStorage.getItem(this.botDgbWallet) || "[]")
|
this.tradeBotDgbBook = JSON.parse(localStorage.getItem(this.botDgbWallet) || "[]")
|
||||||
await appDelay(500)
|
|
||||||
this.tradeBotRvnBook = JSON.parse(localStorage.getItem(this.botRvnWallet) || "[]")
|
this.tradeBotRvnBook = JSON.parse(localStorage.getItem(this.botRvnWallet) || "[]")
|
||||||
await appDelay(500)
|
|
||||||
this.tradeBotArrrBook = JSON.parse(localStorage.getItem(this.botArrrWallet) || "[]")
|
this.tradeBotArrrBook = JSON.parse(localStorage.getItem(this.botArrrWallet) || "[]")
|
||||||
await appDelay(500)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
this.renderBalances()
|
this.renderBalances()
|
||||||
@ -523,7 +517,7 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
}
|
}
|
||||||
}).filter(item => !!item)
|
}).filter(item => !!item)
|
||||||
|
|
||||||
await this.updateBtcWalletBalance()
|
await appDelay(1000)
|
||||||
filterMyBotPriceTradesBTC()
|
filterMyBotPriceTradesBTC()
|
||||||
setTimeout(getOpenTradesBTC, 150000)
|
setTimeout(getOpenTradesBTC, 150000)
|
||||||
}
|
}
|
||||||
@ -602,10 +596,10 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
|
|
||||||
this.tradeBotBtcBook = JSON.parse(localStorage.getItem(this.botBtcWallet) || "[]")
|
this.tradeBotBtcBook = JSON.parse(localStorage.getItem(this.botBtcWallet) || "[]")
|
||||||
|
|
||||||
await appDelay(1000)
|
|
||||||
|
|
||||||
this.botBtcBuyAtAddress = tradebtcataddress
|
this.botBtcBuyAtAddress = tradebtcataddress
|
||||||
|
|
||||||
|
await appDelay(1000)
|
||||||
|
|
||||||
this.buyBtcAction()
|
this.buyBtcAction()
|
||||||
|
|
||||||
if (this.isEmptyArray(this.tradeBotBtcBook) === true) {
|
if (this.isEmptyArray(this.tradeBotBtcBook) === true) {
|
||||||
@ -623,7 +617,6 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
if (this.isEmptyArray(this.tradeBotBtcBook) === true) {
|
if (this.isEmptyArray(this.tradeBotBtcBook) === true) {
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
await this.updateBtcWalletBalance()
|
|
||||||
const checkBotBtcFunds = this.round(parseFloat(this.tradeBotBtcBook[0].botBtcQortAmount) * parseFloat(this.tradeBotBtcBook[0].botBtcPrice))
|
const checkBotBtcFunds = this.round(parseFloat(this.tradeBotBtcBook[0].botBtcQortAmount) * parseFloat(this.tradeBotBtcBook[0].botBtcPrice))
|
||||||
const myBotBtcFunds = this.round(parseFloat(this.btcWalletBalance))
|
const myBotBtcFunds = this.round(parseFloat(this.btcWalletBalance))
|
||||||
|
|
||||||
@ -664,7 +657,7 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
}
|
}
|
||||||
}).filter(item => !!item)
|
}).filter(item => !!item)
|
||||||
|
|
||||||
await this.updateLtcWalletBalance()
|
await appDelay(1000)
|
||||||
filterMyBotPriceTradesLTC()
|
filterMyBotPriceTradesLTC()
|
||||||
setTimeout(getOpenTradesLTC, 150000)
|
setTimeout(getOpenTradesLTC, 150000)
|
||||||
}
|
}
|
||||||
@ -743,10 +736,10 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
|
|
||||||
this.tradeBotLtcBook = JSON.parse(localStorage.getItem(this.botLtcWallet) || "[]")
|
this.tradeBotLtcBook = JSON.parse(localStorage.getItem(this.botLtcWallet) || "[]")
|
||||||
|
|
||||||
await appDelay(1000)
|
|
||||||
|
|
||||||
this.botLtcBuyAtAddress = tradeltcataddress
|
this.botLtcBuyAtAddress = tradeltcataddress
|
||||||
|
|
||||||
|
await appDelay(1000)
|
||||||
|
|
||||||
this.buyLtcAction()
|
this.buyLtcAction()
|
||||||
|
|
||||||
if (this.isEmptyArray(this.tradeBotLtcBook) === true) {
|
if (this.isEmptyArray(this.tradeBotLtcBook) === true) {
|
||||||
@ -764,7 +757,6 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
if (this.isEmptyArray(this.tradeBotLtcBook) === true) {
|
if (this.isEmptyArray(this.tradeBotLtcBook) === true) {
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
await this.updateLtcWalletBalance()
|
|
||||||
const checkBotLtcFunds = this.round(parseFloat(this.tradeBotLtcBook[0].botLtcQortAmount) * parseFloat(this.tradeBotLtcBook[0].botLtcPrice))
|
const checkBotLtcFunds = this.round(parseFloat(this.tradeBotLtcBook[0].botLtcQortAmount) * parseFloat(this.tradeBotLtcBook[0].botLtcPrice))
|
||||||
const myBotLtcFunds = this.round(parseFloat(this.ltcWalletBalance))
|
const myBotLtcFunds = this.round(parseFloat(this.ltcWalletBalance))
|
||||||
|
|
||||||
@ -805,7 +797,7 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
}
|
}
|
||||||
}).filter(item => !!item)
|
}).filter(item => !!item)
|
||||||
|
|
||||||
await this.updateDogeWalletBalance()
|
await appDelay(1000)
|
||||||
filterMyBotPriceTradesDOGE()
|
filterMyBotPriceTradesDOGE()
|
||||||
setTimeout(getOpenTradesDOGE, 150000)
|
setTimeout(getOpenTradesDOGE, 150000)
|
||||||
}
|
}
|
||||||
@ -884,10 +876,10 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
|
|
||||||
this.tradeBotDogeBook = JSON.parse(localStorage.getItem(this.botDogeWallet) || "[]")
|
this.tradeBotDogeBook = JSON.parse(localStorage.getItem(this.botDogeWallet) || "[]")
|
||||||
|
|
||||||
await appDelay(1000)
|
|
||||||
|
|
||||||
this.botDogeBuyAtAddress = tradedogeataddress
|
this.botDogeBuyAtAddress = tradedogeataddress
|
||||||
|
|
||||||
|
await appDelay(1000)
|
||||||
|
|
||||||
this.buyDogeAction()
|
this.buyDogeAction()
|
||||||
|
|
||||||
if (this.isEmptyArray(this.tradeBotDogeBook) === true) {
|
if (this.isEmptyArray(this.tradeBotDogeBook) === true) {
|
||||||
@ -905,7 +897,6 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
if (this.isEmptyArray(this.tradeBotDogeBook) === true) {
|
if (this.isEmptyArray(this.tradeBotDogeBook) === true) {
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
await this.updateDogeWalletBalance()
|
|
||||||
const checkBotDogeFunds = this.round(parseFloat(this.tradeBotDogeBook[0].botDogeQortAmount) * parseFloat(this.tradeBotDogeBook[0].botDogePrice))
|
const checkBotDogeFunds = this.round(parseFloat(this.tradeBotDogeBook[0].botDogeQortAmount) * parseFloat(this.tradeBotDogeBook[0].botDogePrice))
|
||||||
const myBotDogeFunds = this.round(parseFloat(this.dogeWalletBalance))
|
const myBotDogeFunds = this.round(parseFloat(this.dogeWalletBalance))
|
||||||
|
|
||||||
@ -946,6 +937,8 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
}
|
}
|
||||||
}).filter(item => !!item)
|
}).filter(item => !!item)
|
||||||
|
|
||||||
|
await appDelay(1000)
|
||||||
|
filterMyBotPriceTradesDGB()
|
||||||
setTimeout(getOpenTradesDGB, 150000)
|
setTimeout(getOpenTradesDGB, 150000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1023,10 +1016,10 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
|
|
||||||
this.tradeBotDgbBook = JSON.parse(localStorage.getItem(this.botDgbWallet) || "[]")
|
this.tradeBotDgbBook = JSON.parse(localStorage.getItem(this.botDgbWallet) || "[]")
|
||||||
|
|
||||||
await appDelay(1000)
|
|
||||||
|
|
||||||
this.botDgbBuyAtAddress = tradedgbataddress
|
this.botDgbBuyAtAddress = tradedgbataddress
|
||||||
|
|
||||||
|
await appDelay(1000)
|
||||||
|
|
||||||
this.buyDgbAction()
|
this.buyDgbAction()
|
||||||
|
|
||||||
if (this.isEmptyArray(this.tradeBotDgbBook) === true) {
|
if (this.isEmptyArray(this.tradeBotDgbBook) === true) {
|
||||||
@ -1044,7 +1037,6 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
if (this.isEmptyArray(this.tradeBotDgbBook) === true) {
|
if (this.isEmptyArray(this.tradeBotDgbBook) === true) {
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
await this.updateDgbWalletBalance()
|
|
||||||
const checkBotDgbFunds = this.round(parseFloat(this.tradeBotDgbBook[0].botDgbQortAmount) * parseFloat(this.tradeBotDgbBook[0].botDgbPrice))
|
const checkBotDgbFunds = this.round(parseFloat(this.tradeBotDgbBook[0].botDgbQortAmount) * parseFloat(this.tradeBotDgbBook[0].botDgbPrice))
|
||||||
const myBotDgbFunds = this.round(parseFloat(this.dgbWalletBalance))
|
const myBotDgbFunds = this.round(parseFloat(this.dgbWalletBalance))
|
||||||
|
|
||||||
@ -1085,6 +1077,8 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
}
|
}
|
||||||
}).filter(item => !!item)
|
}).filter(item => !!item)
|
||||||
|
|
||||||
|
await appDelay(1000)
|
||||||
|
filterMyBotPriceTradesRVN()
|
||||||
setTimeout(getOpenTradesRVN, 150000)
|
setTimeout(getOpenTradesRVN, 150000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1162,10 +1156,10 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
|
|
||||||
this.tradeBotRvnBook = JSON.parse(localStorage.getItem(this.botRvnWallet) || "[]")
|
this.tradeBotRvnBook = JSON.parse(localStorage.getItem(this.botRvnWallet) || "[]")
|
||||||
|
|
||||||
await appDelay(1000)
|
|
||||||
|
|
||||||
this.botRvnBuyAtAddress = tradervnataddress
|
this.botRvnBuyAtAddress = tradervnataddress
|
||||||
|
|
||||||
|
await appDelay(1000)
|
||||||
|
|
||||||
this.buyRvnAction()
|
this.buyRvnAction()
|
||||||
|
|
||||||
if (this.isEmptyArray(this.tradeBotRvnBook) === true) {
|
if (this.isEmptyArray(this.tradeBotRvnBook) === true) {
|
||||||
@ -1183,7 +1177,6 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
if (this.isEmptyArray(this.tradeBotRvnBook) === true) {
|
if (this.isEmptyArray(this.tradeBotRvnBook) === true) {
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
await this.updateRvnWalletBalance()
|
|
||||||
const checkBotRvnFunds = this.round(parseFloat(this.tradeBotRvnBook[0].botRvnQortAmount) * parseFloat(this.tradeBotRvnBook[0].botRvnPrice))
|
const checkBotRvnFunds = this.round(parseFloat(this.tradeBotRvnBook[0].botRvnQortAmount) * parseFloat(this.tradeBotRvnBook[0].botRvnPrice))
|
||||||
const myBotRvnFunds = this.round(parseFloat(this.rvnWalletBalance))
|
const myBotRvnFunds = this.round(parseFloat(this.rvnWalletBalance))
|
||||||
|
|
||||||
@ -1224,6 +1217,8 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
}
|
}
|
||||||
}).filter(item => !!item)
|
}).filter(item => !!item)
|
||||||
|
|
||||||
|
await appDelay(1000)
|
||||||
|
filterMyBotPriceTradesARRR()
|
||||||
setTimeout(getOpenTradesARRR, 150000)
|
setTimeout(getOpenTradesARRR, 150000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1301,10 +1296,10 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
|
|
||||||
this.tradeBotArrrBook = JSON.parse(localStorage.getItem(this.botArrrWallet) || "[]")
|
this.tradeBotArrrBook = JSON.parse(localStorage.getItem(this.botArrrWallet) || "[]")
|
||||||
|
|
||||||
await appDelay(1000)
|
|
||||||
|
|
||||||
this.botArrrBuyAtAddress = tradearrrataddress
|
this.botArrrBuyAtAddress = tradearrrataddress
|
||||||
|
|
||||||
|
await appDelay(1000)
|
||||||
|
|
||||||
this.buyArrrAction()
|
this.buyArrrAction()
|
||||||
|
|
||||||
if (this.isEmptyArray(this.tradeBotArrrBook) === true) {
|
if (this.isEmptyArray(this.tradeBotArrrBook) === true) {
|
||||||
@ -1322,7 +1317,6 @@ class AppView extends connect(store)(LitElement) {
|
|||||||
if (this.isEmptyArray(this.tradeBotArrrBook) === true) {
|
if (this.isEmptyArray(this.tradeBotArrrBook) === true) {
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
await this.updateArrrWalletBalance()
|
|
||||||
const checkBotArrrFunds = this.round(parseFloat(this.tradeBotArrrBook[0].botArrrQortAmount) * parseFloat(this.tradeBotArrrBook[0].botArrrPrice))
|
const checkBotArrrFunds = this.round(parseFloat(this.tradeBotArrrBook[0].botArrrQortAmount) * parseFloat(this.tradeBotArrrBook[0].botArrrPrice))
|
||||||
const myBotArrrFunds = this.round(parseFloat(this.arrrWalletBalance))
|
const myBotArrrFunds = this.round(parseFloat(this.arrrWalletBalance))
|
||||||
|
|
||||||
|
@ -195,6 +195,18 @@ class SidenavMenu extends connect(store)(LitElement) {
|
|||||||
>
|
>
|
||||||
<vaadin-icon icon="vaadin:desktop" slot="icon" ></vaadin-icon>
|
<vaadin-icon icon="vaadin:desktop" slot="icon" ></vaadin-icon>
|
||||||
</side-menu-item>
|
</side-menu-item>
|
||||||
|
<side-menu-item
|
||||||
|
label="${translate('sidemenu.groups')}"
|
||||||
|
expanded
|
||||||
|
>
|
||||||
|
<vaadin-icon icon="vaadin:group" slot="icon"></vaadin-icon>
|
||||||
|
<side-menu-item
|
||||||
|
label="${translate('sidemenu.groupmanagement')}"
|
||||||
|
href="/app/group-management"
|
||||||
|
>
|
||||||
|
<vaadin-icon icon="vaadin:group" slot="icon"></vaadin-icon>
|
||||||
|
</side-menu-item>
|
||||||
|
</side-menu-item>
|
||||||
<side-menu-item
|
<side-menu-item
|
||||||
label="${translate('sidemenu.puzzles')}"
|
label="${translate('sidemenu.puzzles')}"
|
||||||
href="/app/puzzles"
|
href="/app/puzzles"
|
||||||
@ -212,12 +224,6 @@ class SidenavMenu extends connect(store)(LitElement) {
|
|||||||
>
|
>
|
||||||
<vaadin-icon icon="vaadin:database" slot="icon"></vaadin-icon>
|
<vaadin-icon icon="vaadin:database" slot="icon"></vaadin-icon>
|
||||||
</side-menu-item>
|
</side-menu-item>
|
||||||
<side-menu-item
|
|
||||||
label="${translate('sidemenu.groupmanagement')}"
|
|
||||||
href="/app/group-management"
|
|
||||||
>
|
|
||||||
<vaadin-icon icon="vaadin:group" slot="icon"></vaadin-icon>
|
|
||||||
</side-menu-item>
|
|
||||||
${this.renderNodeManagement()}
|
${this.renderNodeManagement()}
|
||||||
</side-menu-item>
|
</side-menu-item>
|
||||||
<div>
|
<div>
|
||||||
|
@ -53,29 +53,11 @@ parentEpml.ready().then(() => {
|
|||||||
parent: false,
|
parent: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
url: 'trade-bot-btc',
|
url: 'trade-bot-portal',
|
||||||
domain: 'core',
|
domain: 'core',
|
||||||
page: 'trade-bot/trade-bot-btc/index.html',
|
page: 'trade-bot/index.html',
|
||||||
title: 'Auto Buy With BTC',
|
title: 'Auto Buy',
|
||||||
icon: 'vaadin:automation',
|
icon: 'vaadin:calc-book',
|
||||||
menus: [],
|
|
||||||
parent: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
url: 'trade-bot-ltc',
|
|
||||||
domain: 'core',
|
|
||||||
page: 'trade-bot/trade-bot-ltc/index.html',
|
|
||||||
title: 'Auto Buy With LTC',
|
|
||||||
icon: 'vaadin:automation',
|
|
||||||
menus: [],
|
|
||||||
parent: false,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
url: 'trade-bot-doge',
|
|
||||||
domain: 'core',
|
|
||||||
page: 'trade-bot/trade-bot-doge/index.html',
|
|
||||||
title: 'Auto Buy With DOGE',
|
|
||||||
icon: 'vaadin:automation',
|
|
||||||
menus: [],
|
menus: [],
|
||||||
parent: false,
|
parent: false,
|
||||||
},
|
},
|
||||||
|
@ -799,6 +799,12 @@ class TradeBotPortal extends LitElement {
|
|||||||
this.displayTradeAddress = ''
|
this.displayTradeAddress = ''
|
||||||
this.displayTradeLevel = ''
|
this.displayTradeLevel = ''
|
||||||
this.displayTradeBalance = ''
|
this.displayTradeBalance = ''
|
||||||
|
this.tradeBotBtcBook = []
|
||||||
|
this.tradeBotLtcBook = []
|
||||||
|
this.tradeBotDogeBook = []
|
||||||
|
this.tradeBotDgbBook = []
|
||||||
|
this.tradeBotRvnBook = []
|
||||||
|
this.tradeBotArrrBook = []
|
||||||
}
|
}
|
||||||
|
|
||||||
openTradesTemplate() {
|
openTradesTemplate() {
|
||||||
@ -2004,6 +2010,12 @@ class TradeBotPortal extends LitElement {
|
|||||||
)
|
)
|
||||||
|
|
||||||
window.addEventListener('storage', () => {
|
window.addEventListener('storage', () => {
|
||||||
|
this.tradeBotBtcBook = JSON.parse(localStorage.getItem(this.btcWallet) || "[]")
|
||||||
|
this.tradeBotLtcBook = JSON.parse(localStorage.getItem(this.ltcWallet) || "[]")
|
||||||
|
this.tradeBotDogeBook = JSON.parse(localStorage.getItem(this.dogeWallet) || "[]")
|
||||||
|
this.tradeBotDgbBook = JSON.parse(localStorage.getItem(this.dgbWallet) || "[]")
|
||||||
|
this.tradeBotRvnBook = JSON.parse(localStorage.getItem(this.rvnWallet) || "[]")
|
||||||
|
this.tradeBotArrrBook = JSON.parse(localStorage.getItem(this.arrrWallet) || "[]")
|
||||||
const checkLanguage = localStorage.getItem('qortalLanguage')
|
const checkLanguage = localStorage.getItem('qortalLanguage')
|
||||||
const checkTheme = localStorage.getItem('qortalTheme')
|
const checkTheme = localStorage.getItem('qortalTheme')
|
||||||
|
|
||||||
@ -2011,12 +2023,6 @@ class TradeBotPortal extends LitElement {
|
|||||||
|
|
||||||
this.theme = (checkTheme === 'dark') ? 'dark' : 'light'
|
this.theme = (checkTheme === 'dark') ? 'dark' : 'light'
|
||||||
document.querySelector('html').setAttribute('theme', this.theme)
|
document.querySelector('html').setAttribute('theme', this.theme)
|
||||||
this.tradeBotBtcBook = JSON.parse(localStorage.getItem(this.btcWallet) || "[]")
|
|
||||||
this.tradeBotLtcBook = JSON.parse(localStorage.getItem(this.ltcWallet) || "[]")
|
|
||||||
this.tradeBotDogeBook = JSON.parse(localStorage.getItem(this.dogeWallet) || "[]")
|
|
||||||
this.tradeBotDgbBook = JSON.parse(localStorage.getItem(this.dgbWallet) || "[]")
|
|
||||||
this.tradeBotRvnBook = JSON.parse(localStorage.getItem(this.rvnWallet) || "[]")
|
|
||||||
this.tradeBotArrrBook = JSON.parse(localStorage.getItem(this.arrrWallet) || "[]")
|
|
||||||
})
|
})
|
||||||
|
|
||||||
window.onkeyup = (e) => {
|
window.onkeyup = (e) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user