Comments (6)
from huobi_java.
您好,通过WebSocket方式订阅K线,不支持from, to参数,有效参数只有symbol和interval
from huobi_java.
你好,我想获取历史K线数据,这个订阅是最新实时的K线不是我想要的。
from huobi_java.
不好意思,刚才看了下,新的文档里已经写了订阅方式支持历史数据,请参考https://huobiapi.github.io/docs/spot/v1/cn/#k-2
获得历史数据只能通过WebSocket的请求方式,如下
{
"req": "market.$symbol.kline.$period",
"id": "id generated by client",
"from": "from time in epoch seconds",
"to": "to time in epoch seconds"
}
现在SDK暂时不支持这种方式
from huobi_java.
您好,使用请求方式获取历史数据不支持自定义时间段吗,怎么传参都是不合法的。
from huobi_java.
@DanRui K线返回数据最多支持300条,您的时间段可能过大,需要调整一下时间段。
from huobi_java.
Related Issues (20)
- huo bi SDK connect timed out HOT 1
- 内存泄露
- 连不上啊 HOT 7
- The project without notes isn't use at all for other developer.
- AccountClientExample 为啥显示的错误信息,user id 少一位
- 使用idea打开,报错,无法调试。REBUILD没用 HOT 1
- 试了几十个vpn,tmd时好时坏,rubbish,爷青结 HOT 2
- 这个JAVA版本的,不兼容最新的Android Studio,因为现在的AS不支持lombok啦, HOT 3
- com.huobi.exception.SDKException: [Executing] api-signature-not-valid: Signature not valid: Verification failure [校验失败]
- 不能返回正确的结果 HOT 1
- Verification failure [校验失败] HOT 1
- Incorrect Access key HOT 2
- 获取账户资产估值—JSON返回解析有问题 HOT 1
- 如何取消订阅 HOT 1
- 有没有一个开发者沟通的群,可以讨论一波 HOT 1
- websocket异常
- Android咋集成啊,各种依赖报错
- cannot resolve method builder()
- 建了个QQ群607379246,欢迎加入交流 HOT 3
- Websocket market depth vz market by price (refresh update)
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.
from huobi_java.