Interface IMarketDataProvider
- Namespace
- StockSharp.BusinessEntities
- Assembly
- StockSharp.BusinessEntities.dll
The market data by the instrument provider interface.
public interface IMarketDataProvider
- Extension Methods
Methods
GetLevel1Fields(Security)
To get a set of available fields Level1Fields, for which there is a market data for the instrument.
IEnumerable<Level1Fields> GetLevel1Fields(Security security)
Parameters
security
SecuritySecurity.
Returns
- IEnumerable<Level1Fields>
Possible fields.
GetSecurityValue(Security, Level1Fields)
To get the value of market data for the instrument.
object GetSecurityValue(Security security, Level1Fields field)
Parameters
security
SecuritySecurity.
field
Level1FieldsMarket-data field.
Returns
Events
LookupBoardsResult
Lookup result BoardLookupMessage received.
event Action<BoardLookupMessage, IEnumerable<ExchangeBoard>, Exception> LookupBoardsResult
Event Type
LookupBoardsResult2
Lookup result BoardLookupMessage received.
event Action<BoardLookupMessage, IEnumerable<ExchangeBoard>, IEnumerable<ExchangeBoard>, Exception> LookupBoardsResult2
Event Type
LookupSecuritiesResult
Lookup result SecurityLookupMessage received.
event Action<SecurityLookupMessage, IEnumerable<Security>, Exception> LookupSecuritiesResult
Event Type
LookupSecuritiesResult2
Lookup result SecurityLookupMessage received.
event Action<SecurityLookupMessage, IEnumerable<Security>, IEnumerable<Security>, Exception> LookupSecuritiesResult2
Event Type
LookupTimeFramesResult
Lookup result TimeFrameLookupMessage received.
event Action<TimeFrameLookupMessage, IEnumerable<TimeSpan>, Exception> LookupTimeFramesResult
Event Type
LookupTimeFramesResult2
Lookup result TimeFrameLookupMessage received.
event Action<TimeFrameLookupMessage, IEnumerable<TimeSpan>, IEnumerable<TimeSpan>, Exception> LookupTimeFramesResult2
Event Type
MarketDataSubscriptionFailed
Error subscription market-data.
[Obsolete("Use SubscriptionFailed event.")]
event Action<Security, MarketDataMessage, Exception> MarketDataSubscriptionFailed
Event Type
MarketDataSubscriptionFailed2
Error subscription market-data.
[Obsolete("Use SubscriptionFailed event.")]
event Action<Security, MarketDataMessage, SubscriptionResponseMessage> MarketDataSubscriptionFailed2
Event Type
MarketDataSubscriptionFinished
Subscription market-data finished.
[Obsolete("Use SubscriptionStopped event.")]
event Action<Security, SubscriptionFinishedMessage> MarketDataSubscriptionFinished
Event Type
MarketDataSubscriptionOnline
Subscription is online.
[Obsolete("Use SubscriptionOnline event.")]
event Action<Security, MarketDataMessage> MarketDataSubscriptionOnline
Event Type
MarketDataSubscriptionSucceeded
Successful subscription market-data.
[Obsolete("Use SubscriptionStarted event.")]
event Action<Security, MarketDataMessage> MarketDataSubscriptionSucceeded
Event Type
MarketDataUnSubscriptionFailed
Error unsubscription market-data.
[Obsolete("Use SubscriptionFailed event.")]
event Action<Security, MarketDataMessage, Exception> MarketDataUnSubscriptionFailed
Event Type
MarketDataUnSubscriptionFailed2
Error unsubscription market-data.
[Obsolete("Use SubscriptionFailed event.")]
event Action<Security, MarketDataMessage, SubscriptionResponseMessage> MarketDataUnSubscriptionFailed2
Event Type
MarketDataUnSubscriptionSucceeded
Successful unsubscription market-data.
[Obsolete("Use SubscriptionStopped event.")]
event Action<Security, MarketDataMessage> MarketDataUnSubscriptionSucceeded
Event Type
MarketDataUnexpectedCancelled
Market-data subscription unexpected cancelled.
[Obsolete("Use SubscriptionFailed event.")]
event Action<Security, MarketDataMessage, Exception> MarketDataUnexpectedCancelled
Event Type
MarketDepthChanged
Order book changed.
[Obsolete("Use OrderBookReceived event.")]
event Action<MarketDepth> MarketDepthChanged
Event Type
NewMarketDepth
Order book received.
[Obsolete("Use OrderBookReceived event.")]
event Action<MarketDepth> NewMarketDepth
Event Type
NewNews
News received.
[Obsolete("Use NewsReceived event.")]
event Action<News> NewNews
Event Type
NewOrderLogItem
Order log received.
[Obsolete("Use OrderLogReceived event.")]
event Action<OrderLogItem> NewOrderLogItem
Event Type
NewSecurity
Security received.
[Obsolete("Use SecurityReceived event.")]
event Action<Security> NewSecurity
Event Type
NewTrade
Tick trade received.
[Obsolete("Use TickTradeReceived event.")]
event Action<Trade> NewTrade
Event Type
NewsChanged
News updated (news body received Story).
[Obsolete("Use NewsReceived event.")]
event Action<News> NewsChanged
Event Type
SecurityChanged
Security changed.
[Obsolete("Use SecurityReceived event.")]
event Action<Security> SecurityChanged
Event Type
ValuesChanged
Security changed.
event Action<Security, IEnumerable<KeyValuePair<Level1Fields, object>>, DateTimeOffset, DateTimeOffset> ValuesChanged