система авторизации
This commit is contained in:
1 parent
85425483c0
commit
f6f1ae20c2
21 files changed
+581
-110
No files matched your search
+2
-2
@@ -854,7 +854,7 @@ const CX_CHECKS = [["search_sf", "Искать: спот → фьючерс ме
|
||||
["entry_limit", "Вход лимитным шортом с ожиданием «Лимитный вход: ждать, с» (если IOC выключен)"],
|
||||
["block_negative_funding", "Не открывать сделку при отрицательном funding"],
|
||||
["fees_auto", "Комиссии сами корректируются по завершённым реальным сделкам"]];
|
||||
const CX_EX = ["Bybit", "Binance", "MEXC", "HTX", "Gate"];
|
||||
const CX_EX = ["Bybit", "MEXC", "HTX", "Gate"];
|
||||
// the balances card: built once (the fee fields keep what is typed), its figures refreshed with every update
|
||||
function cxBalBuild() {
|
||||
document.getElementById("cxBal").innerHTML = CX_EX.map(e => `<tr id="cxrow-${e}">
|
||||
@@ -1312,7 +1312,7 @@ async function loadArb() {
|
||||
const st = Object.entries(arb.status || {}).map(([e, s]) => `${e}: ${s === "ok" ? arb.counts[e] + " " + unit : s}`).join(" · ");
|
||||
document.getElementById("arbStatus").textContent = (arb.paused ? "Сканирование остановлено — цены ниже последние полученные. " : "") + (arb.updated
|
||||
? `${st} · обновлено ${msk(arb.updated)} МСК (цикл ${(arb.cycle_ms / 1000).toFixed(1)} с, каждые ${arb.cycle_s} с)` : arb.paused ? "данных ещё нет" : "загружаю цены со всех бирж…");
|
||||
document.getElementById("arbTitle").textContent = `Арбитраж ${isSpot() ? "на споте" : "на фьючерсах"}: Bybit · Binance · MEXC · HTX · Gate`;
|
||||
document.getElementById("arbTitle").textContent = `Арбитраж ${isSpot() ? "на споте" : "на фьючерсах"}: Bybit · MEXC · HTX · Gate`;
|
||||
document.getElementById("arbFees").textContent = isSpot()
|
||||
? "спот: купить на одной бирже → вывести монету → продать на другой" : "фьючерсы: лонг на одной + шорт на другой, закрыть при схождении";
|
||||
renderArb();
|
||||
|
||||
Reference in new issue
Block a user