AI Tools & Scripts
Port a Crypto Trading Service to a New Exchange
Port a trading service to a new exchange from a working sibling: establish the core's real capabilities first, inventory the core/service seam, port in phases without bending tests, prove it with a minimal live matrix.
What you get: 1 file · 4.54 KB · ZIP
See purchase optionsProduct description
Cloning a sibling trading service for a new exchange is easy to start and easy to get subtly wrong: sibling facts stay in comments, tests get bent to pass, and symbol spelling differs between spot and futures. This skill is the order of work that keeps the port honest.
What is inside (one SKILL.md, no scripts): - Section 0, facts before code: the new core's real capabilities (not the sibling's), an inventory of every call across the core/service seam, a per-package service design, and how each leg spells a coin, including bundle perpetuals priced per thousand units. - Mechanical scaffolding by copy and rename, then a phased port where rename-only packages go to parallel workers. - The rule that tests never bend: a sibling test that pins the sibling's mechanics is rewritten to pin the new rule, red first, and named in the report. - Where the tests run, including a throwaway instance for a different CPU architecture, torn down by a unique tag. - The live matrix: a minimal set of real runs that finds what unit suites cannot. - Shipping notes (docs, conformance ledger, dated live-matrix record) and a traps list.
Who it is for: engineers who maintain a family of per-exchange trading services and need to add one. The live matrix places real orders at minimal size only when you decide to run it; the skill stages it. Examples are Go. It is also part of the Crypto Exchange Connector Engineering Pack at a lower per-skill price.
Example request
Create a trading service for MEXC from our Gate one. The MEXC core library exists. Plan the port and the live test matrix.
Example result
Example on a fictional setup (sibling: gate-trading-service, core: mexc-core).
Phase 0, facts (about an hour, before any code): - Ran the core's read-only smoke test from the test host and read its facts file. Question settled from vendor docs: the venue accepts attached TP/SL on the entry order for futures but not for spot, so spot legs need a separate protective order. This changes the leg design versus the sibling. - Seam inventory: 41 core symbols used by the Gate service, 6 not present in mexc-core. Written to a design file with exact signatures. - Symbol spelling measured off the raw instrument lists: the futures list carries a bundle perpetual priced per 1000 units while spot does not, so a symbol map with a quantity multiplier is required.
Phase 1, scaffold: copy internal, cmd, scripts, module and process config; sed the module path and env prefix; delete every comment stating a Gate fact as MEXC's.
Phase 2, port in phases; config, metrics, order book and logger are rename-only and go to workers. Two sibling tests pin Gate's cancel mechanics; both rewritten, named in the report.
Live matrix (staged, not run): open and close a minimal long, a short, a bundle perpetual, a spot leg, and a protective-order cancel race. Command handed over with a dry-run flag first.
Requirements
- Claude Code or a compatible agent runtime
- Git and a shell
- A working sibling trading service and the new exchange's core library (examples are Go)
- A test host and exchange test or minimal-notional access for the live matrix
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 · 4.54 KB
- exchange-trading-service-port.zipZIP · 4.54 KB
AI Tools & Scripts
Port a Crypto Trading Service to a New Exchange
Port a trading service to a new exchange from a working sibling: establish the core's real capabilities first, inventory the core/service seam, port in phases without bending tests, prove it with a minimal live matrix.
Tags
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 - 4.54 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



