kucoin-level3-sdk's People
Forkers
sh7ning-mirror chartaholic jaggedsoft shiehso ihihiki cryptopossum hishamudeen 1qbits-com delri0 nadasayed129 dashbaord202401kucoin-level3-sdk's Issues
关于如何正确运行这个demo
这个demo其实是用go语言做数据收集,然后通过rpc给python调用,实际使用需要go的知识,不然你无法知道python怎么调用go语言封装的函数。。。
如果仅仅是想通过纯python获取行情数据,请移步:
https://github.com/Kucoin/kucoin-python-sdk
下面说下运行条件:
- 自己安装redis数据库并使用默认配置,这是一个内存数据库,我理解go获取的行情数据都会存储里面。
- 配置好config.yaml,里面有your-rpc-token,需要你自己获取tocken,通过公共渠道获取就可以,自己去官网查看获取方法。
- 配置好翻墙网络,不然获取不到数据
- 自己编译或者下载编译好的exe包,启动go的rpc:kucoin-market-for-windows.exe start -c config.yaml
- 接下来就可以运行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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.