File tree Expand file tree Collapse file tree 4 files changed +17
-16
lines changed Expand file tree Collapse file tree 4 files changed +17
-16
lines changed Original file line number Diff line number Diff line change 1
- # 1.0.1版本
1
+ # Version 1.0.1
2
2
3
- 1 . 将模块的图标文件信息,改为完整路径字符串
3
+ 1 . Change the icon file information of the module to the full path string
Original file line number Diff line number Diff line change 1
- # VeighNa框架的Excel RTD应用模块
1
+ # Excel RTD application module for VeighNa Framework
2
2
3
3
<p align =" center " >
4
4
<img src =" https://vnpy.oss-cn-shanghai.aliyuncs.com/vnpy-logo.png " />
11
11
<img src ="https://img.shields.io/github/license/vnpy/vnpy.svg?color=orange"/>
12
12
</p >
13
13
14
- ## 说明
14
+ ## Description
15
15
16
- RTD全称是RealTimeData,是微软提供的主要面向金融行业中实时数据需求设计的Excel数据对接方案 .
16
+ RTD is the full name of RealTimeData, which is an Excel data interfacing program provided by Microsoft mainly designed for real-time data needs in the financial industry .
17
17
18
- ExcelRtd模块则是VeighNa官方提供的用于实现在Excel中访问VeighNa程序内任意数据信息的功能模块。
18
+ The ExcelRtd module is a functional module provided by VeighNa for accessing any data information in the VeighNa program in Excel.
19
19
20
- ## 安装
20
+ ## Installation
21
21
22
- 安装环境推荐基于3 .0.0版本以上的【 [ ** VeighNa Studio** ] ( https://www.vnpy. com ) 】。
22
+ The recommended installation environment is based on version 3 .0.0 or higher of [[ ** VeighNa Studio** ] ( https://edarchimbaud. com/veighna-website )] .
23
23
24
- 直接使用pip命令:
24
+ Use the pip command directly:
25
25
26
- ```
26
+ ``` bash
27
27
pip install vnpy_excelrtd
28
28
```
29
29
30
30
31
- 或者下载源代码后,解压后在cmd中运行:
31
+ Or download the source code, unzip it and run it in cmd:
32
32
33
- ```
33
+ ``` bash
34
34
pip install .
35
35
```
Original file line number Diff line number Diff line change 9
9
10
10
class RtdManager (QtWidgets .QWidget ):
11
11
""""""
12
+
12
13
signal_log : QtCore .pyqtSignal = QtCore .pyqtSignal (Event )
13
14
14
15
def __init__ (self , main_engine : MainEngine , event_engine : EventEngine ) -> None :
@@ -34,14 +35,14 @@ def init_ui(self) -> None:
34
35
self .client_line : QtWidgets .QLineEdit = QtWidgets .QLineEdit (str (client_path ))
35
36
self .client_line .setReadOnly (True )
36
37
37
- copy_button : QtWidgets .QPushButton = QtWidgets .QPushButton ("复制 " )
38
+ copy_button : QtWidgets .QPushButton = QtWidgets .QPushButton ("Copy " )
38
39
copy_button .clicked .connect (self .copy_client_path )
39
40
40
41
self .log_monitor : QtWidgets .QTextEdit = QtWidgets .QTextEdit ()
41
42
self .log_monitor .setReadOnly (True )
42
43
43
44
self .port_label : QtWidgets .QLabel = QtWidgets .QLabel (
44
- "使用Socket端口:请求回应9001、广播推送9002 "
45
+ "Using socket ports: request response 9001, broadcast push 9002 "
45
46
)
46
47
47
48
hbox : QtWidgets .QHBoxLayout = QtWidgets .QHBoxLayout ()
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def add_rtd(self, rtd: ObjectRtd) -> None:
77
77
"""
78
78
buf : Set [ObjectRtd ] = self .rtds [rtd .name ]
79
79
buf .add (rtd )
80
- self .write_log (f"新增RTD连接: { rtd .name } { rtd .field } " )
80
+ self .write_log (f"Add RTD connection: { rtd .name } { rtd .field } " )
81
81
82
82
# Auto subscribe tick data
83
83
self .subscribe (rtd .name )
@@ -89,7 +89,7 @@ def remove_rtd(self, rtd: ObjectRtd) -> None:
89
89
buf : Set [ObjectRtd ] = self .rtds [self .name ]
90
90
if self in buf :
91
91
buf .remove (rtd )
92
- self .write_log (f"移除RTD连接: { rtd .name } { rtd .field } " )
92
+ self .write_log (f"Remove RTD connection: { rtd .name } { rtd .field } " )
93
93
94
94
95
95
def init_client () -> None :
You can’t perform that action at this time.
0 commit comments