Documentation

eq (fts)

Multiple financial times series object equality

Syntax

tsobj_1 == tsobj_2
iseq = eq(tsobj_1, tsobj_2)

Arguments

tsobj_1

Financial time series object.

tsobj_2

Financial time series object.

Description

tsobj_1 == tsobj_2 returns True (1) if both financial time series objects have the same dates, frequencies, data series names, and data values. Otherwise, eq returns False (0).

    Note:   The data series names are case-sensitive, but do not have to be in the same order within each object.

Examples

expand all

Determine Multiple Financial Times Series Object Equality

This example shows how to determine if multiple financial times series objects are equal.

load disney
dis == dis
ans =

     1

See Also

Was this topic helpful?