Skip to content

Commit a498eb0

Browse files
committed
Add ui
1 parent 9edf475 commit a498eb0

File tree

4 files changed

+673
-0
lines changed

4 files changed

+673
-0
lines changed

vnpy_algotrading/ui/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from .widget import AlgoManager

vnpy_algotrading/ui/algo.ico

66.1 KB
Binary file not shown.

vnpy_algotrading/ui/display.py

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
NAME_DISPLAY_MAP = {
2+
"vt_symbol": "本地代码",
3+
"direction": "方向",
4+
"price": "价格",
5+
"volume": "数量",
6+
"time": "执行时间(秒)",
7+
"interval": "每轮间隔(秒)",
8+
"offset": "开平",
9+
"active": "算法状态",
10+
"traded": "成交数量",
11+
"order_volume": "单笔委托",
12+
"timer_count": "本轮读秒",
13+
"total_count": "累计读秒",
14+
"template_name": "算法模板",
15+
"display_volume": "挂出数量",
16+
"stop_price": "触发价格",
17+
"price_add": "委托超价",
18+
"step_price": "网格交易间距",
19+
"step_volume": "网格交易数量",
20+
"order_type": "委托类型",
21+
"active_vt_symbol": "主动腿",
22+
"passive_vt_symbol": "被动腿",
23+
"spread_up": "价差上限",
24+
"spread_down": "价差下限",
25+
"max_pos": "最大持仓",
26+
27+
"start_time": "开始时间",
28+
"end_time": "结束时间",
29+
30+
"min_volume": "最小委托量",
31+
"max_volume": "最大委托量",
32+
"volume_change": "委托量变化"
33+
}

0 commit comments

Comments
 (0)