class IO2GPermissionChecker
Parents | |
IAddRef |
Brief
Checks permissions.
Details
To get an instance of the class, use the method
IO2GLoginRules
.getPermissionChecker
.
IO2GPermissionChecker [hide]
IO2GLoginRules *loginRules = session->getLoginRules(); IO2GPermissionChecker *permissionChecker = loginRules->getPermissionChecker(); std::cout << "canCreateMarketOpenOrder = " << ParseO2GPermissionStatus(permissionChecker->canCreateMarketOpenOrder(instrument.c_str())) << std::endl; permissionChecker->release(); loginRules->release();
Public Methods | |
Determines whether the user may accept a quote provided by the dealer. |
|
Determines whether the user may change entry orders. |
|
Determines whether the user may change close market orders. |
|
Determines whether the user may change open market orders. |
|
Determines whether the user may change an order to close all positions for an instrument on an account. |
|
Determines whether the user may change net stop/limit orders. |
|
Determines whether the user may change the offer subscription. |
|
Determines whether the user may change stop/limit orders. |
|
Determines whether the user may create entry orders. |
|
Determines whether the user may create close market orders. |
|
Determines whether the user may create open market orders. |
|
Determines whether the user may create an order to close all positions for an instrument on an account. |
|
Determines whether the user may create net stop/limit orders. |
|
Determines whether the user may create a new OCO order. |
|
Determines whether the user may create stop/limit orders. |
|
Determines whether the user may delete entry orders. |
|
Determines whether the user may delete close market orders. |
|
Determines whether the user may delete open market orders. |
|
Determines whether the user may delete an order to close all positions for an instrument on an account. |
|
Determines whether the user may delete net stop/limit orders. |
|
Determines whether the user may delete a quote provided by the dealer. |
|
Determines whether the user may delete stop/limit orders. |
|
Determines whether the user may exclude orders from the existing OCO order. |
|
Determines whether the user may add orders to the existing OCO order. |
|
Determines whether the user may request a quote. |
|
Determines whether the user may use trailing entry limit and net limit orders with a dynamic step. |
|
Determines whether the user may use trailing entry stop and net stop orders with a dynamic step. |
|
Determines whether the user may use trailing limit orders with a dynamic step. |
|
Determines whether the user may use trailing stop orders with a dynamic step. |
|
Determines whether the user may use trailing entry limit and net limit orders with a fixed step. |
|
Determines whether the user may use trailing entry stop and net stop orders with a fixed step. |
|
Determines whether the user may use trailing limit orders with a fixed step. |
|
Determines whether the user may use trailing stop orders with a fixed step. |