matlab price2ret,Convert return series to price series for time series object

使用ret2tick函数将金融时间序列对象的回报系列转换为价格系列。此函数允许指定初始价格、起始时间和转换方法,支持简单和连续复利两种方式。例子展示了如何从回报序列计算价格系列。
摘要由CSDN通过智能技术生成

ret2tick (fts)

Convert return series to price series for time series object

ret2tick (fts) is not recommended. Use ret2tick instead.

Syntax

priceFts = ret2tick(returnFts)

priceFts = ret2tick(returnFts,'PARAM1',VALUE1,'PARAM2',VALUE2', ...)

Arguments

returnFtsFinancial time series object of returns.

'PARAM1'(Optional) StartPrice is a Numeric value

and is a scalar or 1-by-N vector of initial prices

for each asset. If StartPrice is unspecified or empty, the initial price

of all assets is 1.

'PARAM2'(Optional) StartTime is Date value for a

scalar date number or a single date character vector specifying the starting time for the

first observation. This date is applied to the price series of all assets.

Note

The first period price value of the resulting price series will n

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值