Code Monkey home page Code Monkey logo

tg_listener's Introduction

币安链代币价格监控 & Telegram 代币宣传监控统计工具

功能1:监控TG群组中的代币推荐

scripts/mon_tg.py

作用:将群组中所有出现的代币都监控并记录,整理成一个排行榜,就可以知道哪些币正在宣传,以及哪些币正在变得热门

特性:

  • 实时监控文件夹中所有群组
  • 能识别出完整代币如 0x…… 或者不完整代币,如 x…… (故意去掉了0)
  • 过滤反复刷屏行为
  • 用 Golang 实时抓取代币价格、池子大小、代币名称等,辅助判断
  • 将统计结果定时上传到 airtable 方便查看

功能2:监控币安链所有代币价格,并生成排行榜

scripts/listen_chain.py

作用:不断请求节点,拿最新的区块信息,把买入/卖出的操作及对应价格变化记录下来 最后根据币价变化,统计成15分钟榜、小时榜、日榜、小时连涨榜、日连涨榜

特性:

  • 能准确获取每次 swap 的价格、池子变化
  • 把以 BNB、ETH、BUSD 等计价统一转换成 USDT
  • 自动过滤异常交易
  • 异步并发请求接口,避免被节点屏蔽
  • 丰富的前端界面,一键跳转到K线和合约检查

缺点:

  • 不是每笔交易都能捕捉到,主要是因为节点和网络原因

一些小问题

Push to multiple remote

https://gist.github.com/rvl/c3f156e117e22a25f242

E11000 duplicate key error collection

lib 的引擎错了,lib 删掉重新初始化

交个朋友

tg_listener's People

Contributors

panyanyany avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.