🤖 xbot-twitter (bot @DataBlueAR)
Versión v1.0.0
· Generado: 2026-07-12 08:02:53 · https://x.com/DataBlueAR
Bot Python @DataBlueAR que postea en X/Twitter datos económicos argentinos: dólar blue, BCRA, IPC INDEC, BTC. Corre por cron (no servicio web).
📝 Cambios de esta versión:
Manual
🔐 CONFIDENCIAL. Este documento contiene credenciales. NO compartir. Si tu Gmail se compromete, rotar todas las claves listadas.
📅 Crontab de ubuntu (jobs programados)
# ===== Crons del bot @DataBlueAR =====
# Horario del server en UTC. Córdoba = UTC-3.
# Para instalar: crontab -e y pegar estas líneas
# (o: crontab /home/ubuntu/xbot_economia/crontab.txt para reemplazar todo el crontab)
# --- Variables ---
BOT=/home/ubuntu/xbot_economia
PY=/usr/bin/python3
# 09:00 CBA (12:00 UTC) L-V -> APERTURA (fija histórico del día)
0 12 * * 1-5 cd $BOT && $PY bot.py apertura >> $BOT/logs/cron.log 2>&1
# 13:00 CBA (16:00 UTC) L-V -> MACRO (dato rotativo)
0 16 * * 1-5 cd $BOT && $PY bot.py macro >> $BOT/logs/cron.log 2>&1
# 18:00 CBA (21:00 UTC) todos -> CIERRE (el estrella)
0 21 * * * cd $BOT && $PY bot.py cierre >> $BOT/logs/cron.log 2>&1
# 21:00 CBA (00:00 UTC) todos -> SUELDO en dólares
0 0 * * 5 cd $BOT && $PY bot.py sueldo >> $BOT/logs/cron.log 2>&1
# Cada 20 min, 12:00-22:00 CBA (15:00-01:00 UTC) -> ALERTA (postea solo si salta >2%)
*/20 15-23,0,1 * * * cd $BOT && $PY bot.py alerta >> $BOT/logs/cron.log 2>&1
# 16:30 CBA (19:30 UTC) todos -> IPC (postea solo si el INDEC publicó un mes nuevo)
30 19 * * * cd $BOT && $PY bot.py ipc >> $BOT/logs/cron.log 2>&1
# 16:00 CBA (19:00 UTC) todos -> CRIPTO (BTC global + USDT/ARS)
0 19 * * * cd $BOT && $PY bot.py cripto >> $BOT/logs/cron.log 2>&1
# 11:00 CBA (14:00 UTC) sábados -> EFEMÉRIDE (blue hace 1 año vs hoy)
0 14 * * 6 cd $BOT && $PY bot.py efemeride >> $BOT/logs/cron.log 2>&1
# 10:00 CBA (13:00 UTC) L-V -> DATO BCRA (rota: reservas/tasa/base monetaria)
0 13 * * 1-5 cd $BOT && $PY bot.py bcra >> $BOT/logs/cron.log 2>&1
# 11:00 CBA (14:00 UTC) L-V -> BANDA (posición del oficial respecto al techo)
0 14 * * 1-5 cd $BOT && $PY bot.py bandapost >> $BOT/logs/cron.log 2>&1
# 12:00 y 17:00 CBA (15:00 y 20:00 UTC) -> TENDENCIA (postea solo si hay economica neutra)
0 15 * * * cd $BOT && $PY bot.py trend >> $BOT/logs/cron.log 2>&1
0 20 * * * cd $BOT && $PY bot.py trend >> $BOT/logs/cron.log 2>&1
# ===== Crons guiadeia.ar v4.2 (8/12:30/19 CBA) - RECUPERACION batch 2 hasta 02/07 =====
0 11 * * * cd /home/ubuntu/guiadeia && /usr/bin/python3 generar_v4.py --batch 2 >> /home/ubuntu/guiadeia/cron.log 2>&1
30 15 * * * cd /home/ubuntu/guiadeia && /usr/bin/python3 generar_v4.py --batch 2 >> /home/ubuntu/guiadeia/cron.log 2>&1
0 22 * * * cd /home/ubuntu/guiadeia && /usr/bin/python3 generar_v4.py --batch 2 >> /home/ubuntu/guiadeia/cron.log 2>&1
# Frutos Morados - respuestas reseñas Google
0 */4 * * * cd /home/ubuntu/gmb && /usr/bin/python3 fm_reviews.py >> /home/ubuntu/gmb/fm_cron.log 2>&1
0 12 * * * cd /opt/dmarc-monitor && /usr/bin/python3 dmarc_monitor.py >> /opt/dmarc-monitor/run.log 2>&1
35 5 * * * cd /opt/tira && /opt/tira/venv/bin/python3 /opt/tira/localizar_assets.py --limite 500 >> /home/ubuntu/localizar.log 2>&1
40 8 * * * cd /opt/doko && . ./.env && export ANTHROPIC_API_KEY && /opt/doko/venv/bin/python -u precache.py >> /home/ubuntu/doko_precache.log 2>&1