AuxiliaryDataKey
QuantConnect.Data.Auxiliary.AuxiliaryDataKey
AuxiliaryDataKey(market: str, security_type: SecurityType)
Bases: Object
Unique definition key for a collection of auxiliary data for a Market and SecurityType
Creates a new instance
market
market: str
The market associated with these corporate actions
create
create(
symbol: Union[Symbol, str, BaseContract],
) -> AuxiliaryDataKey
create(
security_identifier: SecurityIdentifier,
) -> AuxiliaryDataKey
Signature descriptions:
-
Helper method to create a new instance from a Symbol
-
Helper method to create a new instance from a SecurityIdentifier
equals
equals(obj: Any) -> bool
Determines whether the specified System.Object is equal to the current System.Object.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
obj
|
Any
|
The object to compare with the current object. |
required |
Returns:
| Type | Description |
|---|---|
bool
|
true if the specified object is equal to the current object; otherwise, false. |
get_hash_code
get_hash_code() -> int
Serves as a hash function for a particular type.
to_string
to_string() -> str
Returns a string containing the market and security type