Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
f0cii committed Apr 12, 2020
1 parent e370e20 commit 447961d
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 26 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
* 支持实盘

## 支持交易所
| 交易所 | 回测 | 实盘 | Broker |
| ----------------------------------------------------- |------------------ | ----------------- | ----------------- |
| [BitMEX](https://www.bitmex.com/register/o0Duru) | Yes | Yes | [Sim](https://github.com/coinrust/crex/tree/master/brokers/bitmex-sim-broker) / [Live](https://github.com/coinrust/crex/tree/master/brokers/bitmex-broker) |
| [Deribit](https://www.deribit.com/reg-7357.93) | Yes | Yes | [Sim](https://github.com/coinrust/crex/tree/master/brokers/deribit-sim-broker) / [Live](https://github.com/coinrust/crex/tree/master/brokers/deribit-broker) |
| [Bybit](https://www.bybit.com/app/register?ref=qQggy) | No | Yes | [Live](https://github.com/coinrust/crex/tree/master/brokers/bybit-broker) |
| [Huobi DM](https://www.huobi.io/zh-cn/topic/invited/?invite_code=7hzc5) | No | Yes | [Live](https://github.com/coinrust/crex/tree/master/brokers/hbdm-broker) |
| [Huobi Swap](https://www.huobi.io/zh-cn/topic/invited/?invite_code=7hzc5) | No | Yes | [Live](https://github.com/coinrust/crex/tree/master/brokers/hbdm-swap-broker) |
| [OKEX Futures](https://www.okex.com/join/1890951) | No | Yes | [Live](https://github.com/coinrust/crex/tree/master/brokers/okex-futures-broker) |
| [OKEX Swap](https://www.okex.com/join/1890951) | No | Yes | [Live](https://github.com/coinrust/crex/tree/master/brokers/okex-swap-broker) |
| name | id | ver | doc |
| ------------------------------------------------------------------------- | -------------- | --- | ----------------------------------------------------------------- |
| [BitMEX](https://www.bitmex.com/register/o0Duru) | bitmex | 1 | [API](https://www.bitmex.com/app/apiOverview) |
| [Deribit](https://www.deribit.com/reg-7357.93) | deribit | 2 | [API](https://docs.deribit.com/) |
| [Bybit](https://www.bybit.com/app/register?ref=qQggy) | bybit | 2 | [API](https://bybit-exchange.github.io/docs/inverse/) |
| [Huobi DM](https://www.huobi.io/zh-cn/topic/invited/?invite_code=7hzc5) | hbdm | 1 | [API](https://docs.huobigroup.com/docs/dm/v1/cn/) |
| [Huobi Swap](https://www.huobi.io/zh-cn/topic/invited/?invite_code=7hzc5) | hbdmswap | 1 | [API](https://docs.huobigroup.com/docs/coin_margined_swap/v1/cn/) |
| [OKEX Futures](https://www.okex.com/join/1890951) | okexfutures | 3 | [API](https://www.okex.me/docs/zh/#futures-README) |
| [OKEX Swap](https://www.okex.com/join/1890951) | okexswap | 3 | [API](https://www.okex.me/docs/zh/#swap-README) |

## 示例
```golang
Expand Down
19 changes: 9 additions & 10 deletions README_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,15 @@ See [@live trading](https://github.com/coinrust/crex/blob/master/examples/live/m
* Backtesting and live-trading functionality.

### Supported Exchanges
| Exchange Name | Backtesting | Live trading | Broker |
| ----------------------------------------------------- |------------------ | ----------------- | ----------------- |
| ----------------------------------------------------- |------------------ | ----------------- | ----------------- |
| [BitMEX](https://www.bitmex.com/register/o0Duru) | Yes | Yes | [Sim](https://github.com/coinrust/crex/tree/master/brokers/bitmex-sim-broker) / [Live](https://github.com/coinrust/crex/tree/master/brokers/bitmex-broker) |
| [Deribit](https://www.deribit.com/reg-7357.93) | Yes | Yes | [Sim](https://github.com/coinrust/crex/tree/master/brokers/deribit-sim-broker) / [Live](https://github.com/coinrust/crex/tree/master/brokers/deribit-broker) |
| [Bybit](https://www.bybit.com/app/register?ref=qQggy) | No | Yes | [Live](https://github.com/coinrust/crex/tree/master/brokers/bybit-broker) |
| [Huobi DM](https://www.huobi.io/zh-cn/topic/invited/?invite_code=7hzc5) | No | Yes | [Live](https://github.com/coinrust/crex/tree/master/brokers/hbdm-broker) |
| [Huobi Swap](https://www.huobi.io/zh-cn/topic/invited/?invite_code=7hzc5) | No | Yes | [Live](https://github.com/coinrust/crex/tree/master/brokers/hbdm-swap-broker) |
| [OKEX Futures](https://www.okex.com/join/1890951) | No | Yes | [Live](https://github.com/coinrust/crex/tree/master/brokers/okex-futures-broker) |
| [OKEX Swap](https://www.okex.com/join/1890951) | No | Yes | [Live](https://github.com/coinrust/crex/tree/master/brokers/okex-swap-broker) |
| name | id | ver | doc |
| ------------------------------------------------------------------------- | -------------- | --- | ----------------------------------------------------------------- |
| [BitMEX](https://www.bitmex.com/register/o0Duru) | bitmex | 1 | [API](https://www.bitmex.com/app/apiOverview) |
| [Deribit](https://www.deribit.com/reg-7357.93) | deribit | 2 | [API](https://docs.deribit.com/) |
| [Bybit](https://www.bybit.com/app/register?ref=qQggy) | bybit | 2 | [API](https://bybit-exchange.github.io/docs/inverse/) |
| [Huobi DM](https://www.huobi.io/zh-cn/topic/invited/?invite_code=7hzc5) | hbdm | 1 | [API](https://docs.huobigroup.com/docs/dm/v1/cn/) |
| [Huobi Swap](https://www.huobi.io/zh-cn/topic/invited/?invite_code=7hzc5) | hbdmswap | 1 | [API](https://docs.huobigroup.com/docs/coin_margined_swap/v1/cn/) |
| [OKEX Futures](https://www.okex.com/join/1890951) | okexfutures | 3 | [API](https://www.okex.me/docs/zh/#futures-README) |
| [OKEX Swap](https://www.okex.com/join/1890951) | okexswap | 3 | [API](https://www.okex.me/docs/zh/#swap-README) |

### Example
```golang
Expand Down
14 changes: 7 additions & 7 deletions brokers/consts.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package brokers

const (
BitMEX = "BitMEX"
Deribit = "Deribit"
Bybit = "Bybit"
HBDM = "HBDM"
HBDMSwap = "HBDMSwap"
OKEXFutures = "OKEXFutures"
OKEXSwap = "OKEXSwap"
BitMEX = "bitmex"
Deribit = "deribit"
Bybit = "bybit"
HBDM = "hbdm"
HBDMSwap = "hbdmswap"
OKEXFutures = "okexfutures"
OKEXSwap = "okexswap"
)

0 comments on commit 447961d

Please sign in to comment.