Files
proxmox/packages/economics-toolkit/config/strategy-template.json
defiQUG dbd517b279 Sync workspace: config, docs, scripts, CI, operator rules, and submodule pointers.
- Update dbis_core, cross-chain-pmm-lps, explorer-monorepo, metamask-integration, pr-workspace/chains
- Omit embedded publish git dirs and empty placeholders from index

Made-with: Cursor
2026-04-12 06:12:20 -07:00

154 lines
3.9 KiB
JSON

{
"version": 1,
"name": "full_strategy_example",
"baseNotionalUsdt": 175,
"aggregateMode": "sequential_compound_usd",
"tags": ["template", "replace_gross_with_live_quotes"],
"legs": [
{
"id": "open_flash_arb",
"kind": "flash_arb_path",
"grossPct": 0.29,
"flashFeePct": 0.09,
"flashNotionalMultiple": 1,
"gasPctOfNotional": 0.1,
"liquidityPct": 0.01,
"notes": "Atomic borrow-trade-repay; align gross with path-check impliedGrossPct."
},
{
"id": "collateral_toggle",
"kind": "collateral_toggle",
"grossPct": 0.02,
"flashFeePct": 0,
"gasPctOfNotional": 0.05,
"liquidityPct": 0,
"fixedCostUsdt": 0,
"notes": "Move collateral between venues; bump gas if extra txs."
},
{
"id": "debt_swap",
"kind": "debt_swap",
"grossPct": 0.03,
"flashFeePct": 0.09,
"flashNotionalMultiple": 2,
"gasPctOfNotional": 0.08,
"liquidityPct": 0.01,
"notes": "Refinance; flash multiple 2 => effective flash vs base = 0.18%."
},
{
"id": "collateral_swap",
"kind": "collateral_swap",
"grossPct": 0,
"flashFeePct": 0,
"gasPctOfNotional": 0.06,
"liquidityPct": 0.02,
"fixedCostUsdt": 0.5,
"notes": "Slippage as negative gross if you model it."
},
{
"id": "unwind_repay",
"kind": "unwind_repay",
"grossPct": -0.01,
"flashFeePct": 0,
"gasPctOfNotional": 0.04,
"liquidityPct": 0,
"notes": "Interest drag as small negative gross."
},
{
"id": "unwind_withdraw",
"kind": "unwind_withdraw",
"grossPct": 0,
"flashFeePct": 0,
"gasPctOfNotional": 0.04,
"liquidityPct": 0,
"notes": "Second unwind tx."
},
{
"id": "bridge_home",
"kind": "bridge_transfer",
"grossPct": -0.05,
"flashFeePct": 0,
"gasPctOfNotional": 0.02,
"liquidityPct": 0,
"fixedCostUsdt": 2,
"notes": "Bridge fee as negative gross or fixed USD."
},
{
"id": "lp_seed",
"kind": "lp_add",
"grossPct": 0.01,
"flashFeePct": 0,
"gasPctOfNotional": 0.07,
"liquidityPct": 0.01,
"notes": "IL not included."
},
{
"id": "spot_trim",
"kind": "spot_swap",
"grossPct": 0.1,
"flashFeePct": 0,
"gasPctOfNotional": 0.1,
"liquidityPct": 0.01,
"notes": "No flash; residual uses 0.29-style gross if you replace."
},
{
"id": "liq_opportunity",
"kind": "liquidation_harvest",
"grossPct": 0.15,
"flashFeePct": 0.09,
"flashNotionalMultiple": 5,
"gasPctOfNotional": 0.15,
"liquidityPct": 0,
"notes": "Rare; competition not modeled."
},
{
"id": "margin_rebal",
"kind": "margin_rebalance",
"grossPct": 0,
"flashFeePct": 0,
"gasPctOfNotional": 0.05,
"liquidityPct": 0,
"notes": "LTV maintenance."
},
{
"id": "intent",
"kind": "intent_fill",
"grossPct": 0.05,
"flashFeePct": 0,
"gasPctOfNotional": 0.12,
"liquidityPct": 0,
"notes": "Solver route."
},
{
"id": "rollup",
"kind": "rollup_batch",
"grossPct": 0,
"flashFeePct": 0,
"gasPctOfNotional": 0.02,
"liquidityPct": 0,
"fixedCostUsdt": 0.25,
"notes": "L2 amortized cost."
},
{
"id": "lp_exit",
"kind": "lp_remove",
"grossPct": 0,
"flashFeePct": 0,
"gasPctOfNotional": 0.06,
"liquidityPct": 0.01,
"notes": "Remove LP."
},
{
"id": "custom_tail",
"kind": "custom",
"grossPct": 0,
"flashFeePct": 0,
"gasPctOfNotional": 0,
"liquidityPct": 0,
"slippageBps": 0,
"protocolFeeBps": 0,
"notes": "Attach your own economics. Optional: slippageBps/protocolFeeBps subtract from gross; derivedFrom / enrich* for automation."
}
]
}