aiden-shared-calculations-unified 1.0.153 → 1.0.154
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Calculates the $ AUM allocated to each asset for a single PI.
|
|
3
|
-
* Includes a lookback mechanism: If AUM is missing today, it checks the last
|
|
3
|
+
* Includes a lookback mechanism: If AUM is missing today, it checks the last 7 days of rankings.
|
|
4
4
|
*/
|
|
5
5
|
class PIDailyAssetAUM {
|
|
6
6
|
static getMetadata() {
|
|
@@ -14,9 +14,9 @@ class PIDailyAssetAUM {
|
|
|
14
14
|
mandatoryRoots: ['portfolio'], // Rankings are mandatory but handled via lookback if missing today
|
|
15
15
|
|
|
16
16
|
// 2. Rankings Lookback Series
|
|
17
|
-
// This requests the last
|
|
17
|
+
// This requests the last 7 days of rankings to be available in context.seriesData.root.rankings
|
|
18
18
|
rootDataSeries: {
|
|
19
|
-
rankings:
|
|
19
|
+
rankings: 7
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
}
|