Puedes configuraciones a través de Telegram, Pushover o del sistema:
Activar notificaciones vía Telegram
Para un usuario:
- Configuración en Telegram:
- Busca en Telegram el usuario @botfather
- Presiona el botón INICIAR o START
- Crea un nuevo Bot tipeando y enviando el comando /newbot
- A continuación Telegram pedirá el nombre. Tipealo y envialo. Ej: AstreoBot
- Luego pedirá el usuario para tu bot. Tiene que finalizar en «bot», por ejemplo astreonoti_bot.
- Telegram brindará el Token que deberás guardar y que tiene un formato similar a: 787916080:AHzxdj23CnMuYasdfSsVtueFg5PYtPG9UyA
- Busca en Telegram el usuario @myidbot
- Presiona el botón INICIAR o START
- Escribe /getid para obtener el Chat ID
- Telegram brindará el Chat ID que luego necesitarás. Por ejemplo: 622058715
- Entra en tu bot, por ejemplo @astreonoti_bot y tipea /start
- Busca en Telegram el usuario @botfather
- Configuración en el panel de control de AstreoBot:
- Ingresa en Settings > Notifications.
- Haz click en el botón Edit en Telegram y configura los siguientes parámetros:
- Token: el Token brindado por Telegram
- Chat ID: el Chat ID brindado por Telegram
- Habilita las opciones según necesites:
- Notify when creating Buy Order
- Notify when buy order is filled
- Notify when creating Sell Order
- Notify when sell order is filled
- Notify when creating average order
- Notify when canceling order
- Notify when applying StopLoss
- Notify when applying Panic Sell
- Notify when transaction is closed
- Notify about versions changes
- Enabled
- Notify when creating Buy Order
- Haz click en el botón Edit.
Para un grupo:
- Configuración en Telegram:
- Busca en Telegram el usuario @botfather
- Presiona el botón INICIAR o START
- Crea un nuevo Bot tipeando y enviando el comando /newbot
- A continuación Telegram pedirá el nombre. Tipealo y envialo. Ej: AstreoBot
- Luego pedirá el usuario para tu bot. Tiene que finalizar en «bot», por ejemplo «astreonoti_bot».
- Telegram brindará el Token que deberás guardar y que tiene un formato similar a: 787916080:AHzxdj23CnMuYasdfSsVtueFg5PYtPG9UyA
- Entra en tu bot, por ejemplo @astreonoti_bot y tipea /start
- Crea un grupo en Telegram
- Haz click en el menú lateral
- Presiona Nuevo Grupo
- Da un nombre al grupo, por ejemplo «Notificaciones AstreoBot»
- Añade:
- los miembros que deseas que vean las notifiaciones.
- el bot creado anteriormente con @botfather, por ejemplo «@astreonoti_bot».
- el bot @myidbot
- Acepta.
- Ingresa a editar el grupo, haz click derecho sobre el bot de notificaciones y elige la opción «Promover a administrador«
- Escribe en el grupo /getgroupid para obtener el Chat ID que luego necesitarás. Por ejemplo: 622058715
- Busca en Telegram el usuario @botfather
- Configuración en el panel de control de AstreoBot:
- Ingresa en Settings >Notifications.
- Haz click en el botón Edit en Telegram y configura los siguientes parámetros:
- Token: el Token brindado por Telegram (obtenido en paso 1.1.5)
- Chat ID: el Chat ID brindado por Telegram (obtenido en paso 1.3.6)
- Habilita las opciones según necesites:
- Notify when creating Buy Order
- Notify when buy order is filled
- Notify when creating Sell Order
- Notify when sell order is filled
- Notify when creating average order
- Notify when canceling order
- Notify when applying StopLoss
- Notify when applying Panic Sell
- Notify when transaction is closed
- Notify about versions changes
- Enabled
- Notify when creating Buy Order
- Haz click en el botón Edit.
Activar notificaciones vía Pushover
Para configurar notificaciones a través de Pushover:
- Configuración en pushover.net :
- Ingresa en https://pushover.net/ y logueate con tu usuario y clave.
- Bajo el título Your User Key estará tu User, por ejemplo uS29n2Xep8mhyREinayAH7HNZ4aPMf
- Bajo el título Your Devices revisa cuál es el Name del dispositivo que ya tienes creado.
- Ingresa en Create an Application/API Token y completa los siguientes campos:
- Name debe ser algo corto y descriptivo, por ejemplo AstreoBot.
- Description, es opcional, para describir la la aplicación.
- URL, puede estar vacío.
- Icon, puedes subir una imagen que relaciones con AstreoBot.
- Acepta los términos y condiciones.
- Haz click en el botón Create application.
- Pushover te dará tu Token, por ejemplo as47xk4fasdh9g22r1wd9dds5878retk
- Configuración en panel de control de AstreoBot:
- Ingresa en Settings > Notifications.
- Haz click en el botón Edit en Pushover y completa los siguientes campos:
- User: Usuario provisto por la cuenta Pushover bajo el título Your User Key.
- Token: Token provisto por la cuenta Pushover al crear la aplicación.
- Device: Nombre del dispositivo que recibirá las notificaciones, provisto por Pushover bajo el título Your Devices.
- Sound: Sonido que hará el dispositivo.
- Habilita las opciones según necesites:
- Notify when creating Buy Order
- Notify when buy order is filled
- Notify when creating Sell Order
- Notify when sell order is filled
- Notify when creating average order
- Notify when canceling order
- Notify when applying StopLoss
- Notify when applying Panic Sell
- Notify when transaction is closed
- Notify about versions changes
- Enabled
- Notify when creating Buy Order
- Haz click en el botón Edit.
Activar notificaciones del sistema
Para configurar notificaciones en el sistema:
- Ingresa en Settings > Notifications.
- Haz click en el botón Edit para System y habilita las opciones según necesites:
- Notify when creating Buy Order
- Notify when buy order is filled
- Notify when creating Sell Order
- Notify when sell order is filled
- Notify when creating average order
- Notify when canceling order
- Notify when applying StopLoss
- Notify when applying Panic Sell
- Notify when transaction is closed
- Notify about versions changes
- Enabled
- Notify when creating Buy Order
- Haz click en el botón Edit.