利用 BTC/ETH 相关性(β=1.3),在 BTC 大幅波动时交易 ETH 价格层市场。ETH 往往滞后于 BTC 走势,形成错价窗口...
This is a template.
The default signal uses a static BTC/ETH beta of 1.3 -- remix it with rolling correlation windows, multi-asset cointegration, or real-time price feed APIs.
The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.
BTC and ETH are highly correlated, but ETH markets on Kalshi lag BTC moves by hours. This skill monitors BTC price-level markets as a leading indicator, computes ETH fair values using beta=1.3, and trades when ETH markets have not yet adjusted.
Key advantages:
|fair - market| >= entry_edgeParameterDefaultNotesEntry edge10%Min fair-vs-market divergence to tradeExit threshold45%Sell when position price reaches thisMax position size$5.00 USDCPer marketMax trades per run3Rate limitingMax slippage15%Skip if slippage exceedsMin liquidity$0Disabled by default
bash
clawhub install kalshi-crypto-correlation-trader
Requires: SIMMER_API_KEY and SOLANA_PRIVATE_KEY environment variables.
Cron is set to null -- the skill does not run on a schedule until you configure it in the Simmer UI.
The skill defaults to dry-run mode. Real trades only execute when --live is passed explicitly.
ScenarioModeFinancial riskpython trader.pyDry runNoneCron / automatonDry runNonepython trader.py --liveLive (Kalshi via DFlow)Real USDC
The automaton cron is set to null -- it does not run on a schedule until you configure it in the Simmer UI. autostart: false means it won't start automatically on install.
VariableRequiredNotesSIMMER_API_KEYYesTrading authority. Treat as a high-value credential.SOLANA_PRIVATE_KEYYesBase58-encoded Solana private key for live trading.
All risk parameters are declared in clawhub.json as tunables and adjustable from the Simmer UI without code changes.
VariableDefaultPurposeSIMMER_CRYPTO_CORR_ENTRY_EDGE``0.10Min divergence between fair value and market to trigger tradeSIMMER_CRYPTO_CORR_EXIT_THRESHOLD``0.45Sell position when price reaches this levelSIMMER_CRYPTO_CORR_MAX_POSITION_USD``5.00Max USDC per tradeSIMMER_CRYPTO_CORR_MAX_TRADES_PER_RUN``3Max trades per execution cycleSIMMER_CRYPTO_CORR_SLIPPAGE_MAX``0.15Max slippage before skipping (0.15 = 15%)SIMMER_CRYPTO_CORR_MIN_LIQUIDITY``0Min market liquidity USD (0 = disabled)
simmer-sdk is published on PyPI by Simmer Markets.
Review the source before providing live credentials if you require full auditability.