Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geemo/huobi-robot
火币合约自动交易机器人
https://github.com/geemo/huobi-robot
hbdm
Last synced: 21 days ago
JSON representation
火币合约自动交易机器人
- Host: GitHub
- URL: https://github.com/geemo/huobi-robot
- Owner: geemo
- Created: 2019-04-05T17:58:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-07T12:26:15.000Z (over 5 years ago)
- Last Synced: 2024-08-05T17:28:41.967Z (4 months ago)
- Topics: hbdm
- Language: JavaScript
- Homepage:
- Size: 14.6 KB
- Stars: 20
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - geemo/huobi-robot - 火币合约自动交易机器人 (JavaScript)
README
# huobi-robot
火币自动交易机器人
**配置**
配置请修改 config 目录下的 json 文件
```js
{
// 行情请求指令, 如请求 2019-01-14 12:00:00 到 2019-01-14 23:00:00 时间段以小时为粒度的 btc 季度合约的 k 线
"marketReqDirects": ["kline|BTC_CQ.60min.1547438400.1547478000"],// 行情订阅指令, 如订阅 btc 季度合约以月为粒度的 k 线走势
"marketSubDirects": ["kline|BTC_CQ.1mon"]
}
```**测试**
```sh
npm run default
```