IBenchmark
QuantConnect.Benchmarks.IBenchmark
Specifies how to compute a benchmark for an algorithm
evaluate
evaluate(time: Union[datetime, date]) -> float
Evaluates this benchmark at the specified time
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time
|
Union[datetime, date]
|
The time to evaluate the benchmark at |
required |
Returns:
| Type | Description |
|---|---|
float
|
The value of the benchmark at the specified time. |