Table of Contents

Method IsTerminated

Namespace
WhalesSecret.TradeScriptLib.API.TradingV1.Orders
Assembly
WhalesSecret.TradeScriptLib.dll

IsTerminated(OrderStatus)

Checks if the given order status denotes an order that is not open.

public static bool IsTerminated(this OrderStatus orderStatus)

Parameters

orderStatus OrderStatus

Order status to check.

Returns

bool

true if the order status denotes a terminated order, false otherwise.

Remarks

Note that the value true means that the order is no longer open or it might have never be open in the first place as it might have been rejected.