// <Summary> // Lighstreamer callback - Order price updates... // </Summary> public override void OnUpdate(int itemPos, string itemName, IUpdateInfo update) { try { _form.AppendStreamingDataMessage(GetL1Prices(itemPos, itemName, update)); } catch (Exception ex) { _form.AppendStreamingDataMessage(ex.Message); } }
public override void OnUpdate(int itemPos, string itemName, IUpdateInfo update) { _form.AppendStreamingDataMessage("trade confirm: " + update.GetNewValue("CONFIRMS")); _form.AppendStreamingDataMessage("open position updates: " + update.GetNewValue("OPU")); _form.AppendStreamingDataMessage("working order updates: " + update.GetNewValue("WOU")); }
public override void OnUpdate(int itemPos, string itemName, IUpdateInfo update) { _form.AppendStreamingDataMessage("account balance update - P/L : " + update.GetNewValue("PNL")); _form.AppendStreamingDataMessage("account balance update - DEPOSIT : " + update.GetNewValue("DEPOSIT")); _form.AppendStreamingDataMessage("account balance update - AVAILABLE_CASH : " + update.GetNewValue("AVAILABLE_CASH")); }