🤖 Telegram Bot - Debug Mode

Test příkazu: /rusd (cs)

📈 <b>RATES PRO USD</b> (Bitfinex) 🕐 15:59:31 10.12.2025 💰 <b>USD</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 ze všech lending trades na Bitfinexu</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ů: 11

🔍 Detail každého záznamu:

Entry 0:

Raw timestamp: 10149004218 (ms)

Converted to seconds: 10149004.218

Date: 1970-04-28 11:10:04

Currency: USD

Amount: 6610.73654268

Description: Margin Funding Payment on wallet funding

Entry 1:

Raw timestamp: 10149003779 (ms)

Converted to seconds: 10149003.779

Date: 1970-04-28 11:10:03

Currency: BCHN

Amount: 0.01603849

Description: Margin Funding Payment on wallet funding

Entry 2:

Raw timestamp: 10147701150 (ms)

Converted to seconds: 10147701.15

Date: 1970-04-28 10:48:21

Currency: BCHN

Amount: 0.01388881

Description: Margin Funding Payment on wallet funding

Entry 3:

Raw timestamp: 10147699976 (ms)

Converted to seconds: 10147699.976

Date: 1970-04-28 10:48:19

Currency: USD

Amount: 6286.27093896

Description: Margin Funding Payment on wallet funding

Entry 4:

Raw timestamp: 10147657045 (ms)

Converted to seconds: 10147657.045

Date: 1970-04-28 10:47:37

Currency: USD

Amount: 172627.22530061

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

Entry 13:

Raw timestamp: 10146524920 (ms)

Converted to seconds: 10146524.92

Date: 1970-04-28 10:28:44

Currency: USD

Amount: 6723.09495278

Description: Margin Funding Payment on wallet funding

🕐 Kontrola současného času

Současný timestamp: 1765382371

Současné datum: 2025-12-10 15:59:31

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