计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
live-strategy【效率与协作】Operate AlphaGPT live strategy, risk, portfolio state, STOP control, and guarded Solana/Jupiter execution.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about AlphaGPT's live strategy runner, risk checks, portfolio state, STOP signal, or Solana/Jupiter execution preflight. This is the safety-critical route: live commands can use private keys, wallet funds, RPC endpoints, Jupiter quotes/swaps, and a database-backed signal loop.
--scope live for broader import/env checks.Never start the live runner, call SolanaTrader.buy, call SolanaTrader.sell,
or run transaction-capable native scripts unless the user has explicitly
authorized live trading for the current wallet, funds, network, token universe,
and slippage policy. Offline validation is not live-trading approval.
best_meme_strategy.json with the checker; it may be a bare token list or an object with a formula key.0..17 and route malformed formulas to factor-mining.STOP_SIGNAL or a custom STOP_SIGNAL_PATH is already active.CryptoDataLoader.load_data(); route empty DB issues to data-pipeline.StrategyRunner.run_loop(self) periodically syncs data, loads tensors, monitors positions, scans entries, and sleeps between cycles.RiskEngine.check_safety(self, token_address, liquidity_usd) rejects low liquidity and checks a Jupiter sell quote.PortfolioManager.add_position(self, token, symbol, price, amount, cost_sol) persists position state to portfolio_state.json.SolanaTrader.buy(self, token_address: str, amount_sol: float, slippage_bps=500) and sell(self, token_address: str, percentage=1.0, slippage_bps=500) are live transaction-capable methods.JupiterAggregator.get_quote(self, input_mint, output_mint, amount_integer, slippage_bps=None) contacts Jupiter's quote API.execution/trader.py contains an inline native test that can attempt a sell; do not use it as a smoke test.| User intent | Read/run | Notes |
|---|---|---|
| "Can I safely start the bot?" | scripts/alpha_gpt_trading_config_check.py then references/live-strategy-reference.md | Offline preflight first, explicit live approval second. |
| "How do buy/sell and quotes work?" | references/execution-safety.md | Explains quote, swap transaction, signing, and confirmation flow. |
| "Why did the runner exit at startup?" | references/troubleshooting.md | Usually missing strategy file or STOP signal. |
| "Why did no trade happen?" | references/troubleshooting.md | Check thresholds, DB tensors, risk quote, balance, and position limits. |
| "Where did positions go?" | references/live-strategy-reference.md | Covers portfolio_state.json shape and persistence. |
Native live strategy and execution candidates are skipped by default because they need credentials, network, database state, wallet funds, and explicit trading authorization. Use the bundled checker and static route review for ordinary verification.