Coder Social home page Coder Social logo

kucoin-level3-sdk's People

Contributors

1bazinga25 avatar ive20 avatar sh7ning avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

kucoin-level3-sdk's Issues

关于如何正确运行这个demo

这个demo其实是用go语言做数据收集,然后通过rpc给python调用,实际使用需要go的知识,不然你无法知道python怎么调用go语言封装的函数。。。
如果仅仅是想通过纯python获取行情数据,请移步:
https://github.com/Kucoin/kucoin-python-sdk

下面说下运行条件:

  1. 自己安装redis数据库并使用默认配置,这是一个内存数据库,我理解go获取的行情数据都会存储里面。
  2. 配置好config.yaml,里面有your-rpc-token,需要你自己获取tocken,通过公共渠道获取就可以,自己去官网查看获取方法。
  3. 配置好翻墙网络,不然获取不到数据
  4. 自己编译或者下载编译好的exe包,启动go的rpc:kucoin-market-for-windows.exe start -c config.yaml
  5. 接下来就可以运行order_book_demo.py了。

这个demo只给出了调用go语言的两个函数方法:"Server.GetOrderBook"和"Server.AddEventClientOidsToChannels",其他函数需要自己根据对go的理解去写,没有帮助文档。
他的适用场景可能是想通过go的性能获取与存储数据,然后让python等其他语言通过rpc调用。
所以如果仅仅是想通过纯python获取行情数据,请移步:
https://github.com/Kucoin/kucoin-python-sdk

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.