Exemple #1
0
        public void OnTickAction(TickQuoteCn atick)
        {
            SymbolData ldatainfo = getDataInfo(atick.abbrname);

            //logger.Info("push data into dataInfo..." + atick.abbrname + "..." + ldatainfo.getAbbrname());
            ldatainfo.push(atick);
        }
Exemple #2
0
        public double getOIDelta(string abbrname, int nSecs)
        {
            SymbolData ldatainfo = getDataInfo(abbrname);

            return(ldatainfo.getOIDelta(nSecs));
        }
Exemple #3
0
        public int getLastOI(string abbrname)
        {
            SymbolData ldatainfo = getDataInfo(abbrname);

            return(ldatainfo.getLastOI());
        }
Exemple #4
0
        public double getLastTrade(string abbrname)
        {
            SymbolData ldatainfo = getDataInfo(abbrname);

            return(ldatainfo.getLastTrade());
        }