Exemple #1
0
        public static IBType get(int marketDataType)
        {
            IBType ret = Real_Time;

            foreach (object ibType in GetAll())
            {
                if ((int)((IBType)ibType).Value == marketDataType)
                {
                    ret = (IBType)ibType;
                }
            }
            return(ret);
        }
Exemple #2
0
 public void RequestFAData(IBType dataType)
 {
     ibClient.ClientSocket.requestFA((int)(dataType.Value));
 }