You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LLM_README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ The `Bot` class (`tradingbot/utils/botclass.py`) is the foundation. All trading
69
69
-**Examples**:
70
70
-`sharpePortfoliooptWeekly.py` (portfolio optimization with multiple assets)
71
71
-`aihedgefundbot.py` (reads trading decisions from external database and rebalances)
72
-
-`telegram_signalsbankbot.py` (reads `telegram_messages` table, classifies signals via AI, partial buys at 20% of cash per signal; uses `acted_on` column for crash-safe deduplication)
72
+
-`telegramsignalsbankbot.py` (reads `telegram_messages` table, classifies signals via AI, partial buys at 20% of cash per signal; uses `acted_on` column for crash-safe deduplication)
Copy file name to clipboardExpand all lines: docs/architecture/database-models.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,7 +149,7 @@ class TelegramMessage(Base):
149
149
**Unique constraint**: `(channel, message_id)` — same message never stored twice.
150
150
**Indexes**: `(channel, published_at)`, `symbol` — efficient queries by symbol or channel timeline.
151
151
152
-
`acted_on` is set to `True` by `telegram_signalsbankbot`**before** the AI classification call — crash-safe deduplication without a separate tracking table.
152
+
`acted_on` is set to `True` by `telegramsignalsbankbot`**before** the AI classification call — crash-safe deduplication without a separate tracking table.
153
153
154
154
See [Telegram Monitor Guide](../guides/telegram-monitor.md) and [Telegram Signals Bot Guide](../guides/telegram-signals-bot.md) for setup and usage.
Runs as a stateless CronJob — no persistent connection. Downstream, `telegram_signalsbankbot` reads the stored messages and acts on signals. See [Telegram Signals Bot Guide](telegram-signals-bot.md).
299
+
Runs as a stateless CronJob — no persistent connection. Downstream, `telegramsignalsbankbot` reads the stored messages and acts on signals. See [Telegram Signals Bot Guide](telegram-signals-bot.md).
Copy file name to clipboardExpand all lines: docs/guides/telegram-signals-bot.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Telegram Signals Bot Guide
2
2
3
-
`telegram_signalsbankbot` is a trading bot that reads AI-summarized Telegram messages from the database, classifies them as BUY/SELL entry signals, and executes trades automatically.
3
+
`telegramsignalsbankbot` is a trading bot that reads AI-summarized Telegram messages from the database, classifies them as BUY/SELL entry signals, and executes trades automatically.
4
4
5
5
It is the **downstream consumer** of the `telegram-monitor` CronJob — the monitor fills the `telegram_messages` table, the signals bot acts on it.
6
6
@@ -62,7 +62,7 @@ The AI resolves broker-specific CFD names (US500, DJ30.c, XAUUSD) to Yahoo Finan
62
62
## Configuration
63
63
64
64
```python
65
-
#telegram_signalsbankbot.py
65
+
#telegramsignalsbankbot.py
66
66
CHANNEL_ID="-1001998690333"# The Signals Bank - FREE
67
67
LOOKBACK_DAYS=3# Only look at messages from last N days
68
68
POSITION_SIZE_PCT=0.2# 20% of cash per signal
@@ -77,7 +77,7 @@ To monitor a different channel, change `CHANNEL_ID` to the numeric Telegram chan
0 commit comments