🤖 Telegram Bot - Debug Mode
Test příkazu: /help (en)
🤖 <b>BITFINEX LENDING BOT</b>
📋 <b>Available commands:</b>
/rates - 📊 Max rates - all currencies
/r - 📊 Same as /rates
/r{CUR} - 💰 Rates for specific currency (e.g. /rusd, /rbtc)
/status - 📈 Quick overview of loans
/loans - 💸 List of active loans
/offers - 📋 List of active offers
/help - ❓ This command list
/english - 🇺🇸 Switch to English
/german - 🇦🇹 Switch to Vorarlberg German
/czech - 🇨🇿 Switch to Czech
🔔 <i>Bot also automatically sends change notifications</i>
⏰ <b>Period explanation:</b>
• 1h = last hour
• 24h = last day
• 72h = last 3 days
• 168h = last week
🔗 Test odkazy:
🇨🇿 Česky:
📊 Test /rates - Max rates všechny měny
📊 Test /r - Stejné jako /rates
💰 Test /rusd - Rates pouze USD
💰 Test /rbtc - Rates pouze BTC
💰 Test /rust - Rates pouze UST
📈 Test /status - Rychlý přehled
💰 Test /yield - Earnings aktuálního uživatele
💰 Test /yieldall - Earnings všech uživatelů
❓ Test /help - Nápověda
🇺🇸 English:
📊 Test /rates - Max rates all currencies
📊 Test /r - Same as /rates
💰 Test /rusd - USD rates only
💰 Test /rbtc - BTC rates only
💰 Test /rust - UST rates only
📈 Test /status - Quick overview
💰 Test /yield - Current user earnings
💰 Test /yieldall - All users earnings
❓ Test /help - Help
📋 Nastavení Webhook
Pro aktivaci Telegram příkazů nastav webhook:
curl "https://api.telegram.org/bot7381636391:AAF4DgGo1vUfmN9gp_36mu3FNL8DitJTFOA/setWebhook?url=https://orb.claudev.cz/bitfinexbot/telegram_bot.php"
📊 Funkce:
- /rates - Zobrazí max rates pro všechny měny + historii (1h, 24h, 72h, 168h)
- /status - Rychlý přehled aktivních půjček a nabídek
- /help - Seznam všech příkazů
- /admin_* - Admin příkazy pro správu uživatelů
🔍 Debug: Proč chybí UST v kratších obdobích?
⏰ Posledních 24 hodin (24h)
Start time: 2026-01-26 06:11:09 (timestamp: 1769407869)
End time: 2026-01-27 06:11:09 (timestamp: 1769494269)
Celkem záznamů: 0
💰 Všechny měny v období:
🎯 UST earnings v období:
❌ Žádné UST earnings v tomto období!
📊 Test formatEarningsSummary():
📊 Žádné výnosy v tomto období
⏰ Poslední týden (1w)
Start time: 2026-01-20 06:11:09 (timestamp: 1768889469)
End time: 2026-01-27 06:11:09 (timestamp: 1769494269)
Celkem záznamů: 12
💰 Všechny měny v období:
• IOT: 102.85926656
• BCHN: 0.03953558
• USD: 26,821.15479226
🎯 UST earnings v období:
❌ Žádné UST earnings v tomto období!
📊 Test formatEarningsSummary():
💰 102.86 IOT
💰 0.04 BCHN
💰 26,821.15 USD
⏰ Poslední měsíc (1m)
Start time: 2025-12-28 06:11:09 (timestamp: 1766902269)
End time: 2026-01-27 06:11:09 (timestamp: 1769494269)
Celkem záznamů: 0
💰 Všechny měny v období:
🎯 UST earnings v období:
❌ Žádné UST earnings v tomto období!
📊 Test formatEarningsSummary():
📊 Žádné výnosy v tomto období
⏰ Poslední 3 měsíce (3m)
Start time: 2025-10-29 06:11:09 (timestamp: 1761718269)
End time: 2026-01-27 06:11:09 (timestamp: 1769494269)
Celkem záznamů: 12
💰 Všechny měny v období:
• IOT: 102.85926656
• BCHN: 0.03953558
• USD: 26,821.15479226
🎯 UST earnings v období:
❌ Žádné UST earnings v tomto období!
📊 Test formatEarningsSummary():
💰 102.86 IOT
💰 0.04 BCHN
💰 26,821.15 USD
🎯 Analýza známých UST earnings
Z předchozího testu víme o těchto UST earnings:
- Entry 6: Margin Funding Payment on wallet funding | Amount: 49.99413039 | Currency: UST
- Entry 10: Margin Funding Payment on wallet funding | Amount: 45.90634595 | Currency: UST
🔍 Hledání konkrétních UST záznamů:
Všechny UST earnings nalezené: