Comments (3)
most likely because your kungfu.json setting. would you please show your error log in /shared/kungfu/log/trade_engine.log?
from kungfu.
17-11-15 22:52:27.926 INFO TradeEngine.CTP %% - [ATTENTION] default to confirm settlement and no authentication!
17-11-15 22:52:27.930 INFO TradeEngine.CTP %% - IEngine::init FrontUri->"tcp://180.168.146.187:10000"
17-11-15 22:52:27.930 INFO TradeEngine.CTP %% - IEngine::init NeedAuth->false
17-11-15 22:52:27.930 INFO TradeEngine.CTP %% - IEngine::init NeedSettleConfirm->true
17-11-15 22:52:27.930 INFO TradeEngine.CTP %% - IEngine::init accounts->[{"clients":["YOUR_STRATEGY1","YOUR_STRATEGY2","YOUR_STRATEGY3"],"info":{"BrokerId":"9999","InvestorId":"106943","Password":"234567","UserId":"105943"},"is_default":true}]
17-11-15 22:52:27.930 INFO TradeEngine.CTP %% - [account] number: 1
17-11-15 22:52:27.930 INFO TradeEngine.CTP %% - [client] (name)YOUR_STRATEGY1 (account)106943
17-11-15 22:52:27.930 INFO TradeEngine.CTP %% - [client] (name)YOUR_STRATEGY2 (account)106943
17-11-15 22:52:27.930 INFO TradeEngine.CTP %% - [client] (name)YOUR_STRATEGY3 (account)106943
17-11-15 22:52:27.952 INFO TradeEngine.CTP %% - [OnFrontConnected] (idx)0
17-11-15 22:52:27.992 ERROR TradeEngine.CTP %% - [OnRspUserLogin] (errId)3 (errMsg)CTP:MPHUZDY»UUH
17-11-15 22:54:07.207 INFO TradeEngine.CTP %% - [ATTENTION] default to confirm settlement and no authentication!
17-11-15 22:54:07.211 INFO TradeEngine.CTP %% - IEngine::init FrontUri->"tcp://180.168.146.187:10000"
17-11-15 22:54:07.211 INFO TradeEngine.CTP %% - IEngine::init NeedAuth->false
17-11-15 22:54:07.211 INFO TradeEngine.CTP %% - IEngine::init NeedSettleConfirm->true
17-11-15 22:54:07.211 INFO TradeEngine.CTP %% - IEngine::init accounts->[{"clients":["YOUR_STRATEGY1","YOUR_STRATEGY2","YOUR_STRATEGY3"],"info":{"BrokerId":"9999","InvestorId":"106943","Password":"234567","UserId":"105943"},"is_default":true}]
17-11-15 22:54:07.211 INFO TradeEngine.CTP %% - [account] number: 1
17-11-15 22:54:07.211 INFO TradeEngine.CTP %% - [client] (name)YOUR_STRATEGY1 (account)106943
17-11-15 22:54:07.211 INFO TradeEngine.CTP %% - [client] (name)YOUR_STRATEGY2 (account)106943
17-11-15 22:54:07.211 INFO TradeEngine.CTP %% - [client] (name)YOUR_STRATEGY3 (account)106943
17-11-15 22:54:07.253 INFO TradeEngine.CTP %% - [OnFrontConnected] (idx)0
17-11-15 22:54:07.280 ERROR TradeEngine.CTP %% - [OnRspUserLogin] (errId)3 (errMsg)CTP:MPZD~Y»~U
17-11-15 22:55:12.636 INFO TradeEngine.CTP %% - [ATTENTION] default to confirm settlement and no authentication!
17-11-15 22:55:12.639 INFO TradeEngine.CTP %% - IEngine::init FrontUri->"tcp://180.168.146.187:10000"
17-11-15 22:55:12.639 INFO TradeEngine.CTP %% - IEngine::init NeedAuth->false
17-11-15 22:55:12.639 INFO TradeEngine.CTP %% - IEngine::init NeedSettleConfirm->true
17-11-15 22:55:12.639 INFO TradeEngine.CTP %% - IEngine::init accounts->[{"clients":["YOUR_STRATEGY1","YOUR_STRATEGY2","YOUR_STRATEGY3"],"info":{"BrokerId":"9999","InvestorId":"106943","Password":"234567","UserId":"ideaplat"},"is_default":true}]
17-11-15 22:55:12.639 INFO TradeEngine.CTP %% - [account] number: 1
and I know I modified the configuration file,and I well down.
Thank you .
td_ctp: started
kungfu> status
md_ctp RUNNING pid 1316, uptime 22:58:11
td_ctp RUNNING pid 2560, uptime 0:00:15
yijinjing RUNNING pid 1284, uptime 23:18:13
from kungfu.
@ghost hey buddy, what broker did you connect to?
from kungfu.
Related Issues (20)
- build bug HOT 1
- 很多npm 包过时,不再支持低低版本了
- 这就是个残码,长拳(longfist) 也没有,没法编译,还希望作者能提供一份可编译的源码
- 请加入dpdk 支持 HOT 2
- [SIM] kfx-broker-sim build 失败 HOT 13
- [XTP] xtp 行情连接异常 HOT 4
- Need ctp trade broker
- 编译 @kungfu-trader/kfx-broker-sim 时候报错了 HOT 3
- page.h 缺少一个配对的pack(push)
- 一处 mmap 时的bus error 的解决
- 写策略时候,如何导入其他python库
- compile时候,一直卡在pipenv的locking上 HOT 1
- msg.h 里面:strncpy,需要拷贝的长度n,应该要小于dest本身的长度,最后一位留给\0
- Can't compile at CentOS 7.8 HOT 1
- English language for Windows build please HOT 2
- kungfu-cli 要在哪里下载呢?
- kungfu-core 2.1.2 - Not found
- Future Commission Fee
- kungfu的spdlog库工作在同步模式
- time模型有bug?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kungfu.