> For the complete documentation index, see [llms.txt](https://docs.xxyy.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xxyy.io/getting-started/k-xian-qu-yu/ping-jun-mai-ru-cheng-ben-xian.md).

# 平均买入成本线

<figure><img src="https://2247387346-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHK48yWdy9eNoNcMFaCuG%2Fuploads%2FjP8TUAiMVoFc8OdpkyMt%2FSCR-20250212-qerv.png?alt=media&amp;token=96114f51-4ea3-4901-9a72-c33848c1e268" alt=""><figcaption></figcaption></figure>

XXYY 会根据每一笔的买入成本计算平均成本线，如果有多次买入就会计算多次买入后的平均成本，方便衡量自身持仓成本。
