Esempio n. 1
0
 void SendSetPriceReminder(FTAPI_Qot qot)
 {
     QotCommon.Security sec = QotCommon.Security.CreateBuilder().SetCode("00700")
                              .SetMarket((int)QotCommon.QotMarket.QotMarket_HK_Security)
                              .Build();
     QotSetPriceReminder.C2S c2s = QotSetPriceReminder.C2S.CreateBuilder().SetSecurity(sec)
                                   .SetOp((int)QotSetPriceReminder.SetPriceReminderOp.SetPriceReminderOp_Add)
                                   .SetType((int)QotCommon.PriceReminderType.PriceReminderType_PriceUp)
                                   .SetFreq((int)QotCommon.PriceReminderFreq.PriceReminderFreq_Always)
                                   .SetValue(380)
                                   .Build();
     QotSetPriceReminder.Request req = QotSetPriceReminder.Request.CreateBuilder().SetC2S(c2s).Build();
     qot.SetPriceReminder(req);
 }