Skip to content

orangegrin/tao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tao

API 请求地址 :

http://150.109.52.225:3003/stats?key=bitmex:BTC/USD

支持的keys :

  • bitmex:BTC/USD
  • bitmex:ETH/USD
  • bitmex:LTCM19
  • bitmex:EOSM19
  • bitmex:XRPM19
  • bitmex:BCHM19

API返回结果

{
    "status": 1, #状态为1表示请求成功
    "cur": { #当前捕获的数据
        "macd_4h": "up",
        "symbol": "BTC/USD",
        "macd_30m": "down",
        "macd_1h": "down",
        "30m": "mix",
        "4h": "mix",
        "1h": "down",
        "macd_1d": "down",
        "1d": "down"
    },
    "pre": { # 上一次捕获的数据
        "macd_4h": "up",
        "symbol": "BTC/USD",
        "macd_30m": "down",
        "macd_1h": "down",
        "30m": "mix",
        "4h": "mix",
        "1h": "down",
        "macd_1d": "down",
        "1d": "down"
    },
    "err":"" #当状态非1时则返回错误消息
}

更多信息

  • 此提醒适合右侧交易法则。
  • 对比当前与上一次捕获的数据即可判断行情是否发生改变
  • 当MA出现四个up或者四个down 有较大概率为重要信号,应当立刻关注实时行情加以分析判断。
  • MACD 的交叉在不背离的情况下通常表示行情的开始与结束。
  • 在不肯定以及没有数据支撑的情况下,不要进行左侧交易操作。

运行说明

  • npm start bin/www
  • python3 py/monitor.py

首次安装

  • nodejs & npm

  • python3 pipenv & ta-lib

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •