Skip to content

OptimizationDateOnlyParameter

Summary

A DateOnly cBot parameter, optimized over a date range or held fixed.

Signature

1
public class OptimizationDateOnlyParameter : OptimizationParameter`1

Namespace

cAlgo.API

See Also

Methods

ToString

Signature

1
public string ToString()

Return Value

string

PrintMembers

Signature

1
protected bool PrintMembers(StringBuilder builder)

Parameters

Name Type Description
builder StringBuilder

Return Value

bool

GetHashCode

Signature

1
public int GetHashCode()

Return Value

int

Equals (3)

Equals (1 of 3)

Signature

1
public bool Equals(object obj)

Parameters

Name Type Description
obj object

Return Value

bool

Equals (2 of 3)

Signature

1
public bool Equals(OptimizationParameter<DateOnly> other)

Parameters

Name Type Description
other OptimizationParameter

Return Value

bool

Equals (3 of 3)

Signature

1
public bool Equals(OptimizationDateOnlyParameter other)

Parameters

Name Type Description
other OptimizationDateOnlyParameter

Return Value

bool

$

Signature

1
public OptimizationDateOnlyParameter <Clone>$()

Return Value

OptimizationDateOnlyParameter

Properties

Min

Summary

Gets the inclusive minimum of the range.

Signature

1
public DateOnly Min {get;}

Return Value

DateOnly

Max

Summary

Gets the inclusive maximum of the range.

Signature

1
public DateOnly Max {get;}

Return Value

DateOnly

Step

Summary

Gets the step of the range, as a time span.

Signature

1
public TimeSpan Step {get;}

Return Value

TimeSpan