diff --git a/TaskServer/LowFrequencyTrading/ExchangeAPI.js b/TaskServer/LowFrequencyTrading/ExchangeAPI.js index 6b9ff2e92..77d754ea8 100644 --- a/TaskServer/LowFrequencyTrading/ExchangeAPI.js +++ b/TaskServer/LowFrequencyTrading/ExchangeAPI.js @@ -130,6 +130,11 @@ } catch (err) { tradingSystem.errors.push([tradingSystemOrder.id, "createOrder -> Error = " + err.message]) logError("createOrder -> Error = " + err.message) + logError("createOrder -> symbol = " + symbol); + logError("createOrder -> side = " + side); + logError("createOrder -> type = " + type); + logError("createOrder -> amount = " + amount); + logError("createOrder -> price = " + price); if (err.message.indexOf('API-key format invalid') >= 0) { logError ('The exchange says the API key provided is not good or it is not in the correct format. This is what you are using:') errorFooter() diff --git a/TaskServer/LowFrequencyTrading/OrdersCalculations.js b/TaskServer/LowFrequencyTrading/OrdersCalculations.js index 94ffe42d3..adea1443a 100644 --- a/TaskServer/LowFrequencyTrading/OrdersCalculations.js +++ b/TaskServer/LowFrequencyTrading/OrdersCalculations.js @@ -9,7 +9,7 @@ exports.newOrdersCalculations = function newOrdersCalculations(bot, logger) { actualRateCalculation: actualRateCalculation, feesToBePaidCalculation: feesToBePaidCalculation, amountReceivedCalculation: amountReceivedCalculation, - finapercentageFilledCalculationlize: percentageFilledCalculation, + percentageFilledCalculation: percentageFilledCalculation, feesPaidCalculation: feesPaidCalculation, sizeFilledCalculation: sizeFilledCalculation, initialize: initialize,