- Home
- Skills
- DevOps & Cloud
- Move a Live Trading Pipeline to a New Server Safely
Move a Live Trading Pipeline to a New Server Safely
Moving a live trading service means one mistake can double-trade or orphan a position.
$5
What it does
- Safe order of operations for moving a live trading stack to a new server
- Defines what flat really means: no positions, no spot leftovers, no resting or trailing orders
- Starts read-only, inventories both servers and validates trading from the new IP
Move a Live Trading Pipeline to a New Server Safely
Example session with this skill installed
Move our trading service and its signal producers from the old server to a new VPS. Plan it so only one box ever trades and I can roll back.
- Read your context and instructions
- Compiled the move a live
Example on a fictional setup (source: old-host, target: new-host, services run under PM2).
Phase 0, read-only: ssh to both works; PM2 on old-host shows trader, listener, two signal producers and a local redis. go.mod of the trader has a replace to ../core and ../signal-lib, so both sibling repos must exist next to it on new-host. Exchange API key is IP-allowlisted: new-host's IP has to be added by you in the exchange UI before Phase 3.
Phase 1: provision new-host with a normal user under /home/user; no privileged ports needed.
Phase 2: tar each repo with .git and untracked files, excluding bin/ and logs/; relay via the workstation; extract as siblings. Private Go modules: copy the source's module cache and set GOPRIVATE; build offline.
Phase 3: build and run read-only checks from the new IP; no trading.
Phase 4, only in a flat window. Flat check: no futures position, no spot bag, no resting conditional or trailing orders. Then stop ONLY the old trader, start the new trader alone against its own empty signal memory, confirm it idles. Then stop old producers, start new producers.
Rollback: old-host stays stopped but intact; restart order is listener, producers, trader.
Report will state what was verified on each host and what was not.
Connects securely to your tools. The creator never sees your data.
About this skill
Moving a live trading service means one mistake can double-trade or orphan a position. This skill is the choreography that prevents both, written for a Go and PM2 pipeline (trading service, market listener, signal producers, local redis) but applicable to any similar stack.
What is inside (one SKILL.md, no scripts; it includes shell snippets):
- Golden rules, then Phase 0, read-only orientation: reaching both servers, inventorying what actually runs and where it maps, and closing the build-dependency graph (every local replace directive means a sibling repo must exist next to it on the target).
- Phase 1, provisioning the target with the source untouched; Phase 2, a tar relay of repos with their git history, plus handling private Go dependencies without git-host credentials on the target.
- Phase 3, validation from the new IP, including IP-allowlisted API keys, still without trading.
- Phase 4, the cutover: what FLAT really means (no futures position, no spot bag, no resting conditional or trailing orders), a zero-double-trade trader smoke test, a hard cutover and the rollback.
- Phase 5, post-cutover checks; notes on provisioning a throwaway cloud target; ordering discipline; and an Adapt-to-your-setup section.
Who it is for: operators of small trading stacks on their own Linux servers. The skill needs an account you can make flat, and it never trades by itself. It is also part of the Crypto Exchange Connector Engineering Pack at a lower per-skill price.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
- Claude Codeora compatible agent runtimeGit and tar on both servers
Git
Exchange account that can be made flat during the cutover window.
Permissions
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.