strategy_yield_farm_create
Create a yield-farm strategy -- maintains a target basket allocation.
Shares the rebalance executor (config identical to
strategy_rebalance_create): depositing into an external yield protocol
/ LP position has no faithful swap-pipeline analogue, so this models a
yield farm as keeping a target allocation across the basket via converging
rebalance swaps (hard rule 1: the non-custodial pipeline only rotates spot
holdings, never deposits externally).
Direction (optional, deterministic signal): direction_mode /
allow_short / regime_override -- see strategy_dca_create.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| risk | No | ||
| allow_short | No | ||
| slippage_bps | No | ||
| direction_mode | No | ||
| wallet_address | Yes | ||
| regime_override | No | ||
| interval_seconds | No | ||
| target_allocation | Yes | ||
| drift_threshold_pct | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||