public static SubscriptionQuoteSummary CreateSubscriptionQuoteSummary(int subscriptionId, string symbol, int quoteCount, global::System.DateTime firstQuoted, global::System.DateTime lastQuoted, decimal latestPrice, decimal latestBid, decimal latestAsk, decimal latestChange, decimal latestOpen) { SubscriptionQuoteSummary subscriptionQuoteSummary = new SubscriptionQuoteSummary(); subscriptionQuoteSummary.SubscriptionId = subscriptionId; subscriptionQuoteSummary.Symbol = symbol; subscriptionQuoteSummary.QuoteCount = quoteCount; subscriptionQuoteSummary.FirstQuoted = firstQuoted; subscriptionQuoteSummary.LastQuoted = lastQuoted; subscriptionQuoteSummary.LatestPrice = latestPrice; subscriptionQuoteSummary.LatestBid = latestBid; subscriptionQuoteSummary.LatestAsk = latestAsk; subscriptionQuoteSummary.LatestChange = latestChange; subscriptionQuoteSummary.LatestOpen = latestOpen; return(subscriptionQuoteSummary); }
public static SubscriptionQuoteSummary CreateSubscriptionQuoteSummary(int subscriptionId, string symbol, int quoteCount, global::System.DateTime firstQuoted, global::System.DateTime lastQuoted, decimal latestPrice, decimal latestBid, decimal latestAsk, decimal latestChange, decimal latestOpen) { SubscriptionQuoteSummary subscriptionQuoteSummary = new SubscriptionQuoteSummary(); subscriptionQuoteSummary.SubscriptionId = subscriptionId; subscriptionQuoteSummary.Symbol = symbol; subscriptionQuoteSummary.QuoteCount = quoteCount; subscriptionQuoteSummary.FirstQuoted = firstQuoted; subscriptionQuoteSummary.LastQuoted = lastQuoted; subscriptionQuoteSummary.LatestPrice = latestPrice; subscriptionQuoteSummary.LatestBid = latestBid; subscriptionQuoteSummary.LatestAsk = latestAsk; subscriptionQuoteSummary.LatestChange = latestChange; subscriptionQuoteSummary.LatestOpen = latestOpen; return subscriptionQuoteSummary; }