ResourceType
Resource type hint for permission checks. Allows direct lookup instead of sequential type detection.
enum ResourceType {
STRATEGY
BOT
BOT_STRATEGY
EXCHANGE
BOT_RUNNER
BACKTEST
SIMULATION
HYPEROPT
ORGANIZATION
ALERT_RULE
WORKSPACE
}
Values
ResourceType.STRATEGY
ResourceType.BOT
ResourceType.BOT_STRATEGY
A bot's id, authorized against the STRATEGY the bot runs (its workspace and scope set): a bot-addressed operation that spends on that strategy, such as runShadowBacktest or replayTradeExplanation.
ResourceType.EXCHANGE
ResourceType.BOT_RUNNER
ResourceType.BACKTEST
ResourceType.SIMULATION
ResourceType.HYPEROPT
ResourceType.ORGANIZATION
ResourceType.ALERT_RULE
ResourceType.WORKSPACE
Member Of
AssistantMandateEntry object ● AssistantMandateEntryInput input ● hasScope directive