Constructor BracketOrderDefinition
- Namespace
- WhalesSecret.TradeScriptLib.API.TradingV1.Orders.Brackets
- Assembly
- WhalesSecret.TradeScriptLib.dll
BracketOrderDefinition(BracketOrderType, decimal, decimal)
Creates a new instance of the object.
public BracketOrderDefinition(BracketOrderType bracketOrderType, decimal thresholdPrice, decimal sizePercent)
Parameters
bracketOrderType
BracketOrderTypeType of the bracket order.
thresholdPrice
decimalPrice to trigger execution of the order.
sizePercent
decimalSize 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
.