等级: 专业版
- 注册:
- 2022-1-11
- 曾用名:
|
楼主 |
发表于 2022-1-24 13:34
|
显示全部楼层
按照老师讲的增加了debug内容,DEBUGFILE('D:\test.txt','当前DIFFHF为%.2f',DIFFHF);
DEBUGFILE('D:\test.txt','当前DIFF1为%.2f',DIFF1);
DEBUGFILE('D:\test.txt','当前TBUYHOLDINGEX为%.2f',TBUYHOLDINGEX('','10003739',2));
DEBUGFILE('D:\test.txt','当前A为%.2f',KK and TBUYHOLDINGEX('','10003739',2));
DEBUGFILE('D:\test.txt','当前B为%.2f',BIGDNTT1>=11);
DEBUGFILE('D:\test.txt','当前C为%.2f',DIFFHF<-1);
DEBUGFILE('D:\test.txt','当前D为%.2f',DIFF1<-2);
DEBUGFILE('D:\test.txt','当前E为%.2f',KD and TBUYHOLDINGEX('','10003728',2));
DEBUGFILE('D:\test.txt','当前F为%.2f',BIGUPTT1>=11);
DEBUGFILE('D:\test.txt','当前G为%.2f',DIFFHF>1);
DEBUGFILE('D:\test.txt','当前H为%.2f',DIFF1>2);
DEBUGFILE('D:\test.txt','当前I为%.2f',DIFFHF);
DEBUGFILE('D:\test.txt','当前J为%.2f',DIFF1);
从结果看,DIFFHF&DIFF1跟实盘的值不一致。
2022-01-24 13:31:28.394 当前TBUYHOLDINGEX为0.00
2022-01-24 13:31:28.394 当前A为0.00
2022-01-24 13:31:28.394 当前B为0.00
2022-01-24 13:31:28.395 当前C为0.00
2022-01-24 13:31:28.395 当前D为0.00
2022-01-24 13:31:28.395 当前E为0.00
2022-01-24 13:31:28.395 当前F为0.00
2022-01-24 13:31:28.396 当前G为1.00
2022-01-24 13:31:28.396 当前H为1.00
2022-01-24 13:31:28.396 当前I为3.03
2022-01-24 13:31:28.396 当前J为5.82 |
-
|