Interface ExpirationContinuousSecurity.IExpirationJumpList
- Namespace
- StockSharp.Algo
- Assembly
- StockSharp.Algo.dll
The interface describing the internal instruments collection ExpirationJumps.
public interface ExpirationContinuousSecurity.IExpirationJumpList : ISynchronizedCollection<KeyValuePair<SecurityId, DateTimeOffset>>, ISynchronizedCollection, IDictionary<SecurityId, DateTimeOffset>, ICollection<KeyValuePair<SecurityId, DateTimeOffset>>, IEnumerable<KeyValuePair<SecurityId, DateTimeOffset>>, IEnumerable
- Inherited Members
- Extension Methods
Properties
FirstSecurity
To get the first instrument by expiration.
SecurityId FirstSecurity { get; }
Property Value
- SecurityId
The first instrument. If the ExpirationJumps is empty, the null will be returned.
this[DateTimeOffset]
To get the instrument for the specified expiration time.
SecurityId this[DateTimeOffset time] { get; }
Parameters
time
DateTimeOffsetThe expiration time.
Property Value
- SecurityId
Security.
LastSecurity
To get the last instrument by expiration.
SecurityId LastSecurity { get; }
Property Value
- SecurityId
The last instrument. If the ExpirationJumps is empty, the null will be returned.
Methods
GetNextSecurity(SecurityId)
To get the next instrument.
SecurityId? GetNextSecurity(SecurityId security)
Parameters
security
SecurityIdSecurity.
Returns
- SecurityId?
The next instrument. If the
security
is the last instrument then null will be returned.
GetPrevSecurity(SecurityId)
To get the previous instrument.
SecurityId? GetPrevSecurity(SecurityId security)
Parameters
security
SecurityIdSecurity.
Returns
- SecurityId?
The previous instrument. If the
security
is the first instrument then null will be returned.