Fix
This commit is contained in:
1 parent
c319541541
commit
a7f3be7629
2 files changed
+2
-2
No files matched your search
@@ -1603,7 +1603,7 @@ function newUiObject() {
|
||||
|
||||
labelPoint = {
|
||||
x: position.x - label.length / 2 * fontSize * FONT_ASPECT_RATIO - 5,
|
||||
y: position.y + radius * 2 / 5 + fontSize * FONT_ASPECT_RATIO + 25
|
||||
y: position.y + radius * 2 / 5 + fontSize * FONT_ASPECT_RATIO + 10
|
||||
}
|
||||
|
||||
browserCanvasContext.font = fontSize + 'px ' + UI_FONT.PRIMARY
|
||||
|
||||
@@ -1085,7 +1085,7 @@ exports.newTradingOrders = function newTradingOrders(bot, logger, tradingEngineM
|
||||
/* Initialize this */
|
||||
tradingEngine.current.episode.distanceToEvent.closeOrder.value = 1
|
||||
|
||||
await updateEndsWithCycle(tradingEngineOrder)
|
||||
updateEndsWithCycle(tradingEngineOrder)
|
||||
tradingSystem.infos.push([tradingSystemOrder.id, 'simulateCancelOrder -> Closing Order with Exit Type ' + tradingEngineOrder.exitType.value])
|
||||
|
||||
recalculateStageSize(tradingEngineStage, tradingEngineOrder)
|
||||
|
||||
Reference in new issue
Block a user