Giter Site home page Giter Site logo

lof's Introduction

LOF

LOF

LOF每日溢价监控助手,用于每日定时检查LOF溢价情况,并自动将数据推送到微信。

所有数据均爬取自集思录

LOF

使用 GitHub Actions

推荐使用GitHub Actions的方式运行此程序GitHub Actions可以免费使用,不需要使用自己服务器。

注意:不要直接在代码中修改ServerChanKey等敏感信息,公开仓库中的内容是任何人都可以查看的。请使用secret功能储存敏感信息

配置步骤:

  • 点击右上角的Star
  • 点击右上角的Fork克隆这个仓库
  • Fork的仓库默认禁用了workflows功能,需要手动打开:
    • 点击上方的Actions选项卡
    • 点击I understand my workflows, go ahead and run them
  • 在仓库的Settings中设置Server酱的秘钥:
    • 进入Server酱网站,使用GitHub登入,并绑定微信。
    • 获得秘钥SCKEY
    • 将秘钥以ServerChanKey: SCKEY的格式存入【Settings】->【Secrets】

Settings

  • 任意修改README.md中的内容或修改配置文件config.cfg触发Actions,检查程序是否能正常运行

自定义修改

可在config.cfglof.yml中修改配置内容:

  • 监控LOF列表:修改config.cfg中的LOFList

  • 推送时间:修改lof.yml中的schedule

  • 仅周内推送:修改lof.yml中的schedule

  • 设置溢价/折价推送阈值:修改config.cfg中的溢价阈值disLimit和折价阈值preLimit,单位为%

Changelog

  • 2020-07-08,添加配置文件
  • 2020-07-06,添加溢价折价推送阈值
  • 2020-07-06,添加仅周内运行选项

都看到这了,点个Star呗!

lof's People

Contributors

hanuxxx avatar hlnn avatar levin000 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.