分享监控#行情延迟#的原代码

Params
Vars
    Bool con;
Events
OnBar(ArrayRef<Integer> indexs)
{
    If(BarStatus<>2) Return;

    con = (CurrentTime>=0.08 and CurrentTime<=0.0901);
    con = (CurrentTime>=0.12 and CurrentTime<=0.1331) or con;
    con = (CurrentTime>=0.20 and CurrentTime<=0.2101) or con;
    
    If(con)
    {    
        FileAppend("C:\\t.tbf",Text(CurrentDate));
        FileAppend("C:\\t.tbf","CurrentTime:    "+Text(CurrentTime));
        FileAppend("C:\\t.tbf","Q _ lastTime:    "+Text(Q_LastTime));
        
        FileAppend("C:\\t.tbf","行情延迟秒数:    "+Text(DateTimeDiff(CurrentTime,Q_LastTime)));        
    }
}

 

tbpy 行情严重延迟推送问题
用plot.setLayout 写监控界面,出现了延迟现象
StatusQuote函数在实时行情下返回值有延迟变化
延迟发单
延迟反手
官方分享的策略能否再分享下?很迫切需要学习和研究
平仓延迟反手
开盘延迟下单
关于监控器的后台处理流程
开仓延迟问题