From 721a3a598a1d3e1049eefda1483fad1788bdbccc Mon Sep 17 00:00:00 2001 From: darkeye Date: Tue, 7 Jan 2025 19:11:47 +0100 Subject: [PATCH] [CONF] changed pathes to new location --- src/js/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/index.js b/src/js/index.js index 2838b61..54075c7 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -22,7 +22,7 @@ import OrderBookEntry from "./apiwrapper/orderbook/OrderBookEntry.js"; import TestStrategy from "./tradingbot/strategy/TestStrategy.js"; try{ - const tradingBot = new TradingBot("C:/Users/Wlad/Desktop/binance_bot/conf", "config-test.sjson"); + const tradingBot = new TradingBot("C:/Users/Wlad/Projekte/BinanceBot/binance_bot/data/conf", "config-test.sjson"); const galaWorker = new DefaultWorker("default_gala", TradingPairs.GALAUSDT, new AbstractStrategy()); const statWorker = new StatisticWorker("gala_stats", TradingPairs.GALAUSDT, new TestStrategy()); //tradingBot.registerWorker(galaWorker); @@ -41,7 +41,7 @@ try{ // ############################ /*try{ const conf = new BotConfig(); - const logger = new Logger("C:/Users/Wlad/Desktop/binance_bot/log"); + const logger = new Logger("C:/Users/Wlad/Projekte/BinanceBot/binance_bot/data/log"); const collector = new AssetDataCollector(logger, conf); const restClient = new RestClient(); @@ -93,7 +93,7 @@ try{ // ############################ // ## write config ## // ############################ -/*const path = 'C:/Users/Wlad/Desktop/binance_bot/conf'; +/*const path = 'C:/Users/Wlad/Projekte/BinanceBot/binance_bot/data/conf'; const conf = new BotConfig(); conf.setApiConfig(BinanceApiConfig.createMainNetConfig()); conf.setWorkingDirectory('C:/Users/Wlad/Desktop/binance_bot');