adjusted closing price股票的调整后价格

本文详细解释了股票调整收盘价的概念及其计算方法。包括现金分红、股票分红和股票分割三种情况下的调整方式,并通过实例说明如何计算调整后的股票价格。
Getsymbols从雅虎拿到的股票数据有6列,
 XLF.Open XLF.High  XLF.Low XLF.Close XLF.Volume XLF.Adjusted


其中比较tricky的就是Adjusted。网上找到的内容很多,但是都不太细致全面,对于非金融专业的人来说,理解还是比较困难。 今天就来细说一下。其实也很好理解了。


http://www.investopedia.com/ask/answers/06/adjustedclosingprice.asp


因为收盘价本身可能不能完全反应股票的价值,比如现金分红,股票分红,股票分割。


1. 现金分红:股票的调整价格应该在收盘价的基础上减掉现金分红的部分。比如XYZ公司收盘价是20块钱,收盘后公司宣布会每股分红1.5块,那么股票调整价格就是18.50块。(非常容易吧!)


2. 股票分红:如果公司决定不分现金,而分给你股票。比如公司宣布2:1的股票分红,也就是每一份股票会分给你两份新的股票(这只是个例子)。那么股票调整价格就是$20*(1/(2+1))=6.67块。


3. 股票分割:如果是2:1的股票分割,那么意味着每一股会得到一股新的股票。那么股票调整价格就是$20*(1/(1x2))=10块。


简单来说,调整价格能更好的反应出股票实际的价格。


During the course of a trading day, many things can happen to affect a stock's price. Along with good and bad news relating to the operations of a company, any sort of distribution that is made to investors will also affect stock price. These distributions can include cash dividends, stock dividends and stock splits.


When distributions are made, the adjusted closing price calculations are quite simple. For cash dividends, the value of the dividend is deducted from the last closing sale price of the stock. For example, let's assume that the closing price for one share of XYZ Corp. is $20 on Thursday. After close on Thursday, XYZ Corp. announces a dividend distribution of $1.50 per share. The adjusted closing price for the stock would then be $18.50 ($20-$1.50).


If XYZ Corp. announces a 2:1 stock dividend instead of a cash dividend, the adjusted closing price calculation will change. A 2:1 stock dividend means that for every share an investor owns, he or she will receive two more shares. In this case, the adjusted closing price calculation will be $20*(1/(2+1)). This will give you a price of $6.67, rounded to the nearest penny.


If XYZ Corp. announces a 2:1 stock split, investors will receive an extra share for every share they already own. This time the calculation will be $20*(1/(1x2)), resulting in an adjusted closing price of $10.
### 计算股票投资的累计收益 股票累计收益率可以通过以下公式计算: \[ \text{Cumulative Return} = \frac{\text{Final Price} - \text{Initial Price}}{\text{Initial Price}} \] 或者考虑分红等因素时,可以使用总回报调整价格Adjusted Close),其公式为: \[ \text{Cumulative Return (with Adjusted Close)} = \frac{\text{Adj Close}_{\text{final}}}{\text{Adj Close}_{\text{initial}}} - 1 \] 以下是基于 Python 的实现代码示例,假设我们通过 Tushare 获取股票的历史数据。 #### 使用 Pandas 和 Tushare 实现股票累计收益计算 ```python import pandas as pd import tushare as ts # 设置Tushare API Token并初始化接口 ts.set_token('your_tushare_api_token') pro = ts.pro_client() def calculate_cumulative_return(stock_code, start_date, end_date): """ Calculate cumulative return of a stock over the specified period. Parameters: stock_code (str): Stock code e.g., '000001.SZ' start_date (str): Start date in format YYYYMMDD end_date (str): End date in format YYYYMMDD Returns: float: Cumulative return value """ # Fetch historical data from Tushare df = pro.daily(ts_code=stock_code, start_date=start_date, end_date=end_date) if df.empty: raise ValueError("No data available for the given stock and time range.") # Sort by trade date to ensure chronological order df.sort_values(by='trade_date', inplace=True) # Use adjusted close price for accurate calculation initial_price = df.iloc[0]['close'] # Initial closing price final_price = df.iloc[-1]['close'] # Final closing price # Compute cumulative return cumulative_return = (final_price - initial_price) / initial_price return cumulative_return # Example usage cumulative_return_value = calculate_cumulative_return('000001.SZ', '20220101', '20230101') print(f"Cumulative Return: {cumulative_return_value:.2%}") ``` 上述代码实现了从指定日期范围内的收盘价中提取初始价格和最终价格,并利用它们计算累计收益率[^1]。此方法适用于单只股票的投资分析场景。 --- ### 关于基金收益跟踪的相关扩展 如果需要进一步拓展到基金收益的追踪,则可以根据基金份额数量以及单位净值的变化来计算基金的累计收益。具体而言,可通过 `fund_share` 函数获取份额变化,再结合 `fund_nav` 数据完成更复杂的收益评估逻辑[^3]。 另外,在实际投资过程中,除了关注累计收益外,还需要注意其他风险指标,比如最大回撤率。它衡量的是投资者可能面临的最坏亏损情况,定义为任意时间点至后续最低净值之间的跌幅百分比[^4]。 ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值