V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
fendouai_com
V2EX  ›  Python

TensorFlow-Bitcoin-Robot:Tensorflow 比特币交易机器人

  •  
  •   fendouai_com · 2017-08-17 11:32:05 +08:00 · 3249 次点击
    这是一个创建于 2415 天前的主题,其中的信息可能已经有所发展或是发生改变。

    简介

    一个比特币交易机器人基于 Tensorflow LSTM 模型,仅供娱乐。 A Bitcoin trade robot based on Tensorflow LSTM model.Just for fun.

    数据集

    数据来自 btctrade,用 requests 爬取,它包含比特币的 50 个交易记录。 get_trades.py 会获取这些交易记录并且用图片的方式展示出来。

    模型

    rnn_predicter.py 使用 LSMT 模型。截取 10 个交易记录作为输入,如果 第 11 个加个比第 10 个高,就把输出设置为 [1,0,0],如果低就设置为 [0,0,1] ,如果相同 [0,1,0]。

    训练结果

    https://github.com/TensorFlowNews/TensorFlow-Bitcoin-Robot/blob/master/training_result.md

    之前的项目推荐

    FaceRank - Rank Face by CNN Model based on TensorFlow (add keras version). https://github.com/fendouai/FaceRank

    后续更新发布

    http://www.tensorflownews.com/

    更新计划

    模型持久化,训练数据集持久化。

    Github(微信群)

    https://github.com/TensorFlowNews/TensorFlow-Bitcoin-Robot

    QQ 群:

    522785813

    4 条回复    2017-08-18 19:33:52 +08:00
    Enachan
        1
    Enachan  
       2017-08-17 15:01:54 +08:00
    感谢分享, 这个机器人准确率怎么样?
    fendouai_com
        2
    fendouai_com  
    OP
       2017-08-17 15:34:46 +08:00
    @Enachan 还没做测试集和持久化。
    plantparknet
        3
    plantparknet  
       2017-08-18 12:39:16 +08:00
    回测效果如何
    yangyaofei
        4
    yangyaofei  
       2017-08-18 19:33:52 +08:00 via Android
    不知道效果如何…
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3171 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 12:28 · PVG 20:28 · LAX 05:28 · JFK 08:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.