Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
haipome committed Oct 21, 2017
1 parent 3da9c87 commit 0e504a0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 109 deletions.
20 changes: 6 additions & 14 deletions accessws/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,20 +66,12 @@
"cache_timeout": 10.0,
"auth_url": "http://192.168.1.6:8000/internal/exchange/user/auth",
"depth_merge": {
"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"]
"BTCUSD": ["0", "0.1", "1", "5"],
"BCCUSD": ["0", "0.1", "1", "5"],
"LTCUSD": ["0", "0.1", "1", "5"],
"ETHUSD": ["0", "0.1", "1", "5"],
"ZECUSD": ["0", "0.1", "1", "5"],
"DASHUSD": ["0", "0.1", "1", "5"]
},
"depth_limit": [1, 5, 10, 20, 30, 50, 100]
}
108 changes: 13 additions & 95 deletions matchengine/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"assets": [
{
"name": "CNY",
"name": "USD",
"prec_save": 16,
"prec_show": 4
}, {
Expand Down Expand Up @@ -68,149 +68,67 @@
],
"markets": [
{
"name": "BTCCNY",
"name": "BTCUSD",
"stock": {
"name": "BTC",
"prec": 4
},
"money": {
"name": "CNY",
"name": "USD",
"prec": 2
},
"min_amount": "0.001"
}, {
"name": "BCCCNY",
"name": "BCCUSD",
"stock": {
"name": "BCC",
"prec": 4
},
"money": {
"name": "CNY",
"name": "USD",
"prec": 2
},
"min_amount": "0.001"
}, {
"name": "ETHCNY",
"name": "ETHUSD",
"stock": {
"name": "ETH",
"prec": 4
},
"money": {
"name": "CNY",
"name": "USD",
"prec": 2
}
}, {
"name": "ZECCNY",
"name": "ZECUSD",
"stock": {
"name": "ZEC",
"prec": 4
},
"money": {
"name": "CNY",
"name": "USD",
"prec": 2
}
}, {
"name": "LTCCNY",
"name": "LTCUSD",
"stock": {
"name": "LTC",
"prec": 4
},
"money": {
"name": "CNY",
"name": "USD",
"prec": 2
}
}, {
"name": "DASHCNY",
"name": "DASHUSD",
"stock": {
"name": "DASH",
"prec": 4
},
"money": {
"name": "CNY",
"name": "USD",
"prec": 2
}
}, {
"name": "BCCBTC",
"stock": {
"name": "BCC",
"prec": 4
},
"money": {
"name": "BTC",
"prec": 8
},
"min_amount": "0.001"
}, {
"name": "LTCBTC",
"stock": {
"name": "LTC",
"prec": 4
},
"money": {
"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
},
"min_amount": "0.001"
}, {
"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
}
}
],
"brokers": "127.0.0.1:9092",
Expand Down

0 comments on commit 0e504a0

Please sign in to comment.