Class TakeProfitLimitOrderRequest
- Namespace
- WhalesSecret.TradeScriptLib.Entities.Orders
- Assembly
- WhalesSecret.TradeScriptLib.dll
Take-profit-limit order request representation.
public sealed class TakeProfitLimitOrderRequest : OrderRequest, IEquatable<OrderRequest>, ILimitLikeOrderRequest, IEquatable<TakeProfitLimitOrderRequest>
- Inheritance
-
TakeProfitLimitOrderRequest
- Implements
- Inherited Members
- Extension Methods
Constructors
- TakeProfitLimitOrderRequest(string?, SymbolPair, OrderSide, decimal, decimal, decimal, TimeInForce)
Creates a new instance of the object.
Properties
- ThresholdPrice
When SymbolPair exchange market reaches the price, the take-profit-limit order becomes Limit order with price set to Price.
- TimeInForce
Specifies how long an order is supposed to be active.
Methods
- Equals(object?)
Determines whether the specified object is equal to the current object.
- Equals(TakeProfitLimitOrderRequest?)
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 ==(TakeProfitLimitOrderRequest?, TakeProfitLimitOrderRequest?)
Determines whether two specified take profit limit order requests have the same value.
- operator !=(TakeProfitLimitOrderRequest?, TakeProfitLimitOrderRequest?)
Determines whether two specified take profit limit order requests have different values.