Skip to content

TradingPermission

interface cAlgo.API

DesktopCLICloud

Trading Permission

Definition

public interface TradingPermission

Namespace: cAlgo.API · Group: Permissions · Implements: Permission

Examples

if (!Permissions.TradingPermission.IsAllowed && !Permissions.TradingPermission.Request())
    Print("Trading permission was denied by the user");
if not api.Permissions.TradingPermission.IsAllowed and not api.Permissions.TradingPermission.Request():
    api.Print("Trading permission was denied by the user")

Inherited members

From Permission: Request, IsAllowed

See also