Capital efficiency study simulation

Đang mở
#259 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
blockchain, python
Lĩnh vực
blockchain

Hướng nghiên cứu

The issue names a Python simulation and the ALM and Algo Rebalancer scenarios, but no repository files or tests. Start by locating that simulation and compare its 36-hour, 120-agent run with the listed health-factor, slippage, deviation, and trigger expectations; done means the validation is reproducible and the reported differences are explained.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Whitepaper:

7.4 Market Stress Testing Scenarios

36-Hour Stress Test Validation:

  • Duration: 2160 minutes (36 hours)
  • Price Decline: $100,000 → $50,000 (50% decline)
  • Agent Count: 120 High Tide agents

Parameters:

  • Initial HF: 1.1, Rebalancing HF: 1.025, Target HF: 1.04

Metrics to verify

  • Survival Rate = Agents with HF > 1.0 / Total Agents
    Expected: 85-95% (with rebalancing)
  • Avg Final Health Factor: around target
  • Total Slippage = Σ(Expected MOET - Actual MOET) for all rebalancing events
    Expected: $500-2,000 per agent over 36h
  • Arbitrage Profit = Σ(Pool Price - True Price) × Amount Traded
    Expected: $1,000-5,000 total profit over 36h
  • Max Deviation = max(|pool_price - true_price| / true_price × 10,000)
    Expected Max: 75-150 bps
  • Avg Deviation = mean(|pool_price - true_price| / true_price × 10,000)
    Expected Avg: 15-35 bps
  • ALM Rebalancer triggers at
    minute 720 (12h): First scheduled rebalance,
    minute 1440 (24h): Second scheduled rebalance
    minute 2160 (36h): Final scheduled rebalance
  • Algo Rebalancer triggers:
    When |pool_price - true_price| / true_price × 10,000 ≥ 50 bps
    Expected frequency: 5-15 events over 36h simulation

Actual Python Simulation Results

Stat Result
Survival Rate 100.0% (120/120)
Avg Slippage 0.59/agent
Pool Max Deviation 49.8 bps
Pool Avg Deviation 20.0 bps
Avg Final HF 1.035
Total Agent Rebalances 15,480
ALM Rebalances 2
Algo Rebalances 8

Differences

10 agents, 216 ticks (5-min intervals) vs 120 agents, 2,160 minutely ticks, 36h

Ngôn ngữ chính
Cadence
Star
41
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của onflow/FlowYieldVaults

Tất cả issue của onflow/FlowYieldVaults

Issue tương tự

Thêm issue về Blockchain

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.