-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathapplication.conf
65 lines (65 loc) · 1.17 KB
/
application.conf
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
squant {
csv {
path {
base: "/data"
stocks: "/stocks.csv"
category: "/category.csv"
tick: "/tick"
moneyflow: "/moneyflow"
ktype: "/ktype"
finance: "/finance"
}
}
database {
dbtype: "hbase"
zookeeper: "127.0.0.1"
zkroot: "/hbase"
}
strategy{
path: "strategy.yaml"
}
schedule {
tasks: [basics,daily,minute,moneyflow,category,tick,finance]
# min 0-59,
# hour 0-23,
# days of month:1-31(L mean last day of month),
# month 1-12,
# days of week:0(sunday)-6(saturday)
basics: {
name: "basics"
cron: "0 21 * * 1-5"
}
category: {
name: "category"
cron: "5 21 * * 1-5"
}
daily {
name: "daily"
cron: "10 21 * * 1-5"
clear: true
toDB: false
}
minute {
name: "minute"
cron: "40 21 * * 1-5"
clear: true
toDB: false
}
moneyflow {
name: "moneyflow"
cron: "00 22 * * 1-5"
toDB: false
}
tick: {
name: "tick"
cron: "30 22 * * 1-5"
toDB: false
}
finance: {
name: "finance"
cron: "0 0 * * 1"
toDB: false
clear: true
}
}
}