1 Star 1 Fork 5

luguanhuikivi / huobi-autotrading

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

火币网自动化交易工具

目录

  • 目前实现的功能
  • 即将实现的功能
  • 使用方法

目前实现的功能

  1. 通过websocket获取K线图消息
  2. 支持将K线图信息保存到MongoDB数据库
  3. 通过计算N分钟内M的货币的平均变化趋势,判断火币网大盘的涨跌
  4. 支持涨跌幅度超过限度时邮件通知
  5. 通过读取数据库重现一段时间的交易,便于快速验证
  6. 添加测试脚本模拟买入/卖出,便于根据结果修改参数

即将实现的功能

  1. 根据需要添加更多的数据到数据库中
  2. 编写价格预测算法
  3. 添加WSGI服务器,实现通过REST API查询当前模拟价格
  4. 添加交易功能,实现自动化交易

使用方法

Linux系统

进入huobi-autotrading目录

pip install -r requirements.txt

阅读并根据app/settings.py中的提示进行配置

运行程序

python3 -m app.run
MIT License Copyright (c) 2017 Bing Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

火币网自动化交易工具 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/luguanhuikivi/huobi-autotrading.git
git@gitee.com:luguanhuikivi/huobi-autotrading.git
luguanhuikivi
huobi-autotrading
huobi-autotrading
master

搜索帮助