public override void SodUpdate(SodReport oReport) { StringBuilder sb = new StringBuilder(); oReport.Dump(sb); sb.AppendFormat("\n"); System.Console.Out.Write(sb); }
public override void SodUpdate(SodReport oReport) { StringBuilder sb = new StringBuilder(); oReport.Dump(sb); sb.AppendFormat("\n"); debug(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())); }
public override void SodUpdate(SodReport report) { _client.AccountSodUpdate.WithDump(_receiver).WithError(TransactionError).SafeInvoke(report); }