Skip to content

Commit

Permalink
add coin to coin trade pair
Browse files Browse the repository at this point in the history
  • Loading branch information
haipome committed Sep 12, 2017
1 parent d745fc3 commit 751f9a4
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 15 deletions.
21 changes: 14 additions & 7 deletions accessws/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,20 @@
"cache_timeout": 10.0,
"auth_url": "http://192.168.1.6:8000/internal/exchange/user/auth",
"depth_merge": {
"BTCCNY": ["0", "1", "5", "10"],
"ETHCNY": ["0", "0.1", "1", "5"],
"ZECCNY": ["0", "0.1", "1", "5"],
"LTCCNY": ["0", "0.1", "0.5", "1"],
"BCCCNY": ["0", "1", "5", "10"],
"BCCBTC": ["0", "0.0001", "0.001", "0.005"],
"148ETH": ["0", "0.0001", "0.001", "0.005"]
"BTCCNY": ["0", "1", "5", "10"],
"BCCCNY": ["0", "1", "5", "10"],
"LTCCNY": ["0", "0.1", "0.5", "1"],
"ETHCNY": ["0", "0.1", "1", "5"],
"ZECCNY": ["0", "0.1", "1", "5"],
"DASHCNY": ["0", "0.1", "1", "5"],
"BCCBTC": ["0", "0.0001", "0.001", "0.005"],
"LTCBTC": ["0", "0.0001", "0.0005", "0.001"],
"ETHBTC": ["0", "0.0001", "0.001", "0.005"],
"ZECBTC": ["0", "0.0001", "0.001", "0.005"],
"BTCBCC": ["0", "0.001", "0.005", "0.01"],
"LTCBCC": ["0", "0.0001", "0.0005", "0.001"],
"ETHBCC": ["0", "0.0001", "0.001", "0.005"],
"ZECBCC": ["0", "0.0001", "0.001", "0.005"]
},
"depth_limit": [1, 5, 10, 20, 30, 50, 100]
}
86 changes: 78 additions & 8 deletions matchengine/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@
"prec_save": 16,
"prec_show": 8
}, {
"name": "ETH",
"name": "BCC",
"prec_save": 16,
"prec_show": 8
}, {
"name": "ZEC",
"name": "LTC",
"prec_save": 8,
"prec_show": 8
}, {
"name": "LTC",
"name": "ETH",
"prec_save": 8,
"prec_show": 8
}, {
"name": "BCC",
"name": "ZEC",
"prec_save": 8,
"prec_show": 8
}, {
Expand Down Expand Up @@ -117,6 +117,16 @@
"name": "CNY",
"prec": 2
}
}, {
"name": "DASHCNY",
"stock": {
"name": "DASH",
"prec": 4
},
"money": {
"name": "CNY",
"prec": 2
}
}, {
"name": "BCCBTC",
"stock": {
Expand All @@ -128,14 +138,74 @@
"prec": 8
}
}, {
"name": "DASHCNY",
"name": "LTCBTC",
"stock": {
"name": "DASH",
"name": "LTC",
"prec": 4
},
"money": {
"name": "CNY",
"prec": 2
"name": "BTC",
"prec": 8
}
}, {
"name": "ETHBTC",
"stock": {
"name": "ETH",
"prec": 4
},
"money": {
"name": "BTC",
"prec": 8
}
}, {
"name": "ZECBTC",
"stock": {
"name": "ZEC",
"prec": 4
},
"money": {
"name": "BTC",
"prec": 8
}
}, {
"name": "BTCBCC",
"stock": {
"name": "BTC",
"prec": 4
},
"money": {
"name": "BCC",
"prec": 8
}
}, {
"name": "LTCBCC",
"stock": {
"name": "LTC",
"prec": 4
},
"money": {
"name": "BCC",
"prec": 8
}
}, {
"name": "ETHBCC",
"stock": {
"name": "ETH",
"prec": 4
},
"money": {
"name": "BCC",
"prec": 8
}
}, {
"name": "ZECBCC",
"stock": {
"name": "ZEC",
"prec": 4
},
"money": {
"name": "BCC",
"prec": 8
}
}
],
Expand Down

0 comments on commit 751f9a4

Please sign in to comment.