OptimizationParameter
QuantConnect.Optimizer.Parameters.OptimizationParameter
OptimizationParameter(name: str)
Bases: Object
Defines the optimization parameter meta information
Create an instance of OptimizationParameter based on configuration
This codeEntityType is protected.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
parameter name |
required |
name
name: str
Name of optimization parameter
equals
equals(obj: Any) -> bool
equals(other: OptimizationParameter) -> bool
Signature descriptions:
-
Determines whether the specified object is equal to the current object.
-
Indicates whether the current object is equal to another object of the same type.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
obj
|
Optional[Any]
|
The object to compare with the current object. |
None
|
other
|
Optional[OptimizationParameter]
|
An object to compare with this object. |
None
|
Returns:
| Type | Description |
|---|---|
bool
|
Depends on the signature used. Case 1: [true if the specified object is equal to the current object; otherwise, false.]; Case 2: [true if the current object is equal to the other parameter; otherwise, false.] |
get_hash_code
get_hash_code() -> int
Serves as the default hash function.
Returns:
| Type | Description |
|---|---|
int
|
A hash code for the current object. |