MiniCTRM - Build Tutorial 623: Integrations: CSV in and out, feed adapters and the API
→ to begin · N for the speaker notes
On a phone: Next or a swipe left to begin, Notes for the words.
What you'll learn
A deal CSV import and export with a Check first and a rejections report by line, a market-data adapter behind one interface with a file-based and a test implementation picked by a setting, a trade inbox where an arrival lands as received and is booked through the one door, outbound files written by a job and never overwritten, and the API documented from the code under a versioned path.
What an integration is – File, call and feed: the three ways another system's data arrives or leaves.
Data coming in – The three rules that keep an integration safe; deals by CSV, a market-data adapter behind one interface, and a trade inbox through the one door.
Data going out, and the API – How a file is handed to another system safely; files written on a schedule and never overwritten; the API documented from the code, with a version.
Ship it – Every test, a build, a commit.
How MiniCTRM did it – Import from CSV and the one door behind it; the API's description, and the two things MiniCTRM has not built.
Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.
Welcome
Other systems' data, in and out
1 / 15What an integration is
By file, by call, by feed
2 / 15Data coming in
Three rules that keep an integration safe
3 / 15Data coming in
Deals by CSV, in and out
4 / 15Data coming in
An interface, an adapter and a seam
5 / 15Data coming in
A market-data adapter
6 / 15Data coming in
A trade inbox
7 / 15Data going out, and the API
Handing a file to another system
8 / 15Data going out, and the API
Files going out, on a schedule
9 / 15Data going out, and the API
What an API is, and why it is documented from the code
10 / 15Data going out, and the API
Documented from the code, under /api/v1
11 / 15Ship it
Ship it
12 / 15How MiniCTRM did it
Import from CSV, and the door behind it
13 / 15How MiniCTRM did it
The API's description, and a glossary kept by a test
14 / 15What you have now
What you have now
15 / 15
You have finished lesson 623, Integrations: CSV in and out, feed adapters and the API.