-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
Copy pathexample.toml
61 lines (48 loc) · 1 KB
/
example.toml
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
[account]
uri = "mongodb://127.0.0.1:27017"
db = "quantaxis"
[hisdata]
uri = "mongodb://127.0.0.1:27017"
db = "quantaxis"
[realtime]
uri = "amqp://admin:[email protected]:5672/"
exchange="CTPX"
[order]
uri = "amqp://admin:[email protected]:5672/"
exchange="QASTRATEGY"
[instruct]
uri = "amqp://admin:[email protected]:5672/"
exchange="INSTRUCT"
routing_key="test"
[ack]
uri = "amqp://admin:[email protected]:5672/"
exchange="INSTRUCT_ACK"
[redis]
uri = "127.0.0.1:6379"
db = 0
[accsetup]
cash_map = '{}'
multiply = 1.0
default = 100000.0
symbol="QUANTAXIS"
[backtest]
start = "2020-01-01"
[cli]
name = [ "t00"]
codes = ["300002.XSHE", "600010.XSHG"]
freqs = ["5min", "15min", "30min"]
params = 'default'
[clickhouse]
uri = "tcp://[email protected]:9000?compression=lz4&ping_timeout=42ms"
[common]
addr ="127.0.0.1:5000"
log_level="info"
key="000000000"
qifi_gap=3
[DataPath]
# cache目录必须带/ 或者\
# /media/data/cache/ linux&mac
#
cache = "/media/data/cache/"
cachestart = "2019-01-01"
cacheend = "2021-12-25"