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
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
HydraServerSettings()
Initializes a new instance of the HydraServerSettings.
public HydraServerSettings()
Properties
Authorization
Authorization type.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Authorization", Description = "HydraServerAuthorization", GroupName = "DataServer", Order = 3)]
public IAuthorization Authorization { get; set; }
Property Value
- IAuthorization
CandleHistoryMaxDays
The maximum number of days available to download the IsCandles data history.
[Display(ResourceType = typeof(LocalizedStrings), Name = "CandleMaxDays", Description = "CandleMaxDaysDescription", GroupName = "DataServer", Order = 5)]
public int CandleHistoryMaxDays { get; set; }
Property Value
IsFixServer
Is server mode enabled.
[Display(ResourceType = typeof(LocalizedStrings), Name = "FixServer", Description = "HydraFixServer", GroupName = "DataServer", Order = 1)]
public bool IsFixServer { get; set; }
Property Value
MaxSecurityCount
Max securities count per request.
[Display(ResourceType = typeof(LocalizedStrings), Name = "SecCount", Description = "MaxSecurityCountPerRequest", GroupName = "DataServer", Order = 4)]
public int MaxSecurityCount { get; set; }
Property Value
OnlyMappedSecurities
Translates on client only mapped securities.
[Display(ResourceType = typeof(LocalizedStrings), Name = "SecurityMapping", Description = "OnlyMappedSecurities", GroupName = "DataServer", Order = 13)]
public bool OnlyMappedSecurities { get; set; }
Property Value
OrderBookHistoryMaxDays
The maximum number of days available to download the MarketDepth data history.
[Display(ResourceType = typeof(LocalizedStrings), Name = "OrderBookMaxDays", Description = "OrderBookMaxDaysDescription", GroupName = "DataServer", Order = 7)]
public int OrderBookHistoryMaxDays { get; set; }
Property Value
OrderLogHistoryMaxDays
The maximum number of days available to download the OrderLog data history.
[Display(ResourceType = typeof(LocalizedStrings), Name = "OrderLogMaxDays", Description = "OrderLogMaxDaysDescription", GroupName = "DataServer", Order = 8)]
public int OrderLogHistoryMaxDays { get; set; }
Property Value
ServerSettings
FIX market data session settings.
[Display(ResourceType = typeof(LocalizedStrings), Name = "FixServer", Description = "MarketDataSession", GroupName = "DataServer", Order = 2)]
public FixServerSettings ServerSettings { get; set; }
Property Value
SupportRemoteDrives
Support remote drives.
[Display(ResourceType = typeof(LocalizedStrings), Name = "RemoteStorage", Description = "SupportRemoteDrives", GroupName = "DataServer", Order = 14)]
public bool SupportRemoteDrives { get; set; }
Property Value
TickHistoryMaxDays
The maximum number of days available to download the Ticks data history.
[Display(ResourceType = typeof(LocalizedStrings), Name = "TickMaxDays", Description = "TickMaxDaysDescription", GroupName = "DataServer", Order = 6)]
public int TickHistoryMaxDays { get; set; }
Property Value
TransactionsHistoryMaxDays
The maximum number of days available to download the Transactions data history.
[Display(ResourceType = typeof(LocalizedStrings), Name = "TransactionsMaxDays", Description = "TransactionsMaxDaysDescription", GroupName = "DataServer", Order = 9)]
public int TransactionsHistoryMaxDays { get; set; }
Property Value
TranslateSecuritiesAsArchives
Translates securities as archives.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Archives", Description = "TranslateSecuritiesAsArchives", GroupName = "DataServer", 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.