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); }
public void RequestFAData(IBType dataType) { ibClient.ClientSocket.requestFA((int)(dataType.Value)); }