From b8f056ef02af0de3db75ce7c287a36efb914b6e9 Mon Sep 17 00:00:00 2001 From: = <=> Date: Fri, 27 Sep 2024 15:11:43 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1990e6d..debee0e 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,22 @@ - [x] 接入openctp 7x24行情服务 - [x] 接入yijinjing -- [ ] 仿照kungfu分布式架构,分离出apprentice和master \ No newline at end of file +- [x] 仿照kungfu分布式架构,分离出apprentice和master + +## 用法 + +- 编译 +``` +mkdir build && cd build +cmake .. && make +``` +- 运行 +``` +./master +sleep 3 + +./md tcp://121.37.80.177:20004 sc2410 sc2411 sc2412 sc2501 sc2502 +sleep 3 + +./strategy_runner +``` \ No newline at end of file