Class SecurityFilter
- Namespace
- ATAS.DataFeedsCore
- Assembly
- ATAS.DataFeedsCore.dll
Criteria of a security search request sent to a connector (SearchSecurities). Each connector uses the fields it supports;
empty strings and zero values mean that the criterion is not set.
public class SecurityFilter
- Inheritance
-
objectSecurityFilter
- Extension Methods
Constructors
SecurityFilter()
public SecurityFilter()
Properties
Code
Gets or sets the security code (symbol) in the connector's format.
public string Code { get; set; }
Property Value
- string
ContractCode
Gets or sets the contract code from the ATAS instrument catalog.
public string ContractCode { get; set; }
Property Value
- string
ContractExchange
Gets or sets the exchange code of the contract in the ATAS instrument catalog.
public string ContractExchange { get; set; }
Property Value
- string
ContractId
Gets or sets the identifier of the contract in the ATAS instrument catalog; 0 when not set.
public long ContractId { get; set; }
Property Value
- long
Exchange
Gets or sets the exchange code in the connector's format.
public string Exchange { get; set; }
Property Value
- string
Expiration
Gets or sets the expiration date of the requested contract (for futures); null when not set.
public DateTime? Expiration { get; set; }
Property Value
- DateTime?
Id
Gets or sets the security ID (SecurityId).
public string Id { get; set; }
Property Value
- string
RequestId
Gets or sets the identifier of the search request; when it is 0, the connector assigns a new one when the search starts.
public long RequestId { get; set; }
Property Value
- long
Type
Gets or sets the security type.
public SecType Type { get; set; }
Property Value
Methods
ToString()
Returns the set criteria for logs, for example Request:0000002A Code:NQZ5 Exchange:CME.
public override string ToString()
Returns
- string
The description.