🤖 Telegram Bot - Debug Mode

Test příkazu: /yieldall (en)

❌ You do not have admin permission

🔗 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: 10662948626 (ms)

Converted to seconds: 10662948.626

Date: 1970-05-04 09:55:48

Currency: IOT

Amount: 433.90483453

Description: Margin Funding Payment on wallet funding

Entry 1:

Raw timestamp: 10661348550 (ms)

Converted to seconds: 10661348.55

Date: 1970-05-04 09:29:08

Currency: IOT

Amount: 70.17733334

Description: Margin Funding Payment on wallet funding

Entry 2:

Raw timestamp: 10659863151 (ms)

Converted to seconds: 10659863.151

Date: 1970-05-04 09:04:23

Currency: IOT

Amount: 73.52934469

Description: Margin Funding Payment on wallet funding

Entry 3:

Raw timestamp: 10657890859 (ms)

Converted to seconds: 10657890.859

Date: 1970-05-04 08:31:30

Currency: IOT

Amount: 50.66628709

Description: Margin Funding Payment on wallet funding

Entry 4:

Raw timestamp: 10655893464 (ms)

Converted to seconds: 10655893.464

Date: 1970-05-04 07:58:13

Currency: IOT

Amount: 74.65173044

Description: Margin Funding Payment on wallet funding

Entry 5:

Raw timestamp: 10654139981 (ms)

Converted to seconds: 10654139.981

Date: 1970-05-04 07:28:59

Currency: IOT

Amount: 68.51647567

Description: Margin Funding Payment on wallet funding

Entry 6:

Raw timestamp: 10652698437 (ms)

Converted to seconds: 10652698.437

Date: 1970-05-04 07:04:58

Currency: IOT

Amount: 70.19642265

Description: Margin Funding Payment on wallet funding

Entry 8:

Raw timestamp: 10651735589 (ms)

Converted to seconds: 10651735.589

Date: 1970-05-04 06:48:55

Currency: BTC

Amount: 0.00012579

Description: Transfer of 0.00012579 BTC from wallet Exchange to Deposit on wallet funding

Entry 13:

Raw timestamp: 10651734983 (ms)

Converted to seconds: 10651734.983

Date: 1970-05-04 06:48:54

Currency: BTC

Amount: 0.00059299

Description: Transfer of 0.00059299 BTC from wallet Exchange to Deposit on wallet funding

🕐 Kontrola současného času

Současný timestamp: 1794898279

Současné datum: 2026-11-17 06:51:19

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