Repository navigation
Solana-first production: system profile controls workers, Solana performance report - #59
Merged
Conversation
…ormance report SYSTEM_PROFILE=SOLANA_ONLY (default) with COPY_TRADING_ENABLED=false: - data-evm and copy-engine are behind compose profiles "evm" and "copy"; deploy.sh turns profiles on from .env (scripts/compose-profiles.sh) and stops and removes the container of a worker that is off. A disabled worker started by hand only idles with a "disabled" heartbeat. - ml skips the BSC / Robinhood cycle and their frozen validation sets; Solana ML is unchanged. - copy trading reads SUSPENDED and cannot be resumed (409 COPY_DISABLED). - the API refuses BSC / Robinhood BUY, SELL and new copy targets with 409 CHAIN_DISABLED; System Health shows DISABLED, not failures; pages show a banner. Nothing is deleted; reversed in .env and redeployed. New read-only Solana PAPER vs LIVE report (/api/analytics/solana-performance and a dashboard page): by stage, hold time, entry quality and exit reason, profit factor, drawdown, MFE / MAE, missed winners, false positives and LIVE execution telemetry. Test for the Pump 6005 curve-complete sell fallback to PumpSwap. docs/SOLANA_FIRST_PRODUCTION_AUDIT.md. No change to Solana execution, the transaction guard, risk limits or sizes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015vpuZ1UX4MXz7NCF7wrtDv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
SYSTEM_PROFILE=SOLANA_ONLY(the default) withCOPY_TRADING_ENABLED=falsenow changes what actually runs on the server, not just what the dashboard shows.data-evm(BSC / Robinhood) andcopy-engineare behind the compose profilesevmandcopy.scripts/deploy.shreads.envthroughscripts/compose-profiles.sh, starts only the profiles that are on, and stops and removes the container of a worker that is off.--remove-orphansalone would leave it running.GET /api/system/profile.DISABLED, not counted in the overall state, showing "DISABLED — SOLANA_ONLY MODE".GET /api/analytics/solana-performance?days=N, the Trading > Solana Performance page, andpython -m yonixalpha_core.solana_performance.docs/SOLANA_FIRST_PRODUCTION_AUDIT.md(22 sections, VERIFIED / NOT VERIFIED / BLOCKED).Nothing is deleted. Code, tables, history and settings are kept, and the change is reversed by editing
.envand redeploying. There is no change to Solana execution, the transaction guard, risk limits or position sizes.Open EVM paper positions stay frozen while their chain is off. They are paper only, and EVM live is locked.
Tests
Five existing tests now set MULTI_CHAIN or COPY_TRADING_ENABLED for the multi-chain part they exercise. Each also asserts the new SOLANA_ONLY behaviour. No test was removed.
Not verified here: the server-side container stop, because there is no Docker daemon in the build environment. Audit section 21 has the check.
🤖 Generated with Claude Code
https://claude.ai/code/session_015vpuZ1UX4MXz7NCF7wrtDv
Generated by Claude Code