toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "riskFree": riskFree,
      "totalReturn": totalReturn,
      "cagr": cagr,
      "maxDrawdown": maxDrawdown,
      "calmar": calmar,
      "mtd": mtd,
      "threeMonth": threeMonth,
      "sixMonth": sixMonth,
      "ytd": ytd,
      "oneYear": oneYear,
      "threeYear": threeYear,
      "fiveYear": fiveYear,
      "tenYear": tenYear,
      "inception": inception,
      "dailySharpe": dailySharpe,
      "dailySortino": dailySortino,
      "dailyMean": dailyMean,
      "dailyVolume": dailyVolume,
      "dailySkew": dailySkew,
      "dailyKurt": dailyKurt,
      "bestDay": bestDay,
      "worstDay": worstDay,
      "monthlySharpe": monthlySharpe,
      "monthlySortino": monthlySortino,
      "monthlyMean": monthlyMean,
      "monthlyVol": monthlyVol,
      "monthlySkew": monthlySkew,
      "monthlyKurt": monthlyKurt,
      "bestMonth": bestMonth,
      "worstMonth": worstMonth,
      "yearlySharpe": yearlySharpe,
      "yearlySortino": yearlySortino,
      "yearlyMean": yearlyMean,
      "yearlyVol": yearlyVol,
      "yearlySkew": yearlySkew,
      "yearlyKurt": yearlyKurt,
      "bestYear": bestYear,
      "worstYear": worstYear,
      "avgDrawdown": avgDrawdown,
      "avgDrawdownDays": avgDrawdownDays,
      "avgUpMonth": avgUpMonth,
      "avgDownMonth": avgDownMonth,
      "winYearPerc": winYearPerc,
      "twelveMonthWinPerc": twelveMonthWinPerc,
    };