Skip to content

Commit

Permalink
cln code
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizwar committed Jun 2, 2021
1 parent e28e470 commit 5c080c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const ping = await denoBot.ping;
denoBot.stratigy = "onlyRsis"
setInterval(async _ => {
const options = {
candeles: { symbol: "DOGEUSDT" }
candeles: { symbol: "DOGEUSDT",inerval:"5m"}
}
const listenMyCoins = await denoBot.listenCoins(options);
const action = denoBot.action(listenMyCoins);
Expand Down
3 changes: 1 addition & 2 deletions wino/denoBot.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { BinanceApi, Technicalindicators, SlackApi, ENV } from '../deps.js';
import { OnlyRsis } from './stratigy/index.js'
import { bot as TelegramBot } from "../lib/telegram.js";
const { API_KEY_BINANCE, API_SECRET_BINANCE, TOKEN_SLACK, CHANEL_SLACK, ID_CHAT_TELEGRAM } = ENV;
//console.info(await Binance.futuresCandles({ symbol: 'BTCUSDT' }));
const { API_KEY_BINANCE, API_SECRET_BINANCE, TOKEN_SLACK, CHANEL_SLACK, ID_CHAT_TELEGRAM } = ENV || [];
const { SMA, EMA, BollingerBands, RSI, StochasticRSI } = Technicalindicators;

export default class DenoBot {
Expand Down

0 comments on commit 5c080c1

Please sign in to comment.