AI Writing Rules for Market Making & Hedge Documentation
Core Principles
1. Image-First Structure
Rule: Mỗi hình ảnh phải có phần giải thích riêng ngay sau nó. Pattern:2. Field-Level Documentation
Rule: Diễn giải từng field trong mọi màn hình
Requirements:- Mỗi field phải có giải thích riêng
- Bao gồm: tên field, ý nghĩa, đơn vị (nếu có), ví dụ (nếu cần)
- Sử dụng bullet points cho dễ đọc
3. Terminology Standards
Critical Terms (MUST follow exactly):
Value Units:
- VND values: Always specify “(VND)” after the field name
- Percentage: Always specify ”(%)” or “tỷ lệ %”
- Time: Always specify “(ms)” for milliseconds, “(s)” for seconds
- Quantity: Use “khối lượng” consistently
4. Table Documentation
Rule: Mỗi bảng phải có giải thích từng cột
Pattern:5. Enum/Mode Documentation
Rule: Liệt kê và giải thích tất cả các giá trị có thể
Pattern:6. Configuration Sections
Rule: Nhóm các field liên quan và giải thích mục đích của nhóm
Pattern:7. Special Values Documentation
Rule: Giải thích ý nghĩa của các giá trị đặc biệt
Examples:(0 = disabled)- Giá trị 0 có ý nghĩa đặc biệt(0 = không giới hạn)- Giải thích ý nghĩa của 0(WARN = cảnh báo)- Giải thích status code(màu đỏ = thiếu hedge)- Giải thích color coding
8. Examples and Context
Rule: Cung cấp ví dụ cụ thể khi cần thiết
When to include examples:- Giá trị số (VND amounts, percentages)
- Công thức tính toán
- Tỷ lệ chuyển đổi
- Mã chứng khoán
9. Pricing Model Documentation
Rule: Giải thích đầy đủ các tham số của pricing model
Black-Scholes Parameters:10. Layering Configuration
Rule: Giải thích cấu trúc layer và các tham số
Symmetric Layering:11. Safety Configuration
Rule: Giải thích rõ các ngưỡng an toàn và cơ chế bảo vệ
Safety Limits:12. Monitoring Tabs Documentation
Rule: Giải thích mục đích và các metrics trong mỗi tab
Pattern:Checklist for New Documentation
Before submitting documentation, verify:- Mỗi hình có giải thích riêng ngay sau nó
- Tất cả field trong màn hình đều được giải thích
- Sử dụng đúng thuật ngữ (giá lý thuyết, danh nghĩa)
- Đơn vị được ghi rõ (VND, %, ms)
- Enum/mode values được liệt kê đầy đủ
- Giá trị đặc biệt được giải thích (0 = disabled)
- Ví dụ cụ thể khi cần thiết
- Bảng có giải thích từng cột
- Color coding được giải thích (màu đỏ = thiếu hedge)
- Công thức được viết rõ ràng
Quick Reference
Must Include for Every Field:
- Field name (in bold)
- Purpose/meaning (what it does)
- Unit (VND, %, ms) if applicable
- Special values (0 = disabled) if applicable
- Example if it helps clarity
Must Include for Every Image:
- Image tag with descriptive alt text
- Overview of what the screen shows
- Field-by-field breakdown of all visible fields
- Context of when/why to use this screen
