| Status (English) | Beschreibung (German) | Description (ENG) | Status / Backend |
|---|---|---|---|
| Price Calculation | Deal ist initiiert, wird berechnet, hat noch nicht begonnen. | Deal is initiated, price is being calculated, has not yet started. | PRICE_CALCULATING, Deal type: IMMEDIATE. Initial state when deal is created. Timeout job scheduled to mark as FAILED if no offer received within configured timeout (default 4 minutes). |
| Scheduled | Deal ist terminiert, aber noch nicht gestartet. | Deal is scheduled, but not yet started. | PRICE_CALCULATING, Deal type: SCHEDULED. With biddingPeriodStart in future. Status remains PRICE_CALCULATING until scheduled time arrives. |
| Active | Deal läuft aktuell, Frist läuft. | Deal is currently running, time timer is running down. | PRICED - Offer received from trading system. Deal has offeredPrice set and awaiting customer action (accept/cancel). |
| Ordered | Deal wurde erfolgreich verkauft oder gekauft. | Deal was successfully sold or purchased. | ORDERED - Customer accepted the offer. Deal has acceptedPrice set and is complete. This is a final successful state. |
| Not Completed | Deal wurde nicht abgeschlossen – entweder durch Abbruch oder Fristablauf. | Deal was not completed either due to cancellation or deadline expiration. | CANCELLED - Customer cancelled the deal while in PRICE_CALCULATING or PRICED state. Timeout job deleted if exists. EXPIRED - Deal marked expired by cleanup job (runs via cron: cleanupActiveDealCronExpression). Deals with status EXPIRED, CANCELLED, ORDERED, or FAILED have active flag set to false. |
| Failed | Deal konnte nicht bepreist werden (Fehler, kein Credit, technische Probleme). | Deal could not be priced (error, no credit, technical issues). | FAILED - Deal failed due to: - Timeout: No offer received within timeout period - No costing result in offer - Invalid offer status from trading system - Technical errors during processing |
Created
December 4, 2025 11:19
-
-
Save tonthanhhung/d0047bb29204e6b536ddc532f62ce333 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment