Crypto Trader β Api-Services¶
Business logic and service layer for APIs¶
ApiβServices implements the core business logic used by Crypto Trader APIs and microservices. It orchestrates repositories, components, and communication layers to provide cohesive operations behind HTTP and messaging endpoints.
Important: Past results and backtests do not guarantee future performance. Always start in paper mode. Liability is your own.
βοΈ What it does¶
- Encodes domain rules and invariants
- Coordinates repositories, components, and events
- Exposes use cases consumed by controllers and listeners
β Why it matters¶
- Keeps controllers thin and focused on transport concerns
- Central place to test business behavior thoroughly
π Where it fits in the platform¶
- Used by Api, Data, and Engine endpoints and listeners
- Built atop ApiβModels/Repositories/Components/Communication/Events
π οΈ Technology at a glance¶
- Framework: Spring Boot
- Testing: JUnit Jupiter (via platform testing utilities)
- Build: Maven
π Conventions¶
- Keep side effects explicit; document pre/post conditions
- Favor constructor injection and pure functions where possible
β Questions or help¶
Email Oliver Lear Sigwarth (@theoliverlear): sigwarthsoftware@gmail.com
π License¶
See LICENSE.md in the repository root.