telegram fix

This commit is contained in:
Luis Fernando Molina committed 2020-03-26 14:13:00 +01:00
1 parent 1a63c70b5c
commit 654c2d5ce4
3 files changed
+7 -2

No files matched your search

@@ -191,6 +191,8 @@ function newCCXTFunctions () {
newMarket.baseAsset.payload.referenceParent = baseAsset
newMarket.quotedAsset.payload.referenceParent = quotedAsset
currentMarkets.set(name, newMarket)
let superActions = node.payload.parentNode.payload.parentNode.payload.parentNode.superActions
for (let j = 0; j < superActions.superActions.length; j++) {
@@ -54,7 +54,8 @@ function newSessionFunctions () {
'Backtesting Session->Paper Trading Session->Fordward Testing Session->Live Trading Session->' +
'Parameters->' +
'Base Asset->Quoted Asset->Time Range->Time Frame->Slippage->Fee Structure->' +
'Exchange Account Asset->Asset->'
'Exchange Account Asset->Asset->' +
'Social Bots->Telegram Bot->'
let session = functionLibraryProtocolNode.getProtocolNode(node, false, true, true, false, false, lightingPath)
+3 -1
View File
@@ -2746,7 +2746,9 @@
}
announcement.formulaValue = formulaValue
bot.SESSION.socialBots.announce(announcement)
if (bot.SESSION.socialBots !== undefined) {
bot.SESSION.socialBots.announce(announcement)
}
}
}
}