Skip to content

Commit 5c080c1

Browse files
committed
cln code
1 parent e28e470 commit 5c080c1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const ping = await denoBot.ping;
77
denoBot.stratigy = "onlyRsis"
88
setInterval(async _ => {
99
const options = {
10-
candeles: { symbol: "DOGEUSDT" }
10+
candeles: { symbol: "DOGEUSDT",inerval:"5m"}
1111
}
1212
const listenMyCoins = await denoBot.listenCoins(options);
1313
const action = denoBot.action(listenMyCoins);

wino/denoBot.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { BinanceApi, Technicalindicators, SlackApi, ENV } from '../deps.js';
22
import { OnlyRsis } from './stratigy/index.js'
33
import { bot as TelegramBot } from "../lib/telegram.js";
4-
const { API_KEY_BINANCE, API_SECRET_BINANCE, TOKEN_SLACK, CHANEL_SLACK, ID_CHAT_TELEGRAM } = ENV;
5-
//console.info(await Binance.futuresCandles({ symbol: 'BTCUSDT' }));
4+
const { API_KEY_BINANCE, API_SECRET_BINANCE, TOKEN_SLACK, CHANEL_SLACK, ID_CHAT_TELEGRAM } = ENV || [];
65
const { SMA, EMA, BollingerBands, RSI, StochasticRSI } = Technicalindicators;
76

87
export default class DenoBot {

0 commit comments

Comments
 (0)