-
Notifications
You must be signed in to change notification settings - Fork 0
/
FutuOpenD.xml
72 lines (72 loc) · 4.76 KB
/
FutuOpenD.xml
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
<futu_opend>
<!-- 基础参数 -->
<!-- Basic parameters -->
<!-- 协议监听地址,不填默认127.0.0.1 -->
<!-- Listening address. 127.0.0.1 by default -->
<ip>127.0.0.1</ip>
<!-- API接口协议监听端口 -->
<!-- API interface protocol listening port -->
<api_port>11111</api_port>
<!-- 登录帐号 -->
<!-- Login account -->
<!-- <login_account>100000</login_account> -->
<!-- 登录密码32位MD5加密16进制 -->
<!-- Login password, 32-bit MD5 encrypted hexadecimal -->
<!-- <login_pwd_md5>6e55f158a827b1a1c4321a245aaaad88</login_pwd_md5> -->
<!-- 登录密码明文,密码密文存在情况下只使用密文 -->
<!-- Plain text of login password. When cypher text exists, the cypher text will be used. -->
<!-- <login_pwd>123456</login_pwd> -->
<!-- FutuOpenD语言,en:英文,chs:简体中文 -->
<!-- FutuOpenD language. en: English, chs: Simplified Chinese -->
<lang>en</lang>
<!-- 进阶参数 -->
<!-- Advanced parameters -->
<!-- FutuOpenD日志等级,no, debug, info, warning, error, fatal -->
<!-- FutuOpenD log level: no, debug, info, warning, error, fatal -->
<log_level>error</log_level>
<!-- API推送协议格式,0:pb, 1:json -->
<!-- API push protocol format. 0: pb, 1: json -->
<push_proto_type>0</push_proto_type>
<!-- API订阅数据推送频率控制,单位毫秒,目前不包括K线和分时,不设置则不限制频率-->
<!-- Data Push Frequency, in milliseconds. Candlesticks and timeframes are not included. If not set, the frequency will be unlimited. -->
<!-- <qot_push_frequency>1000</qot_push_frequency> -->
<!-- Telnet监听地址,不填默认127.0.0.1 -->
<!-- Telnet listening address. 127.0.0.1 by default -->
<telnet_ip>127.0.0.1</telnet_ip>
<!-- Telnet监听端口 -->
<!-- Telnet listening port -->
<telnet_port>22222</telnet_port>
<!-- API协议加密私钥文件路径,不设置则不加密 -->
<!-- File path for private key for API protocol enctyption. If not set, it will not be encrypted. -->
<!-- <rsa_private_key>~/rsa</rsa_private_key> -->
<!-- 是否接收到价提醒推送,0:不接收,1:接收 -->
<!-- Whether to receive the price reminder push. 0: not receive, 1: receive -->
<price_reminder_push>1</price_reminder_push>
<!-- 被踢后是否自动抢权限,0:否,1:是 -->
<!-- 开启该选项后,要想在其他终端上获取行情权限需要在10秒连续踢FutuOpenD两次行情权限(终端登录算一次) -->
<!-- Whether to automatically grab highest quote right after being kicked, 0: No, 1: Yes -->
<!-- When this parameter is set as 1, if you want to get highest quote right on APP, you need to kick FutuOpenD twice in 10 seconds (terminal login counts once) -->
<auto_hold_quote_right>1</auto_hold_quote_right>
<!-- 指定期货交易 API 时区,期货账户调用交易 API 时,涉及的时间按照此时区规则。期货交易必须配置此字段 -->
<!-- UTC:0时区,UTC+1:东一区,UTC+2:东二区,......,UTC+11:东十一区,UTC+12:东十二区,UTC-11:西十一区,......,UTC-1:西一区 -->
<!-- The time zone of futures trading API. When using trading API with futures account, the time involved is in accordance with the time zone rules. You must set this parameter when trading futures -->
<!-- UTC: 0 time zone, UTC+1: East 1st zone, UTC+2: East 2nd zone, ..., UTC+11: East 11th zone, UTC+12: East 12th zone, UTC-11: West 11th zone,..., UTC-1: West 1st zone -->
<future_trade_api_time_zone>UTC+8</future_trade_api_time_zone>
<!-- WebSocket 专用参数 -->
<!-- Specific parameters for WebSocket -->
<!-- WebSocket监听地址, 不填默认127.0.0.1 -->
<!-- WebSocket listening address. 127.0.0.1 by default -->
<!-- <websocket_ip>127.0.0.1</websocket_ip> -->
<!-- WebSocket监听端口, 不配置则不启用该功能 -->
<!-- WebSocket listening port. WebSocket will not work if not set -->
<!-- <websocket_port>33333</websocket_port> -->
<!-- WebSocket鉴权密钥密文, 32位MD5加密16进制 -->
<!-- WebSocket authentication key ciphertext, 32-bit MD5 encrypted hexadecimal -->
<!-- <websocket_key_md5>14e1b600b1fd579f47433b88e8d85291</websocket_key_md5> -->
<!-- WebSocket证书私钥文件路径,不配置则不启用SSL,需要和证书同时配置 -->
<!-- WebSocket private key file path. SSL will not work if not set. WebSocket certificate and private key need to be set at the same time -->
<!-- <websocket_private_key>~/key</websocket_private_key> -->
<!-- WebSocket证书文件路径,不配置则不启用SSL,需要和私钥同时配置 -->
<!-- WebSocket certificate file path. SSL will not work if not set. WebSocket certificate and private key need to be set at the same time -->
<!-- <websocket_cert>~/cer</websocket_cert> -->
</futu_opend>