Ignore:
Timestamp:
09/16/26 23:37:15 (13 days ago)
Author:
Stefan <trsunovstefan@…>
Branches:
main
Children:
8b447ef
Parents:
df05838
Message:

add reserved_quantity and modify the phases, add v_03.png and v_03.xml for P1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/P3-UseCaseModel/UseCase0006.md

    rdf05838 r9577c79  
    1717   SELECT symbol,
    1818          quantity,
     19          COALESCE(reserved_quantity,  0),
     20          COALESCE(available_quantity, quantity),
    1921          COALESCE(avg_price,      0),
    2022          COALESCE(current_price,  0),
    … …  
    2628    ORDER BY symbol;
    2729   ```
     30
     31   `reserved_quantity` is the amount committed to the Trader's own open sell
     32   orders (see [UseCase0005](UseCase0005.md)); `available_quantity` is what is
     33   actually free to sell right now.
    28343. System displays the rows and a computed summary:
    2935
    … …  
    5460       c.symbol,
    5561       h.quantity,
     62       h.reserved_quantity,
     63       (h.quantity - h.reserved_quantity)      AS available_quantity,
    5664       h.avg_price,
    5765       lp.price                                AS current_price,
Note: See TracChangeset for help on using the changeset viewer.