IExpirationJumpList
The interface describing the internal instruments collection ExpirationJumps.
Implements: ISynchronizedCollection<KeyValuePair<SecurityId, DateTime>>, ISynchronizedCollection, ISynchronizable, ICollection<KeyValuePair<SecurityId, DateTime>>, IEnumerable<KeyValuePair<SecurityId, DateTime>>, IEnumerable, IDictionary<SecurityId, DateTime>
Properties
public SecurityId FirstSecurity { get; }
value = iExpirationJumpList.FirstSecurity
To get the first instrument by expiration.
Returns: The first instrument. If the ExpirationJumps is empty, the will be returned.
public SecurityId Item { get; }
value = iExpirationJumpList.Item
To get the instrument for the specified expiration time.
- time
- The expiration time.
Returns: Security.
public SecurityId LastSecurity { get; }
value = iExpirationJumpList.LastSecurity
To get the last instrument by expiration.
Returns: The last instrument. If the ExpirationJumps is empty, the will be returned.
Methods
public SecurityId? GetNextSecurity(SecurityId security)
result = iExpirationJumpList.GetNextSecurity(security)
To get the next instrument.
- security
- Security.
Returns: The next instrument. If the is the last instrument then will be returned.
public SecurityId? GetPrevSecurity(SecurityId security)
result = iExpirationJumpList.GetPrevSecurity(security)
To get the previous instrument.
- security
- Security.
Returns: The previous instrument. If the is the first instrument then will be returned.