Class ItchMessageAdapter
- Namespace
- StockSharp.ITCH
- Assembly
- StockSharp.ITCH.dll
ITCH market-data message adapter.
[MediaIcon("lse_logo.png")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Itch", Description = "MarketDataConnector", GroupName = "MarketData")]
[MessageAdapterCategory(MessageAdapterCategories.US|MessageAdapterCategories.Stock|MessageAdapterCategories.RealTime|MessageAdapterCategories.Paid|MessageAdapterCategories.Ticks|MessageAdapterCategories.MarketDepth|MessageAdapterCategories.Level1|MessageAdapterCategories.OrderLog|MessageAdapterCategories.Transactions)]
public class ItchMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged, ILoginPasswordAdapter
- Inheritance
-
ItchMessageAdapter
- Implements
-
ICloneable<IMessageChannel>IPersistable
- Inherited Members
- Extension Methods
Constructors
ItchMessageAdapter(IdGenerator)
Initializes a new instance of the ItchMessageAdapter.
public ItchMessageAdapter(IdGenerator transactionIdGenerator)
Parameters
transactionIdGenerator
IdGeneratorTransaction id generator.
Properties
DuplicateMulticast
Duplicate UDP group.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Duplicate", Description = "DuplicateUDPDot", GroupName = "General", Order = 1)]
public MulticastSourceAddress DuplicateMulticast { get; set; }
Property Value
- MulticastSourceAddress
FeatureName
Feature name.
public override string FeatureName { get; }
Property Value
GroupId
Group ID.
[Display(ResourceType = typeof(LocalizedStrings), Name = "GroupId", Description = "GroupIdDot", GroupName = "Securities", Order = 3)]
public char GroupId { get; set; }
Property Value
Login
Login.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Login", Description = "LoginDot", GroupName = "General", Order = 4)]
public string Login { get; set; }
Property Value
OnlyActiveSecurities
Download from SecurityCsvFile only active instruments.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Active3", Description = "OnlyActiveSecurities", GroupName = "Securities", Order = 2)]
public bool OnlyActiveSecurities { get; set; }
Property Value
Password
Password.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Password", Description = "PasswordDot", GroupName = "General", Order = 5)]
public SecureString Password { get; set; }
Property Value
PrimaryMulticast
The main UDP group.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Main", Description = "MainUDPDot", GroupName = "General", Order = 0)]
public MulticastSourceAddress PrimaryMulticast { get; set; }
Property Value
- MulticastSourceAddress
RecoveryAddress
Restore state server address.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Recovery", Description = "RecoveryServerDot", GroupName = "General", Order = 2)]
public EndPoint RecoveryAddress { get; set; }
Property Value
ReplayAddress
Replay state server address.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Replay", Description = "ReplayServerDot", GroupName = "General", Order = 3)]
public EndPoint ReplayAddress { get; set; }
Property Value
SecurityCsvFile
File with securities.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Securities", Description = "FileWithSecsDot", GroupName = "Securities", Order = 0)]
public string SecurityCsvFile { get; set; }
Property Value
SecurityDelayLoad
Delay load instruments from SecurityCsvFile.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Delay", Description = "SecurityDelayLoad", GroupName = "Securities", Order = 1)]
public bool SecurityDelayLoad { get; set; }
Property Value
TimeZone
Information about the time zone where the exchange is located.
[Display(ResourceType = typeof(LocalizedStrings), Name = "TimeZone", Description = "BoardTimeZone", GroupName = "Session", Order = 0)]
public TimeZoneInfo TimeZone { get; set; }
Property Value
Methods
CreateOrderLogMarketDepthBuilder(SecurityId)
Create market depth builder.
public override IOrderLogMarketDepthBuilder CreateOrderLogMarketDepthBuilder(SecurityId securityId)
Parameters
securityId
SecurityIdSecurity ID.
Returns
- IOrderLogMarketDepthBuilder
Order log to market depth builder.
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.
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnSendInMessage(Message)
Send message.
protected override bool OnSendInMessage(Message message)
Parameters
message
MessageMessage.
Returns
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
ToString()
public override string ToString()