Skip to main content

Automation Rules

Privana lets you define programmable rules that execute trades automatically when conditions are met, without exposing your keys or requiring your presence.

The automation engine is built on the same key encumbrance model that powers everything in Privana. Each rule you create is stored as an access-control policy inside the enclave. When the trigger condition is met, the enclave executes the action on your behalf, using the vault's encumbered key, within the bounds you've defined. No external service can see your rules or trigger conditions.

This is automated, policy-bounded trade execution: the conditional-order features of centralized exchanges, without surrendering custody of your assets.

Available rule types

RuleTriggerWhat It Does
Trailing Stop-LossPortfolio position declines by a percentage you setRebalances to a predefined allocation (e.g., full conversion to USDC). Includes a 5-minute confirmation window to filter short-lived volatility.
Profit-TakePosition appreciates to your target percentageRebalances into stablecoins. Supports stacking multiple thresholds at different price levels.
Price-TriggeredMarket price of an asset crosses your thresholdExecutes a predefined rebalance. Not tied to your portfolio P&L — monitors absolute market price.
Time-ScheduledFixed time or interval (daily, weekly, monthly)Executes a rebalance or allocation change. Ideal for dollar-cost averaging or periodic maintenance.
NightguardPosition declines within a 12-hour activation windowRebalances to stablecoins within the window, then automatically deactivates. Designed for overnight risk management.
Profit-to-YieldRealized trading profit exceeds your thresholdRoutes profits to the yield microservice (e.g., Aave). Principal remains untouched — only realized gains are redirected.
Yield-to-TradingAccumulated yield exceeds your thresholdDeploys yield into spot positions via the swap microservice. Threshold-gated to prevent excessive churn.

Rules are non-conflicting by construction. The accounting layer enforces balance constraints that prevent two active rules from claiming the same assets simultaneously, consistent with the asset-time segmentation principle that underpins all Privana policies.