private void Api_OnReceiveTrCondition(Kiwoom.Api sender, string[] strCodeList, Kiwoom.ConditionInfo info) { foreach (string item in strCodeList) { Console.WriteLine(item); } }
private void Api_OnConnected(Kiwoom.Api sender) { Console.WriteLine("Connected"); Kiwoom.ConditionInfo[] list = api.GetConditionInfoList(); foreach (Kiwoom.ConditionInfo item in list) { Console.WriteLine(item.Name); if (item.Name == "동전주목록") { api.RequestSearchCondition(item); } } Console.WriteLine(list.Length.ToString()); Console.WriteLine(Console.ReadLine()); //throw new NotImplementedException(); }