测试.qmd编写

note
Published

2025-09-25

1 markdown

console.log("hello")
  • 折行测试: rolling_max = np.array([np.max(prices[i:i+window]) for i in range(len(prices) - window + 1)]), rolling_max = np.array([np.max(prices[i:i+window]) for i in range(len(prices) - window + 1)])

2 mermaid

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;

3 video

4 python

print("hello")
hello

5 image

6 iframe

7 html

📊 策略核心指标

  • 年化收益:21.3%
  • 最大回撤:-12.1%
  • 夏普比率:1.85

8 plotly

9 details

🔍 策略参数配置(点击展开)
# 参数配置
stop_loss = 0.03
take_profit = 0.08
lookback = 20
volatility_filter = 0.5