Coder Social home page Coder Social logo

binance-savings-deals-alert's Introduction

Telegram bot that alerts new Savings deals on Binance

Binance has some short term saving plans that pay attractive interest rates. Especially in the savings categorized as "activities". However, they are offered in very limited quantties.

This script sends you alert messages via Telegram when new "Activities" become available.

Existing saving plans are stored locally in history_activity.json.

Example telegram bot message:

New items detected:
PIVX | projectId: HPIVX14DAYSS002K
FRONT | projectId: HFRONT30DAYSS002K
VITE | projectId: HVITE30DAYSS007K

All active activities:
PIVX | duration: 14 | APY: 0.3 | lotSize: 100 | projectId: HPIVX14DAYSS002K
FRONT | duration: 30 | APY: 1.825 | lotSize: 10 | projectId: HFRONT30DAYSS002K
VITE | duration: 30 | APY: 0.16 | lotSize: 100 | projectId: HVITE30DAYSS007K\

Setup

You just need to set up 2 things:

Keys

Fill in your keys in config.py.

From Binance, you need to fetch your API keys. From Telegram, you need to create a bot and fetch corresponding token IDs and chatIDs. Read this for more details on that: https://medium.com/@ManHay_Hong/how-to-create-a-telegram-bot-and-send-messages-with-python-4cf314d9fa3e

Cron

You need to schedule your script to run every few minutes.

If you're unsure how this works, google "how to set up cron job."

Ideas for improvement

  • Track other savings deals like short term fixed savings, variable rate savings etc.
  • Option to execute trade from Telegram bot (or just execute immediately upon detection)

binance-savings-deals-alert's People

Contributors

alinobrasil avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.