Data Contracts

The following are the data contracts in the application.

Quote

A quote represents what the "market" is for a given listed security.Table A-1 shows the quote data contract.

Table Quote Data Contract
FieldFormatDescription
TickerStringPrimary exchange security identifier
BidDecimalThe price at which the publisher is willing to buy the security
AskDecimalThe price at which the publisher is willing to sell the security
PublisherStringIdentifier of publisher is willing to sell the security
Update TimeDateTimeUpdate time in GMT for the published quote

Trade

A trade represents a commitment to buy or sell a set quantity of shares for a specific listed security by a specific publisher.Table A-2 shows the trade data contract.

Table Trade Data ...

Get Pro WCF: Practical Microsoft SOA Implementation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.