Class HydraSecurityStorage
- Namespace
- StockSharp.Hydra.Core
- Assembly
- StockSharp.Hydra.Core.dll
Hydra securities and task association storage.
public class HydraSecurityStorage : BaseLogReceiver, IPersistable, ILogReceiver, ILogSource, IDisposable
- Inheritance
-
HydraSecurityStorage
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
HydraSecurityStorage()
Initializes a new instance of the HydraSecurityStorage.
public HydraSecurityStorage()
Properties
DelayAction
The time delayed action.
public DelayAction DelayAction { get; set; }
Property Value
- DelayAction
Methods
Add(SecurityId, Guid)
Add association.
public void Add(SecurityId secId, Guid taskId)
Parameters
secId
SecurityIdtaskId
GuidTask id.
Clear()
Clear all associations.
public void Clear()
Delete(IEnumerable<SecurityId>)
Remove association.
public void Delete(IEnumerable<SecurityId> secIds)
Parameters
secIds
IEnumerable<SecurityId>
Init()
Initialize the storage.
public void Init()
TryGet(SecurityId)
Try get task id by the specified security identifier.
public Guid? TryGet(SecurityId securityId)
Parameters
securityId
SecurityId