Financial Time Series | ![]() ![]() |
Financial time series addition
Syntax
newfts = tsobj_1 + tsobj_2 newfts = tsobj + array newfts = array + tsobj
Arguments
tsobj |
Financial time series object |
array |
A scalar value or array with number of rows equal to the number of dates in tsobj and number of columns equal to the number of data series in tsobj . |
Description
minus
is an element-by-element addition of the contents of the components.
newfts = tsobj_1 + tsobj_2
adds financial time series objects. If an object is to be added to another object, both objects must have the same dates and data series names, although the order need not be the same. The order of the data series, when one financial time series object is added to another, follows the order of the first object.
newfts = tsobj + array
adds an array element-by-element to a financial time series object.
newfts = array + tsobj
adds a financial time series object element-by-element to an array.
See Also
![]() | plot | posvolidx | ![]() |