[CONF] changed pathes to new location

This commit is contained in:
darkeye 2025-01-07 19:11:47 +01:00
parent 85dae96927
commit 721a3a598a

View File

@ -22,7 +22,7 @@ import OrderBookEntry from "./apiwrapper/orderbook/OrderBookEntry.js";
import TestStrategy from "./tradingbot/strategy/TestStrategy.js"; import TestStrategy from "./tradingbot/strategy/TestStrategy.js";
try{ 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 galaWorker = new DefaultWorker("default_gala", TradingPairs.GALAUSDT, new AbstractStrategy());
const statWorker = new StatisticWorker("gala_stats", TradingPairs.GALAUSDT, new TestStrategy()); const statWorker = new StatisticWorker("gala_stats", TradingPairs.GALAUSDT, new TestStrategy());
//tradingBot.registerWorker(galaWorker); //tradingBot.registerWorker(galaWorker);
@ -41,7 +41,7 @@ try{
// ############################ // ############################
/*try{ /*try{
const conf = new BotConfig(); 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 collector = new AssetDataCollector(logger, conf);
const restClient = new RestClient(); const restClient = new RestClient();
@ -93,7 +93,7 @@ try{
// ############################ // ############################
// ## write config ## // ## 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(); const conf = new BotConfig();
conf.setApiConfig(BinanceApiConfig.createMainNetConfig()); conf.setApiConfig(BinanceApiConfig.createMainNetConfig());
conf.setWorkingDirectory('C:/Users/Wlad/Desktop/binance_bot'); conf.setWorkingDirectory('C:/Users/Wlad/Desktop/binance_bot');