Version

FinancialDataAdapter Class Members

The following tables list the members exposed by FinancialDataAdapter.

Public Constructors
 NameDescription
Public ConstructorFinancialDataAdapter ConstructorCreates an instance of the financial data adapter  
Protected Fields
 NameDescription
Protected Internal FieldCachedPositionsGets cached stock position  
Protected Internal FieldCachedPricesGets cached stock prices that are hashed by stock symbols  
Public Properties
 NameDescription
Public PropertyStockDetailsGets or sets a collection of stock details for popular stock symbols.

This property is auto-generated from stock tickers received in FDC3 message with instruments as a context. Note that all stock prices are randomly generated and they do not reflect actual prices on stock market.

 
Public PropertyStockPositionsGets a collection of stock positions for the current stock symbols.

This property is auto-generated from stock tickers received in FDC3 message with instrument(s) as a context. Note that values are randomly generated and they do not reflect actual prices on stock market.

Each stock position contains trade date, shares, cost per share, current values, current price.

 
Public PropertyStockPricesGets or sets a collection of stock trades for the current stock symbols.

This property is auto-generated from stock tickers received in FDC3 message with instruments as a context. Note that all stock prices are randomly generated and they do not reflect actual prices on stock market.

 
Public PropertyStockPricesMemberPathsgets an array of member paths of data items in stock prices  
Public PropertyStockSymbolsGets or sets an array of stock symbols for which to get stock prices.

This property is updated when stock tickers are received in FDC3 message with instruments as a context.

 
Public Methods
 NameDescription
Public MethodClearDataClears all current stock symbols and their data sources  
Public MethodRemoveStockPositionRemoves stock position at given index  
Public MethodRemoveStockPricesRemoves stock prices with given symbol  
Protected Methods
 NameDescription
Protected Internal MethodExtContains  
Protected Internal MethodExtEquals  
Protected Internal MethodExtToArray<T>  
Protected Internal MethodExtToCollection<T>  
Protected Internal MethodExtToList<T>  
Protected Internal MethodLog  
Protected MethodOnAddingPosition  
Protected MethodOnAddingPricesCalled when adding data for a given stock symbol.  
Protected MethodOnGeneratingPositionCalled when getting an array of stock prices for a given stock symbol  
Protected MethodOnGeneratingPricesCalled when getting an array of stock prices for a given stock symbol  
Protected MethodOnPropertyUpdatedCalled when a property is updated.  
Protected MethodOnPropertyUpdatedOverrideCalled when a property is updated.  
Protected MethodOnRemovingPositionCalled when removing data for a given stock symbol.  
Protected MethodOnRemovingPricesCalled when removing data for a given stock symbol.  
Protected MethodOnStockClearingCalled when clearing all stock.  
Protected Internal MethodOnStockSymbolsChangedCalled when raising StockSymbolsChanged event  
Protected Internal MethodStockAddAdds a given stock symbol and stock name and then generates data source for it  
Protected MethodStockGenerateGenerates stock data only for specified stock symbols  
Protected MethodStockRegenerateRe-generates all stock prices for the current stock symbols  
Protected Internal MethodStockRemoveRemoves a given stock symbol and its data source  
Protected MethodStockUpdateUpdates stock symbols  
Public Events
 NameDescription
Public EventPopulateStockPosition  
Public EventPopulateStockPrices  
Public EventPropertyChangedIndicates that a property has changed.  
Public EventStockSymbolsChangedOccurs when stock symbols are removed or added  
See Also