Esempio n. 1
0
        private void RaiseSecuritiesChanged(Security[] securities)
        {
            SecuritiesChanged?.Invoke(securities);

            var evt = SecurityChanged;

            if (evt == null)
            {
                return;
            }

            foreach (var security in securities)
            {
                evt(security);
            }
        }
Esempio n. 2
0
 private void RaiseSecurityChanged(Security security)
 {
     SecurityChanged?.Invoke(security);
     SecuritiesChanged?.Invoke(new[] { security });
 }
Esempio n. 3
0
 public static void OnSecuritiesChanged(CurrencyNumber oldValue, CurrencyNumber newValue)
 => SecuritiesChanged?.Invoke(oldValue, newValue);
Esempio n. 4
0
 private void RealTraderOnSecuritiesChanged(IEnumerable <Security> securities)
 {
     SecuritiesChanged?.Invoke(this, new SecuritiesEventArgs(securities));
 }