scope360-core 0.0.226 → 0.0.228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/scope360-core.js
CHANGED
|
@@ -20897,7 +20897,7 @@ const ev = /* @__PURE__ */ OR("line", Ll), PR = { class: "chart-container" }, tv
|
|
|
20897
20897
|
p = d.length !== 0 ? d.map((g) => (h.add(g.date), on(g.balance * Qf(), 2))) : [0, 0];
|
|
20898
20898
|
break;
|
|
20899
20899
|
case "performanceChartData":
|
|
20900
|
-
p = d.length !== 0 ? d.map((g) => (h.add(g.date), on(g.pnl_to_deposit, 2))) : [0, 0];
|
|
20900
|
+
p = d.length !== 0 ? d.map((g, y) => (h.add(g.date), on(y ? g.pnl_to_deposit + g[y - 1].pnl_to_deposit : g.pnl_to_deposit, 2))) : [0, 0];
|
|
20901
20901
|
break;
|
|
20902
20902
|
}
|
|
20903
20903
|
f.push({
|