Skip to main content
Skip table of contents

Violated restrictions require a higher release level

$T2:=OrderBookGetTask[OrderBookTaskReleaseRequired;2];
$TX:=OrderBookGetTask[OrderBookTaskReleaseRequired];
if((ViolatedPositionRestrictions + ViolatedQuotaRestrictions)>0;
$T2;
$TX)

Two different task objects are created here. Both are of the type "User approval required", but $T2 can only be fulfilled by a user who has order release level 2. The If condition is then used here to differentiate between orders with violated restrictions and orders without such violations. If restrictions are violated, then task $T2 must be fulfilled, if none are violated, task $TX must be fulfilled. This allows you to configure that only certain users (those with order release level 2) can release orders with restriction violations.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.