From 52b0cec6b1c05159c848dfe5a985c506b019a909 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Sat, 6 Apr 2019 09:47:07 +0200 Subject: [PATCH] Multi Exchange --- Commons.js | 4 ++-- Multi-Period-Daily/User.Bot.js | 2 -- Multi-Period-Market/User.Bot.js | 2 -- this.bot.config.json | 8 +++++++- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Commons.js b/Commons.js index 384a61ba2..31d776fd1 100644 --- a/Commons.js +++ b/Commons.js @@ -777,8 +777,8 @@ exports.newCommons = function newCommons(bot, logger, UTILITIES) { ORDER_CREATOR.SimulationEngine, (new Date()).valueOf(), ORDER_OWNER.User, - "Poloniex", - "BTC/USDT", + global.EXCHANGE_NAME, + "BTC_USDT", 0, ORDER_TYPE.Limit, rate, diff --git a/Multi-Period-Daily/User.Bot.js b/Multi-Period-Daily/User.Bot.js index 45205c261..4ce9c3304 100644 --- a/Multi-Period-Daily/User.Bot.js +++ b/Multi-Period-Daily/User.Bot.js @@ -5,8 +5,6 @@ const MODULE_NAME = "User Bot"; - const EXCHANGE_NAME = "Poloniex"; - const SIMULATED_RECORDS_FOLDER_NAME = "Trading-Simulation"; const CONDITIONS_FOLDER_NAME = "Simulation-Conditions"; diff --git a/Multi-Period-Market/User.Bot.js b/Multi-Period-Market/User.Bot.js index 9cfe89332..b8760d0fc 100644 --- a/Multi-Period-Market/User.Bot.js +++ b/Multi-Period-Market/User.Bot.js @@ -5,8 +5,6 @@ const MODULE_NAME = "User Bot"; - const EXCHANGE_NAME = "Poloniex"; - const SIMULATED_RECORDS_FOLDER_NAME = "Trading-Simulation"; const CONDITIONS_FOLDER_NAME = "Simulation-Conditions"; diff --git a/this.bot.config.json b/this.bot.config.json index 637886720..6290a1b0b 100644 --- a/this.bot.config.json +++ b/this.bot.config.json @@ -169,7 +169,7 @@ "major": 1, "minor": 0 }, - "process": "Poloniex-Historic-Trades", + "process": "Historic-Trades", "dataSetVersion": "dataSet.V1" }, { @@ -292,6 +292,9 @@ "exchangeList": [ { "name": "Poloniex" + }, + { + "name": "Coss" } ], "plotter": { @@ -328,6 +331,9 @@ "exchangeList": [ { "name": "Poloniex" + }, + { + "name": "Coss" } ], "plotter": {