Table of Contents

Class TakeProfitOrderRequest

Namespace
WhalesSecret.TradeScriptLib.Entities.Orders
Assembly
WhalesSecret.TradeScriptLib.dll

Take-profit order request representation.

public sealed class TakeProfitOrderRequest : OrderRequest, IEquatable<OrderRequest>, IEquatable<TakeProfitOrderRequest>
Inheritance
TakeProfitOrderRequest
Implements
Inherited Members
Extension Methods

Constructors

TakeProfitOrderRequest(string?, SymbolPair, OrderSide, decimal, decimal, bool)

Creates a new instance of the object.

Properties

ThresholdPrice

When SymbolPair exchange market reaches the price, the take-profit order becomes Market order.

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

Equals(TakeProfitOrderRequest?)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.

ToString()

Returns a string that represents the current object.

Operators

operator ==(TakeProfitOrderRequest?, TakeProfitOrderRequest?)

Determines whether two specified take profit order requests have the same value.

operator !=(TakeProfitOrderRequest?, TakeProfitOrderRequest?)

Determines whether two specified take profit order requests have different values.

See Also