public method IO2GPermissionChecker.canCreateNetCloseOrder

Brief

Determines whether the user may create an order to close all positions for an instrument on an account.

Declaration
C++
virtual O2GPermissionStatus  canCreateNetCloseOrder (const char * instrument) = 0

Parameters
instrument

The instrument name. The value must be one of the values of the Instrument column of the Offers table. The offers of the instrument must be subscribed.

Declared in IO2GPermissionChecker

back