Class HydraServerSettings
Hydra server settings.
Implements
Ecng.Serialization.IPersistable
Namespace: StockSharp.Hydra.Core.Server
Assembly: StockSharp.Hydra.Core.dll
Syntax
[DisplayNameLoc("Str2211")]
public class HydraServerSettings : Object, IPersistable
Constructors
HydraServerSettings()
Initializes a new instance of the HydraServerSettings.
Declaration
public HydraServerSettings()
Properties
Authorization
Authorization type.
Declaration
public AuthorizationModes Authorization { get; set; }
Property Value
Type | Description |
---|---|
AuthorizationModes |
CandleHistoryMaxDays
The maximum number of days available to download the IsCandles data history.
Declaration
public int CandleHistoryMaxDays { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
IsFixServer
Is server mode enabled.
Declaration
public bool IsFixServer { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
MaxSecurityCount
Max securities count per request.
Declaration
public int MaxSecurityCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
OnlyMappedSecurities
Translates on client only mapped securities.
Declaration
public bool OnlyMappedSecurities { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
OrderBookHistoryMaxDays
The maximum number of days available to download the MarketDepth data history.
Declaration
public int OrderBookHistoryMaxDays { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
OrderLogHistoryMaxDays
The maximum number of days available to download the OrderLog data history.
Declaration
public int OrderLogHistoryMaxDays { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ServerSettings
FIX market data session settings.
Declaration
public FixServerSettings ServerSettings { get; set; }
Property Value
Type | Description |
---|---|
FixServerSettings |
SimulatorEnabled
Is trading simulator enabled.
Declaration
public bool SimulatorEnabled { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
TickHistoryMaxDays
The maximum number of days available to download the Ticks data history.
Declaration
public int TickHistoryMaxDays { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
TransactionsHistoryMaxDays
The maximum number of days available to download the Transactions data history.
Declaration
public int TransactionsHistoryMaxDays { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
Load(SettingsStorage)
Load settings.
Declaration
public void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Save(SettingsStorage)
Save settings.
Declaration
public void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Settings storage. |
Implements
Ecng.Serialization.IPersistable