Coder Social home page Coder Social logo

autotrade's Introduction

AutoTrade

C++11实现,通过不同交易所交易对的差价,进行对冲搬砖。(比特儿、火币、OK、币安)

依赖:target_link_libraries(AutoTrace cpprest ssl crypto boost_system boost_chrono boost_thread-mt)

link_directories("/usr/local/opt/openssl/lib")

include_directories("/usr/local/opt/openssl/include")

目前已经对接完gate.io。

huobi.pro开发中。

比特儿接口:

btc/usdt行情 6507.16

买入1.3btc 使用btc/usdt交易对

{"code":21,"message":"Error: you don't have enough fund","result":"false"}

买盘深度

6545 0.04

6544.44 0.01

6544.12 0.04052

6544.11 0.3

6541 0.0059

6540.6 5.9702

6538 0.29953

6537.24 1.5

6537.17 0.07167

6535.65 0.04

6532.26 0.00187155

6529.42 0.0417

6529.27 0.005

6528.27 0.00199

6526 0.4975

6525.42 0.01

6524 0.0152

6523.72 5.3609

6523.71 0.06

6521.31 0.3

6520.53 0.6

6515.93 0.2496

6515.15 1.62528

6514.7 0.1357

6509.29 0.2953

6508.22 0.10392

6508.21 0.506

6507.21 1.1276

6507.19 0.0334

6507.13 0.3

卖盘深度

6500 0.0874

6496.52 4.22945

6494.21 1.1055

6489.15 1.5

6488.9 0.0002

6488.52 0.006

6486.05 1.989

6486.04 0.0601

6486.02 6.40069

6485.88 0.1279

6485.29 0.2172

6483.96 1.5

6483.54 9.2357

6482 0.1365

6481.13 4.2997

6479.53 6.1072

6477.78 0.9

6476.1 0.5013

6474.3 3.08053

6472 0.11316

6470.36 9.4171

6469.99 6.7336

6461.74 1.54

6460 1.1234

6458.84 4.62

6454.56 27.0873

6451.12 7.5252

6448.65 0.1492

6448.52 0.0022

6444.18 15.5611

autotrade's People

Contributors

rootkitkiller avatar

Watchers

James Cloos 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.