Git Product home page Git Product logo

btcautotrade's Introduction

BTC AUTOTRADE

起因

这是和@rabbit52 12年末的一个idea,当然现在程序已经没有了价值。当时火币网、OKCOIN、BTCCHINA可是有200+的差价,最初都没有开放接口,需要模拟登陆。随着自动化交易加入的人越来越多差价也越来越小,几个月后我们弃坑了。现在现货市场的差价也最多在一两块,收益率也只能是当时的几十分之一了。

现在想想当时几天之内写出这个程序也是蛮拼的,白天工作晚上有时候再能干到两点,发到github上也是一个纪念。

原理

A、B、C市场间都在卖比特币,他们本质上是一样的东西。出现异常的差价之时。你只需要买入低估的同时卖出高估的,瞬间就能套利。然后等待差价平复再反向操作等待下次机会。

如果你想运行起来

  • 需要安装最好的语言php
  • 需要安装yaf
  • 需要安装pthread多线程下单
  • 依赖mysql、redis存储缓存

现在

正在用golang写一个自动化交易分级基金的程序有兴趣的朋友可以与我交流。

btcautotrade's People

Contributors

aimsam 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.