Building Cross-Exchange Trading Library With AsyncAPI
summary
Claim: a reusable cross‑exchange trading library is built that generates REST and WebSocket clients from exchange docs and plugs them into a domain API so the same arbitrage strategy runs across exchanges. It uses OpenAPI + AsyncAPI codegen to autogenerate clients, stores docs for Binance Coinbase Hyperliquid in a CI pipeline, implements the Gilda abstraction with local orderbook sync and trading signals, hits a codegen casing bug and lacks AsyncAPI→websocket generator but is open source and functional.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:58Trading companies and exchange APIs
- 4:44Limitations of trading libraries
- 7:33Arduino’s abstraction model
- 11:32Gilda trading abstraction
- 12:58Multi-language support with DSL
- 14:03Generating exchange clients
- 15:47OpenAPI and AsyncAPI tooling
- 17:31API-first vs code-first
- 19:00Closing and community
related talks
31mAsyncAPI is here to stay
42mAsyncAPI Recipes for EDA Gourmet
30mElevating Event-Driven Architecture: Boost your delivery with AsyncAPI and Microcks
23mBroadening the API Landscape: AsyncAPI and CloudEvents in the Enterprise
22mAsync API Specification 2.0
31mSpecify Your Asynchronous APIs with AsyncAPI
02mBringing Clarity to Complex Event Driven Architectures with Standardized API Language
01h 03mOpenAPI and AsyncAPI, when to use which and why
