Class BvmtMarketDataAdapter
- Namespace
- StockSharp.Bvmt
- Assembly
- StockSharp.Bvmt.dll
The messages adapter for Bvmt.
[MediaIcon("bvmt_logo.svg")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "TunisBvmt", Description = "StockConnector", GroupName = "America")]
[MessageAdapterCategory(MessageAdapterCategories.Stock|MessageAdapterCategories.RealTime|MessageAdapterCategories.Paid|MessageAdapterCategories.Ticks|MessageAdapterCategories.MarketDepth|MessageAdapterCategories.Level1)]
public class BvmtMarketDataAdapter : AsyncMessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged
- Inheritance
-
BvmtMarketDataAdapter
- Implements
-
ICloneable<IMessageChannel>IPersistable
- Inherited Members
- Extension Methods
Constructors
BvmtMarketDataAdapter(IdGenerator)
Initializes a new instance of the BvmtMarketDataAdapter.
public BvmtMarketDataAdapter(IdGenerator transactionIdGenerator)
Parameters
transactionIdGenerator
IdGeneratorTransaction id generator.
Properties
BBBOAddress
Best bid/offer channel.
public EndPoint BBBOAddress { get; set; }
Property Value
CashTickSizeReferentialFilePath
Path to cash tick sizes referential file.
public string CashTickSizeReferentialFilePath { get; set; }
Property Value
FBMUAddress
Full order book depth and BBO using Market Update message channel address.
public EndPoint FBMUAddress { get; set; }
Property Value
FBOUAddress
Full order book depth using Order Update message and BBO with Market Update message channel address.
public EndPoint FBOUAddress { get; set; }
Property Value
Group
Adapter group.
public string Group { get; set; }
Property Value
IsNativeIdentifiers
Identify security in messages by native identifier Native.
public override bool IsNativeIdentifiers { get; }
Property Value
REFIAddress
Reference data and index package channel address.
public EndPoint REFIAddress { get; set; }
Property Value
REFTAddress
Reference data and full trade info channel address.
public EndPoint REFTAddress { get; set; }
Property Value
StorageName
The storage name, associated with the adapter.
public override string StorageName { get; }
Property Value
Methods
ConnectAsync(ConnectMessage, CancellationToken)
Process ConnectMessage.
public override ValueTask ConnectAsync(ConnectMessage msg, CancellationToken token)
Parameters
msg
ConnectMessagetoken
CancellationToken
Returns
DisconnectAsync(DisconnectMessage, CancellationToken)
Process DisconnectMessage.
public override ValueTask DisconnectAsync(DisconnectMessage disconnectMsg, CancellationToken cancellationToken)
Parameters
disconnectMsg
DisconnectMessagecancellationToken
CancellationToken
Returns
IsAllDownloadingSupported(DataType)
Is for the specified dataType
all securities downloading enabled.
public override bool IsAllDownloadingSupported(DataType dataType)
Parameters
dataType
DataTypeData type info.
Returns
- bool
Check result.
IsSecurityRequired(DataType)
Support filtering subscriptions (subscribe/unsubscribe for specified security).
public override bool IsSecurityRequired(DataType dataType)
Parameters
dataType
DataTypeData type info.
Returns
- bool
Check result.
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
MarketDataAsync(MarketDataMessage, CancellationToken)
Process MarketDataMessage.
public override ValueTask MarketDataAsync(MarketDataMessage mdMsg, CancellationToken token)
Parameters
mdMsg
MarketDataMessagetoken
CancellationToken
Returns
OnLevel1SubscriptionAsync(MarketDataMessage, CancellationToken)
protected override ValueTask OnLevel1SubscriptionAsync(MarketDataMessage mdMsg, CancellationToken token)
Parameters
mdMsg
MarketDataMessagetoken
CancellationToken
Returns
OnMarketDepthSubscriptionAsync(MarketDataMessage, CancellationToken)
protected override ValueTask OnMarketDepthSubscriptionAsync(MarketDataMessage mdMsg, CancellationToken token)
Parameters
mdMsg
MarketDataMessagetoken
CancellationToken
Returns
OnTicksSubscriptionAsync(MarketDataMessage, CancellationToken)
protected override ValueTask OnTicksSubscriptionAsync(MarketDataMessage mdMsg, CancellationToken token)
Parameters
mdMsg
MarketDataMessagetoken
CancellationToken
Returns
ResetAsync(ResetMessage, CancellationToken)
Process ResetMessage.
public override ValueTask ResetAsync(ResetMessage resetMsg, CancellationToken cancellationToken)
Parameters
resetMsg
ResetMessagecancellationToken
CancellationToken
Returns
Remarks
Must NOT throw.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
SecurityLookupAsync(SecurityLookupMessage, CancellationToken)
Process SecurityLookupMessage.
public override ValueTask SecurityLookupAsync(SecurityLookupMessage lookupMsg, CancellationToken cancellationToken)
Parameters
lookupMsg
SecurityLookupMessagecancellationToken
CancellationToken
Returns
TimeAsync(TimeMessage, CancellationToken)
Process TimeMessage.
public override ValueTask TimeAsync(TimeMessage timeMsg, CancellationToken cancellationToken)
Parameters
timeMsg
TimeMessagecancellationToken
CancellationToken