🤖 Telegram Bot - Debug Mode

Test příkazu: /status (en)

📈 <b>QUICK OVERVIEW</b> - 💰 <b>Total Assets:</b> 🕐 21:16:36 10.04.2026 • <b>USD: 20,052,833.99</b> (⚠️free: 875,895.02⚠️, ✅loans: 18,968,416.90, 📈offers: 208,522.07) • <b>BCHN: 16.60</b> (⚠️free: 16.60⚠️) • <b>IOT: 1,674,806.70</b> (⚠️free: 1,674,806.70⚠️) 💡 <i>Use /rates for detailed rates</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: Problém s timestampy v UST earnings

📊 Analýza raw dat z API

Celkem záznamů: 2

🔍 Detail každého záznamu:

Entry 1:

Raw timestamp: 10342821212 (ms)

Converted to seconds: 10342821.212

Date: 1970-04-30 17:00:21

Currency: USD

Amount: 2113.24880391

Description: Margin Funding Payment on wallet funding

Entry 2:

Raw timestamp: 10342308745 (ms)

Converted to seconds: 10342308.745

Date: 1970-04-30 16:51:48

Currency: USD

Amount: 90474.08505934

Description: Transfer of 90474.08505934 USD from wallet Exchange to Deposit on wallet funding

🕐 Kontrola současného času

Současný timestamp: 1775855796

Současné datum: 2026-04-10 21:16:36

🔍 Test konkrétních UST earnings časových razítek

📋 Hypotéza

Zdá se, že UST earnings mají špatně nastavené timestampy v Bitfinex API.

Možné příčiny: