Skip to content

AbsoluteTakeProfitProtection

Summary

Represents a partial take profit closing a portion of the order volume at an absolute price.

Signature

1
public class AbsoluteTakeProfitProtection

Namespace

cAlgo.API

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 (2)

Equals (1 of 2)

Signature

1
public bool Equals(object obj)

Parameters

Name Type Description
obj object

Return Value

bool

Equals (2 of 2)

Signature

1
public bool Equals(AbsoluteTakeProfitProtection other)

Parameters

Name Type Description
other AbsoluteTakeProfitProtection

Return Value

bool

$

Signature

1
public AbsoluteTakeProfitProtection <Clone>$()

Return Value

AbsoluteTakeProfitProtection

Deconstruct

Signature

1
public void Deconstruct(Double& Volume, Double& Price)

Parameters

Name Type Description
Volume Double&
Price Double&

Return Value

void

Properties

Volume

Summary

The portion of the order volume to close when the take profit is triggered.

Signature

1
public double Volume {get; set;}

Return Value

double

Price

Summary

The absolute price at which the take profit is triggered.

Signature

1
public double Price {get; set;}

Return Value

double