forked from anoval/CTP_Center
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_server.ini
60 lines (55 loc) · 1.17 KB
/
sample_server.ini
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
;测试ini文件
;可以自己增加服务器字段用于程序读取账户信息
;;测试服务器配置
[simServer]
;;期商代码
brokerid=1019
;;行情端口(可用逗号分号隔开)
mdserver=tcp://183.129.188.37:41213
;;交易端口
tdserver=tcp://183.129.188.37:41205
;;投资者代码
investorid=00000015
;;密码
password=123456
;;con数据流路径
streampath=stream
;;log日志文件位置
logpath=c:\logfile\
;;mongo数据库ip,数据用(localhost, xxx.xxx.xxx.xxx etc)
mongoip=192.168.1.1
;;数据库名,数据用
database=MarketData
;;模拟服务器配置
[SimServer]
brokerid=1019
mdserver="tcp://183.129.188.37:41213"
tdserver="tcp://183.129.188.37:41205"
investorid=00000016
password=123456
streampath=stream
logpath=E:\workplace\CTP_Center\
mongoip=localhost
database=MarketData
;;模拟2配置
[SimServer2]
brokerid=1019
mdserver="tcp://183.129.188.37:41213"
tdserver="tcp://183.129.188.37:41205"
investorid=00000016
password=123456
streampath=stream
logpath=E:\workplace\CTP_Center\
mongoip=localhost
database=MarketData
;;数据服务器配置
[DataServer]
brokerid=1019
mdserver="tcp://183.129.188.37:41213"
tdserver="tcp://183.129.188.37:41205"
investorid=00000016
password=123456
streampath=stream
logpath=E:\workplace\CTP_Center\
mongoip=localhost
database=MarketData