Skip to main content

Command menu

Jump to a page or search the catalog

AI Tools & Scripts

Move a Live Trading Pipeline to a New Server Safely

Safe order of operations for moving a live trading stack to a new server: read-only orientation, provisioning, repo relay, validation from the new IP, isolated trader smoke test, hard cutover with rollback, and honest reporting.

$5.00

What you get: 1 file · 5.88 KB · ZIP

See purchase options

Product description

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.

Example request

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.

Example result

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.

Requirements

  • Claude Code or a compatible agent runtime
  • SSH access to the source and target Linux servers
  • Exchange account that can be made flat during the cutover window
  • Git and tar on both servers

How to install

Unzip into your Claude Code skills folder (~/.claude/skills/ or .claude/skills/ in a project) and start a new session; the skill loads by its description.

What you get

1 file · 5.88 KB

  • trading-pipeline-migration.zipZIP · 5.88 KB
LicenseCommercial use allowed
PublishedDec 3, 2026
File size5.88 KB
File formatZIP
Versionv1.0

Tags

claude codeclaude skillai agenttrading bot
C
Claude Workflow Lab

Frequently asked questions

Do I get access instantly?

Yes. This is a digital product - you can download it right after checkout, straight from your library.

Can I use it for commercial projects?

Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.

What's your refund policy?

You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.

What file formats and sizes will I get?

You'll download 1 file - ZIP - 5.88 KB in total.

Do I get free updates?

Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.

Price

$5.00