Beispiel #1
0
        public override void SodUpdate(SodReport oReport)
        {
            StringBuilder sb = new StringBuilder();

            oReport.Dump(sb);
            sb.AppendFormat("\n");

            System.Console.Out.Write(sb);
        }
Beispiel #2
0
        public override void SodUpdate(SodReport oReport)
        {
            StringBuilder sb = new StringBuilder();

            oReport.Dump(sb);
            sb.AppendFormat("\n");

            debug(sb);
        }
Beispiel #3
0
        private void SessionHolderOnAccountSodUpdate(SodReport report)
        {
            ProcessAccount(report.Account);

            SendOutMessage(new PositionChangeMessage
            {
                PortfolioName = report.Account.AccountId,
                SecurityId    = new SecurityId
                {
                    SecurityCode = report.Symbol,
                    BoardCode    = report.Exchange,
                },
                ServerTime = RithmicUtils.ToTime(report.Ssboe)
            }
                           .Add(PositionChangeTypes.CurrentValue, (decimal)report.CarriedSize)
                           .TryAdd(PositionChangeTypes.CurrentPrice, report.PrevClosePrice.ToDecimal()));
        }
			public override void SodUpdate(SodReport report)
			{
				_client.AccountSodUpdate.WithDump(_receiver).WithError(TransactionError).SafeInvoke(report);
			}
Beispiel #5
0
          public override void SodUpdate(SodReport oReport)
               {
               StringBuilder sb = new StringBuilder();

               oReport.Dump(sb);
               sb.AppendFormat("\n");

               System.Console.Out.Write(sb);
               }
		private void SessionHolderOnAccountSodUpdate(SodReport report)
		{
			ProcessAccount(report.Account);

			SendOutMessage(new PositionChangeMessage
			{
				PortfolioName = report.Account.AccountId,
				SecurityId = new SecurityId
				{
					SecurityCode = report.Symbol,
					BoardCode = report.Exchange,
				},
				ServerTime = RithmicUtils.ToTime(report.Ssboe)
			}
			.Add(PositionChangeTypes.CurrentValue, (decimal)report.CarriedSize)
			.TryAdd(PositionChangeTypes.CurrentPrice, report.PrevClosePrice.ToDecimal()));
		}
Beispiel #7
0
          public override void SodUpdate(SodReport oReport)
               {
               StringBuilder sb = new StringBuilder();

               oReport.Dump(sb);
               sb.AppendFormat("\n");

               debug(sb);
               }
 public override void SodUpdate(SodReport report)
 {
     _client.AccountSodUpdate.WithDump(_receiver).WithError(TransactionError).SafeInvoke(report);
 }