Table of Contents

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 BracketOrderType

Type of the bracket order.

thresholdPrice decimal

Price to trigger execution of the order.

sizePercent decimal

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 than 100.