-
Notifications
You must be signed in to change notification settings - Fork 2
/
.engine.yml
72 lines (68 loc) · 1.48 KB
/
.engine.yml
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
72
license_key: ""
# in dev mode you can run it locally without a key with some limitations
# use any other environment to go in production mode where key is needed
env: dev
server:
debug: true
monitoring:
enabled: true
host: 0.0.0.0
port: 6060
kafka:
use_tls: false
reader:
queue_capacity: 1000
max_wait: 1000
min_bytes: 1024
max_bytes: 10485760
read_backoff_min: 100
read_backoff_max: 1000
channel_size: 20000
writer:
queue_capacity: 2000
batch_size: 2000
batch_bytes: 1048576
batch_timeout: 10
async: false
markets:
ltcbtc:
market_id: ltcbtc
price_precision: 8
volume_precision: 8
quote_increments: 0.01 # not used yet
base_min: 0.0001 # not used yet
base_max: 10000 # not used yet
backup:
interval: 1
path: /root/backups/ltcbtc.dat
listen:
broker: requests
topic: engine.orders.ltcbtc
publish:
broker: events
topic: engine.events.ltcbtc
ethbtc:
market_id: ethbtc
price_precision: 8
volume_precision: 8
quote_increments: 0.01 # not used yet
base_min: 0.0001 # not used yet
base_max: 10000 # not used yet
backup:
interval: 1
path: /root/backups/ethbtc.dat
listen:
broker: requests
topic: engine.orders.ethbtc
publish:
broker: events
topic: engine.events.ethbtc
brokers:
consumers:
requests:
hosts:
- kafka:9092
producers:
events:
hosts:
- kafka:9092