PortfolioMetric class

The PortfolioMetric data represent the metrics of a portfolio.

Constructors

PortfolioMetric({required double beta, required double the26WeekPriceReturnDaily, required double the5DayPriceReturnDaily, required double? the52WeekPriceReturnDaily, required double? dividendPerShareAnnual, required double? treynorQuotient, required double? sharpeRatio, required double? alpha})
PortfolioMetric.fromJson(Map<String, dynamic> json)
factory

Properties

alpha double?
getter/setter pair
beta double
getter/setter pair
dividendPerShareAnnual double?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sharpeRatio double?
getter/setter pair
the5DayPriceReturnDaily double
getter/setter pair
the26WeekPriceReturnDaily double
getter/setter pair
the52WeekPriceReturnDaily double?
getter/setter pair
treynorQuotient double?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited