Coder Social home page Coder Social logo

ironmarmot / stock_wechat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from onshek/stock_wechat

0.0 1.0 0.0 10 KB

微信股价预警提示【由于微信封禁第三方 API,本项目不再维护】

Home Page: https://pypi.python.org/pypi/Stock-WeChat

License: MIT License

Python 100.00%

stock_wechat's Introduction

Stock_WeChat

微信股价预警提示.

This package supports only Python 3.x.

如果这些对你有帮助,不妨通过 微信支付宝 对我打赏.

Installation

$ pip install Stock_WeChat

Update

$ pip install -U Stock_WeChat

How to Use

登陆个人微信

>>> from Stock_WeChat import sw
>>> sw.login()
Getting uuid of QR code.
Downloading QR code.
Please scan the QR code to log in.
Please press confirm on your phone.
Login successfully as ipreacher

开启推送模式

  • 每 3 秒推送一次
  • 支持最多 30 支股票同时推送
  • 关键词:['股票代码', 最低预警价格, 最高预警价格]
>>> sw.push(['000001', 10, 11, '000002', 20, 21])
Stock_WeChat 已开始执行!
22:46:06
000001 当前价格为 9.500
低于最低预警价格
000002 当前价格为 20.720
价格正常
***** end *****

开启提醒模式

  • 每 3 秒获取一次股价
  • 如果超过预警价格则发送信息至微信
  • 支持最多 30 支股票同时推送
  • 关键词:['股票代码', 最低预警价格, 最高预警价格]
>>> sw.remind(['000001', 10, 11, '000002', 20, 21])
Stock_WeChat 已开始执行!
22:48:07
000001 当前价格为 9.500
低于最低预警价格
000002 当前价格为 20.720
价格正常
***** end *****

Comments

You can commit an Issue if you have any question or suggestion.

License

MIT

stock_wechat's People

Watchers

James Cloos 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.