Class BracketOrderDefinition
- Namespace
- WhalesSecret.TradeScriptLib.API.TradingV1.Orders.Brackets
- Assembly
- WhalesSecret.TradeScriptLib.dll
Description of the bracket order to be placed when the working order is fully filled.
public class BracketOrderDefinition : IEquatable<BracketOrderDefinition>
- Inheritance
-
BracketOrderDefinition
- Implements
- Inherited Members
- Extension Methods
Constructors
- BracketOrderDefinition(BracketOrderType, decimal, decimal)
Creates a new instance of the object.
Properties
- BracketOrderType
Type of the bracket order.
- SizePercent
Size of the bracket order in percent relative to the filled size of the working order. It must a number greater than
0
and not greater than100
.
- ThresholdPrice
Price to trigger execution of the order.
Methods
- Equals(object?)
Determines whether the specified object is equal to the current object.
- Equals(BracketOrderDefinition?)
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 ==(BracketOrderDefinition?, BracketOrderDefinition?)
Determines whether two specified bracket order definitions have the same value.
- operator !=(BracketOrderDefinition?, BracketOrderDefinition)
Determines whether two specified bracket order definitions have different values.