-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
71 lines (71 loc) · 1.71 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"debug": true,
"process": {
"file_limit": 1000000,
"core_limit": 1000000000
},
"log": {
"path": "/var/log/trade/accessws",
"flag": "fatal,error,warn,info,debug,trace",
"num": 10
},
"alert": {
"host": "accessws",
"addr": "127.0.0.1:4444"
},
"svr": {
"bind": [
"stream@/tmp/accessws.sock"
],
"max_pkg_size": 102400,
"protocol": "chat"
},
"monitor": {
"bind": "tcp@0.0.0.0:8091",
"max_pkg_size": 1024
},
"worker_num": 1,
"timeout": 1.0,
"matchengine": {
"name": "matchengine",
"addr": [
"tcp@127.0.0.1:7316"
],
"max_pkg_size": 2000000
},
"marketprice": {
"name": "marketprice",
"addr": [
"tcp@127.0.0.1:7416"
],
"max_pkg_size": 2000000
},
"readhistory": {
"name": "readhistory",
"addr": [
"tcp@127.0.0.1:7424"
],
"max_pkg_size": 2000000
},
"deals": {
"brokers": "127.0.0.1:9092",
"topic": "deals",
"partition": 0
},
"orders": {
"brokers": "127.0.0.1:9092",
"topic": "orders",
"partition": 0
},
"balances": {
"brokers": "127.0.0.1:9092",
"topic": "balances",
"partition": 0
},
"backend_timeout": 1.0,
"cache_timeout": 10.0,
"auth_url": "http://192.168.1.6:8000/internal/exchange/user/auth",
"sign_url": "http://192.168.1.6:8000/internal/exchange/user/api/auth",
"depth_limit": [1, 5, 10, 20, 30, 50, 100],
"depth_merge": ["0", "0.00000001", "0.0000001", "0.000001", "0.00001", "0.0001", "0.001", "0.01", "0.1"]
}