tinkl

【BTC微信脚本提醒】TV+微信实时提醒实现

Education
BINANCE:BTCUSDT   Bitcoin / TetherUS
主题:实现tradingview指标或穿越 + 微信实时提醒的实现原理

1. 需要准备的东西
1) centos服务器,版本最好7.0以上
2)注册企业微信:地址https://work.weixin.qq.com/ 在 应用管理-自建-创建应用
然后设置可见范围为自己和组员
那到AgentId Secret 通过api发送消息:https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=xxxx。通过看文档调用发消息
3)服务器部署用宝塔(https://www.bt.cn/bbs/thread-19376-1-1.html),直接输入命令安装即可:yum install -y wget && wget -O install.sh download.bt.cn/install/install_6.0.sh && sh install.sh
4) 前提是需要开通tradingview的pro或者更高级会员才能设置webhook提醒
5)php实现代码地址:http://simp.ly/publish/5nKwtx
6) 设置tv提醒界面: attachments.tow...354a7fc077085d3?version=au...
7) 微信提醒效果:https://attachments.tower.im/tower/8f360a8fe24948ac03cdcb25d83bc114?version=auto

=========================================================================================================

以上就是实现所有过程,希望可以帮到需要的人。
如果有疑问可以底下评论
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.