Require confirmation before execution
The system creates an inspectable order preview and requires explicit user approval. This gives up some speed, but keeps an irreversible financial action behind a human decision point.
Structured trading workflow system for community-based market operations.
Kaiyn Capital distributes market commentary and trading signals through Telegram. The operating problem was not simply parsing a message: users still had to verify the instrument, size the position, check exchange rules, and avoid repeated actions under time pressure.
The system was built to close that gap between signal publication and order submission with an explicit confirmation point, consistent risk calculations, persisted state, and an auditable execution path.
The system creates an inspectable order preview and requires explicit user approval. This gives up some speed, but keeps an irreversible financial action behind a human decision point.
Pending orders, signals, and preview sessions resolve from short Telegram tokens to database-backed state. The added schema and migration work provides restart-safe workflows, audit records, and row-level locking against repeated confirmation.
Network timeouts and uncertain responses are not treated as failed orders or retried automatically. Deterministic client order IDs, a manual-review state, and later reconciliation reduce duplicate-order risk at the cost of administrative review.
The system is deployed and used in Kaiyn Capital operations. It implements the path from Telegram signals and order previews through fixed-risk sizing, exchange-rule validation, Bitget submission, persisted state, and audit records.
Docker-first CI checks migrations, typing, order-safety rules, and PostgreSQL integration. Deployment, health checks, encrypted offsite backups, and restore procedures are documented as part of the operating system rather than treated as afterthoughts.
Parsing unstructured Telegram messages into strict, validated JSON payloads.
Interactive Telegram UI requiring explicit user approval before execution.
PostgreSQL-backed state tracking designed to reduce duplicate submissions through idempotency controls and explicit execution states.
Related writing
Read the confirmation-first workflow case studyThis project is presented as an engineering and workflow-design portfolio project. It does not represent financial advice or a claim of trading profitability.