Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/philsong/bitcoin-broker
BTC trading market broker, smart route the orders to multiple exchange.
https://github.com/philsong/bitcoin-broker
autotrader bitcoin bixin broker btc chbtc huobi okcoin
Last synced: 3 months ago
JSON representation
BTC trading market broker, smart route the orders to multiple exchange.
- Host: GitHub
- URL: https://github.com/philsong/bitcoin-broker
- Owner: philsong
- Created: 2016-07-13T02:48:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-17T06:23:56.000Z (about 7 years ago)
- Last Synced: 2024-06-20T08:06:30.883Z (5 months ago)
- Topics: autotrader, bitcoin, bixin, broker, btc, chbtc, huobi, okcoin
- Language: Go
- Homepage: http://www.jianshu.com/p/fd278144be1d
- Size: 89.8 KB
- Stars: 252
- Watchers: 22
- Forks: 99
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - bitcoin-broker
README
## BTC trading market broker
作为经纪商角色,提供thrift标准服务接口。
提供合并交易所深度的标准价格模型,
大并发订单内部自动撮合冲销,
智能自动路由订单并拆大单为小单到不同交易所,
失败订单自动重试处理。支持haobtc,okcoin,huobi,chbtc等交易所。
# 本地搭建 #
1、安装golang开发运行环境
http://golang.org/doc/install2、下载安装依赖库并编译 broker
./install
3、导入数据库表结构导入etc目录下的*.sql文件到PostgresDB
4、修改配置
修改conf/config_sample.json 为 conf/config.json
5、运行 broker
./bin/broker
一切顺利的话,broker应该就启动了。