Skip to main content

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:
DON’T:
DO:

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
Example:

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:
Example:

5. Enum/Mode Documentation

Rule: Liệt kê và giải thích tất cả các giá trị có thể

Pattern:
Example:

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
Pattern:

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
Pattern:

9. Pricing Model Documentation

Rule: Giải thích đầy đủ các tham số của pricing model

Black-Scholes Parameters:
Delta One Parameters:

10. Layering Configuration

Rule: Giải thích cấu trúc layer và các tham số

Symmetric Layering:
Asymmetric 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:
Anti-Arb Safety:

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:

  1. Field name (in bold)
  2. Purpose/meaning (what it does)
  3. Unit (VND, %, ms) if applicable
  4. Special values (0 = disabled) if applicable
  5. Example if it helps clarity

Must Include for Every Image:

  1. Image tag with descriptive alt text
  2. Overview of what the screen shows
  3. Field-by-field breakdown of all visible fields
  4. Context of when/why to use this screen