Class HydraServerSettings
- Namespace
- StockSharp.Hydra.Core.Settings
- Assembly
- StockSharp.Hydra.Core.dll
Hydra server settings.
[Display(ResourceType = typeof(LocalizedStrings), Name = "HydraServerSettings")]
public class HydraServerSettings : IPersistable
- Inheritance
-
HydraServerSettings
- Implements
- Inherited Members
- Extension Methods
Constructors
HydraServerSettings()
Initializes a new instance of the HydraServerSettings.
public HydraServerSettings()
Properties
AllowAllSecuritiesDownload
Allow market data downloading for all securities when no specific security is provided in the request.
[Display(ResourceType = typeof(LocalizedStrings), Name = "AllSecurities", Description = "RequestAllSecurities", GroupName = "General", Order = 16)]
public bool AllowAllSecuritiesDownload { get; set; }
Property Value
Authorization
Authorization type.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Authorization", Description = "HydraServerAuthorization", GroupName = "General", Order = 3)]
[ItemsSource(typeof(HydraServerSettings.AuthProviderSource))]
public IAuthorization Authorization { get; set; }
Property Value
Drive
Market data drive where final files in StockSharp format will be stored.
[Display(ResourceType = typeof(LocalizedStrings), Name = "DataDirectory", Description = "DataDirectoryDesc", GroupName = "General", Order = 17)]
public IMarketDataDrive Drive { get; set; }
Property Value
IsFixServer
Is server mode enabled.
[Display(ResourceType = typeof(LocalizedStrings), Name = "FixServer", Description = "HydraFixServer", GroupName = "General", Order = 1)]
public bool IsFixServer { get; set; }
Property Value
MaxCandleCount
The maximum number available to download the IsCandles data history.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Candles", Description = "Maximum", GroupName = "Limits", Order = 5)]
public long? MaxCandleCount { get; set; }
Property Value
- long?
MaxOrderBookCount
The maximum number available to download the MarketDepth data history.
[Display(ResourceType = typeof(LocalizedStrings), Name = "MarketDepths", Description = "Maximum", GroupName = "Limits", Order = 7)]
public long? MaxOrderBookCount { get; set; }
Property Value
- long?
MaxOrderLogCount
The maximum number available to download the OrderLog data history.
[Display(ResourceType = typeof(LocalizedStrings), Name = "OrderLog", Description = "Maximum", GroupName = "Limits", Order = 8)]
public long? MaxOrderLogCount { get; set; }
Property Value
- long?
MaxSecurityCount
Max securities count per request.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Securities", Description = "MaxSecurityCountPerRequest", GroupName = "Limits", Order = 4)]
public int MaxSecurityCount { get; set; }
Property Value
MaxTickCount
The maximum number available to download the Ticks data history.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Ticks", Description = "Maximum", GroupName = "Limits", Order = 6)]
public long? MaxTickCount { get; set; }
Property Value
- long?
MaxTransactionCount
The maximum number available to download the Transactions data history.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Transactions", Description = "Maximum", GroupName = "Limits", Order = 9)]
public long? MaxTransactionCount { get; set; }
Property Value
- long?
OnlyMappedSecurities
Translates on client only mapped securities.
[Display(ResourceType = typeof(LocalizedStrings), Name = "SecurityMapping", Description = "OnlyMappedSecurities", GroupName = "General", Order = 13)]
public bool OnlyMappedSecurities { get; set; }
Property Value
ServerSettings
FIX market data session settings.
[Display(ResourceType = typeof(LocalizedStrings), Name = "FixServer", Description = "MarketDataSession", GroupName = "General", Order = 2)]
public FixServerSettings ServerSettings { get; set; }
Property Value
StorageFormat
Storage format.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Format", Description = "DataFormat", GroupName = "General", Order = 18)]
public StorageFormats StorageFormat { get; set; }
Property Value
SupportRemoteDrives
Support remote drives.
[Display(ResourceType = typeof(LocalizedStrings), Name = "RemoteStorage", Description = "SupportRemoteDrives", GroupName = "General", Order = 14)]
public bool SupportRemoteDrives { get; set; }
Property Value
TranslateSecuritiesAsArchives
Translates securities as archives.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Archives", Description = "TranslateSecuritiesAsArchives", GroupName = "General", Order = 15)]
public bool TranslateSecuritiesAsArchives { get; set; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.