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.
Field | Format | Description |
---|---|---|
Ticker | String | Primary exchange security identifier |
Bid | Decimal | The price at which the publisher is willing to buy the security |
Ask | Decimal | The price at which the publisher is willing to sell the security |
Publisher | String | Identifier of publisher is willing to sell the security |
Update Time | DateTime | Update 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.
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.