🤖 Telegram Bot - Debug Mode

Test příkazu: /r (en)

📈 <b>GLOBAL MARKET RATES</b> (Bitfinex) 🕐 20:42:16 07.08.2026 💰 <b>IOT</b> ≤2d: 1h:n/a | 24h:n/a | 72h:n/a | 168h:n/a ≤10d: 1h:n/a | 24h:n/a | 72h:n/a | 168h:n/a ≤30d: 1h:n/a | 24h:n/a | 72h:n/a | 168h:n/a ≤60d: 1h:n/a | 24h:n/a | 72h:n/a | 168h:n/a ≤120d: 1h:n/a | 24h:n/a | 72h:n/a | 168h:n/a 💡 <i>Max rates from all lending trades on Bitfinex</i>

🔗 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:

🔍 Debug: Proč chybí UST v kratších obdobích?

⏰ Posledních 24 hodin (24h)

Start time: 2026-08-06 20:42:16 (timestamp: 1786048936)

End time: 2026-08-07 20:42:16 (timestamp: 1786135336)

Celkem záznamů: 1

💰 Všechny měny v období:

• IOT: 918.33836105

🎯 UST earnings v období:

Žádné UST earnings v tomto období!

📊 Test formatEarningsSummary():

💰 918.34 IOT

⏰ Poslední týden (1w)

Start time: 2026-07-31 20:42:16 (timestamp: 1785530536)

End time: 2026-08-07 20:42:16 (timestamp: 1786135336)

Celkem záznamů: 7

💰 Všechny měny v období:

• IOT: 5,781.23851390

🎯 UST earnings v období:

Žádné UST earnings v tomto období!

📊 Test formatEarningsSummary():

💰 5,781.24 IOT

⏰ Poslední měsíc (1m)

Start time: 2026-07-08 20:42:16 (timestamp: 1783543336)

End time: 2026-08-07 20:42:16 (timestamp: 1786135336)

Celkem záznamů: 21

💰 Všechny měny v období:

• IOT: 20,781.14011380

🎯 UST earnings v období:

Žádné UST earnings v tomto období!

📊 Test formatEarningsSummary():

💰 20,781.14 IOT

⏰ Poslední 3 měsíce (3m)

Start time: 2026-05-09 20:42:16 (timestamp: 1778359336)

End time: 2026-08-07 20:42:16 (timestamp: 1786135336)

Celkem záznamů: 55

💰 Všechny měny v období:

• IOT: 50,545.55056570

• UST: 154,496.44598300

🎯 UST earnings v období:

✅ Nalezeno 1 UST earnings:

• 1970-05-01 19:32:58: 154496.445983 UST

📊 Test formatEarningsSummary():

💰 50,545.55 IOT
💰 154,496.45 UST

🎯 Analýza známých UST earnings

Z předchozího testu víme o těchto UST earnings:

🔍 Hledání konkrétních UST záznamů:

Všechny UST earnings nalezené:

• Index 252: 1970-05-01 19:32:58 (20552 dnů zpět) - 154496.445983 UST

→ Mělo by být v obdobích: