diff --git a/Projects/Algorithmic-Trading/TS/Bot-Modules/Trading-Bot/Low-Frequency-Trading/OrdersSimulations.js b/Projects/Algorithmic-Trading/TS/Bot-Modules/Trading-Bot/Low-Frequency-Trading/OrdersSimulations.js index 5c7963c89..f53546e1a 100644 --- a/Projects/Algorithmic-Trading/TS/Bot-Modules/Trading-Bot/Low-Frequency-Trading/OrdersSimulations.js +++ b/Projects/Algorithmic-Trading/TS/Bot-Modules/Trading-Bot/Low-Frequency-Trading/OrdersSimulations.js @@ -208,7 +208,7 @@ exports.newAlgorithmicTradingBotModulesOrdersSimulations = function (processInde case tradingSystemOrder.type === 'Market Buy Order' || tradingSystemOrder.type === 'Limit Buy Order': { if (tradingEngineOrder.orderStatistics.actualRate.value > tradingEngine.tradingCurrent.tradingEpisode.candle.max.value) { - const message = 'Simulating - Actual Rate Too Hight' + const message = 'Simulating - Actual Rate Too High' let docs = { project: 'Foundations', category: 'Topic', diff --git a/Projects/Portfolio-Management/TS/Bot-Modules/Portfolio-Bot/Low-Frequency-Portfolio/OrdersSimulations.js b/Projects/Portfolio-Management/TS/Bot-Modules/Portfolio-Bot/Low-Frequency-Portfolio/OrdersSimulations.js index 26a7bda74..c3d285e00 100644 --- a/Projects/Portfolio-Management/TS/Bot-Modules/Portfolio-Bot/Low-Frequency-Portfolio/OrdersSimulations.js +++ b/Projects/Portfolio-Management/TS/Bot-Modules/Portfolio-Bot/Low-Frequency-Portfolio/OrdersSimulations.js @@ -197,7 +197,7 @@ exports.newPortfolioManagementBotModulesOrdersSimulations = function (processInd Until here we have got the Actual Rate based on the formula definition or based on session parameters slippage. The last check is about watching what happened in the market. Let's remember that the exchange will fill the order with the best possible matches at it's order book. That means that if the rate - we set for the order was too low (for a sale order) or too hight (for a buy order), the actual rate + we set for the order was too low (for a sale order) or too high (for a buy order), the actual rate should be better than expected. We don't know what it is at the order book, but whe know that the last candle includes trades that bounced between @@ -208,7 +208,7 @@ exports.newPortfolioManagementBotModulesOrdersSimulations = function (processInd case portfolioSystemOrder.type === 'Market Buy Order' || portfolioSystemOrder.type === 'Limit Buy Order': { if (portfolioEngineOrder.orderStatistics.actualRate.value > portfolioEngine.portfolioCurrent.portfolioEpisode.candle.max.value) { - const message = 'Simulating - Actual Rate Too Hight' + const message = 'Simulating - Actual Rate Too High' let docs = { project: 'Foundations', category: 'Topic',