Replies: 1 comment
-
Took your entire message and dropped it in ChatGPT. Here is what it says and let us know if it solved the issue: Your configuration seems mostly correct, but there might be a small issue in the way you defined the signal pattern in the TelegramChannelSignalEvaluator. Let's review it:
The issue might lie in the regular expressions used for signal_pair, MARKET_BUY, and MARKET_SELL. Regular expressions are sensitive to exact matches, and your current expressions might not be capturing the message correctly. Here's a corrected version of the configuration:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Am I presuming correctly following configuration should invoke create buy and sell orders based on telegram channel message? I have the bot working, it is announcing application start and also privacy mode is disabled. As per log, Octobot receives the channel message but does not create any orders. Kindly review my configuration and advise if I got something wrong. Many thanks in advance
Trading mode: DCATradingMode
Evaluation strategy: SimpleStrategyEvaluator
{
"background_social_evaluators": [],
"re_evaluate_TA_when_social_or_realtime_notification": false,
"required_candles_count": 1000,
"required_time_frames": [
"1m"
],
"social_evaluators_notification_timeout": 1
}
No technical, only Social analysis "TelegraChannelSignalEvaluator" is configured:
{
"telegram-channels": [
{
"channel_name": "cpt_scalp_octo",
"signal_pair": "[^Pair: ]$",
"signal_pattern": {
"MARKET_BUY": "[^BUY: ]$",
"MARKET_SELL": "[^SELL: ]*$"
}
}
]
}
Telegram message as copied from telegram desktop client:
Pair: XRP/USDT
BUY: 0.5927
SELL: 0.5956635
OctoBot.log
2024-03-01 16:30:50 DEBUG telegram.ext.Application _application.py:1112 Processing update Update(channel_post=Message(channel_chat_created=False, chat=Chat(id=-1002038161142, title='cpt_scalp_octo', type=<ChatType.CHANNEL>, username='cpt_scalp_octo'), date=datetime.datetime(2024, 3, 1, 16, 30, 50, tzinfo=datetime.timezone.utc), delete_chat_photo=False, group_chat_created=False, message_id=36, sender_chat=Chat(id=-1002038161142, title='cpt_scalp_octo', type=<ChatType.CHANNEL>, username='cpt_scalp_octo'), supergroup_chat_created=False, text='Pair: XRP/USDT\nBUY: 0.5927\nSELL: 0.5956635'), update_id=512664628)
2024-03-01 16:30:50 INFO TelegramService logging_util.py:191 No handler for telegram update of type channel, update: Update(channel_post=Message(channel_chat_created=False, chat=Chat(id=-1002038161142, title='cpt_scalp_octo', type=<ChatType.CHANNEL>, username='cpt_scalp_octo'), date=datetime.datetime(2024, 3, 1, 16, 30, 50, tzinfo=datetime.timezone.utc), delete_chat_photo=False, group_chat_created=False, message_id=36, sender_chat=Chat(id=-1002038161142, title='cpt_scalp_octo', type=<ChatType.CHANNEL>, username='cpt_scalp_octo'), supergroup_chat_created=False, text='Pair: XRP/USDT\nBUY: 0.5927\nSELL: 0.5956635'), update_id=512664628)
Beta Was this translation helpful? Give feedback.
All reactions