Skip to content

AbsoluteTakeProfitProtections

Summary

Represents a ladder of up to four partial take profits at absolute prices, followed by a final take profit that closes any remaining volume.

Signature

1
public class AbsoluteTakeProfitProtections

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(AbsoluteTakeProfitProtections other)

Parameters

Name Type Description
other AbsoluteTakeProfitProtections

Return Value

bool

$

Signature

1
public AbsoluteTakeProfitProtections <Clone>$()

Return Value

AbsoluteTakeProfitProtections

Properties

FirstTakeProfit

Summary

Gets the first partial take profit, if any.

Signature

1
public AbsoluteTakeProfitProtection FirstTakeProfit {get;}

Return Value

AbsoluteTakeProfitProtection

SecondTakeProfit

Summary

Gets the second partial take profit, if any.

Signature

1
public AbsoluteTakeProfitProtection SecondTakeProfit {get;}

Return Value

AbsoluteTakeProfitProtection

ThirdTakeProfit

Summary

Gets the third partial take profit, if any.

Signature

1
public AbsoluteTakeProfitProtection ThirdTakeProfit {get;}

Return Value

AbsoluteTakeProfitProtection

FourthTakeProfit

Summary

Gets the fourth partial take profit, if any.

Signature

1
public AbsoluteTakeProfitProtection FourthTakeProfit {get;}

Return Value

AbsoluteTakeProfitProtection

LastTakeProfit

Summary

Gets the final take profit that closes the remaining volume.

Signature

1
public AbsoluteTakeProfitLastProtection LastTakeProfit {get;}

Return Value

AbsoluteTakeProfitLastProtection