ExternalConnectionBaseGetInstrument Method (Dispatcher, FuncInstrumentDefination, Boolean, String, InstrumentType, Exchange, Currency, Double, DateTime, Double, Boolean, Boolean) | 
 
            Gets the instrument from database
            
 
    Namespace: 
   SharpCharts.Base.Connection
    Assembly:
   SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntaxpublic static Instrument GetInstrument(
	Dispatcher dispatcher,
	Func<InstrumentDefination, bool> isMatch,
	string symbol,
	InstrumentType instrumentType,
	Exchange exchange,
	Currency currency,
	double tickSize,
	DateTime expiryDate,
	double pointValue,
	bool isExchangeQueried,
	bool isAddedToCache = true
)
Parameters
- dispatcher
 - Type: System.Windows.ThreadingDispatcher
Current dispatcher - isMatch
 - Type: SystemFuncInstrumentDefination, Boolean
Is compared by the connection. Set null if the match is calculated internally - symbol
 - Type: SystemString
Symbol - instrumentType
 - Type: SharpCharts.Base.DataInstrumentType
Instrument type - exchange
 - Type: SharpCharts.Base.DataExchange
Exchange - currency
 - Type: SharpCharts.Base.DataCurrency
Currency - tickSize
 - Type: SystemDouble
Tick size - expiryDate
 - Type: SystemDateTime
Expiry date - pointValue
 - Type: SystemDouble
Point value - isExchangeQueried
 - Type: SystemBoolean
Is queried by exchange - isAddedToCache (Optional)
 - Type: SystemBoolean
Is real time data is subscribed 
Return Value
Type: 
Instrument
See Also