@adaptic/utils 0.0.370 → 0.0.373

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.
@@ -0,0 +1,328 @@
1
+ /**
2
+ * Asset Allocation Algorithm Types
3
+ *
4
+ * Comprehensive type definitions for intelligent asset allocation
5
+ * across multiple asset classes based on risk profile, market conditions,
6
+ * and portfolio optimization principles.
7
+ */
8
+ /**
9
+ * Asset classes supported for allocation
10
+ */
11
+ export type AllocationAssetClass = 'EQUITIES' | 'OPTIONS' | 'FUTURES' | 'ETF' | 'FOREX' | 'CRYPTO';
12
+ /**
13
+ * Risk profile levels
14
+ */
15
+ export type RiskProfile = 'CONSERVATIVE' | 'MODERATE_CONSERVATIVE' | 'MODERATE' | 'MODERATE_AGGRESSIVE' | 'AGGRESSIVE';
16
+ /**
17
+ * Market condition states
18
+ */
19
+ export type MarketCondition = 'BULL' | 'BEAR' | 'SIDEWAYS' | 'HIGH_VOLATILITY' | 'LOW_VOLATILITY' | 'CRISIS';
20
+ /**
21
+ * User preferences for allocation
22
+ */
23
+ export interface AllocationPreferences {
24
+ /** Preferred asset classes (empty means all allowed) */
25
+ preferredAssetClasses?: AllocationAssetClass[];
26
+ /** Excluded asset classes */
27
+ excludedAssetClasses?: AllocationAssetClass[];
28
+ /** Minimum allocation per asset class (0-1) */
29
+ minAllocationPerClass?: number;
30
+ /** Maximum allocation per asset class (0-1) */
31
+ maxAllocationPerClass?: number;
32
+ /** Enable ESG/sustainable investing */
33
+ esgFocused?: boolean;
34
+ /** Target return (annualized %) */
35
+ targetReturn?: number;
36
+ /** Maximum acceptable drawdown (%) */
37
+ maxDrawdown?: number;
38
+ /** Rebalancing frequency in days */
39
+ rebalancingFrequency?: number;
40
+ /** Tax optimization enabled */
41
+ taxOptimized?: boolean;
42
+ }
43
+ /**
44
+ * Market condition metrics
45
+ */
46
+ export interface MarketMetrics {
47
+ /** VIX or volatility index level */
48
+ volatilityIndex: number;
49
+ /** Market trend direction */
50
+ trendDirection: 'UP' | 'DOWN' | 'NEUTRAL';
51
+ /** Market strength (0-100) */
52
+ marketStrength: number;
53
+ /** Fear & greed index (0-100) */
54
+ sentimentScore: number;
55
+ /** Interest rate environment */
56
+ interestRateLevel: 'LOW' | 'MEDIUM' | 'HIGH';
57
+ /** Inflation rate (%) */
58
+ inflationRate: number;
59
+ /** Credit spread (basis points) */
60
+ creditSpread: number;
61
+ /** Economic cycle phase */
62
+ economicPhase: 'EXPANSION' | 'PEAK' | 'CONTRACTION' | 'TROUGH';
63
+ }
64
+ /**
65
+ * Asset class characteristics
66
+ */
67
+ export interface AssetClassCharacteristics {
68
+ /** Asset class identifier */
69
+ assetClass: AllocationAssetClass;
70
+ /** Historical volatility (annualized %) */
71
+ volatility: number;
72
+ /** Expected return (annualized %) */
73
+ expectedReturn: number;
74
+ /** Sharpe ratio */
75
+ sharpeRatio: number;
76
+ /** Maximum drawdown (%) */
77
+ maxDrawdown: number;
78
+ /** Liquidity score (0-100) */
79
+ liquidityScore: number;
80
+ /** Correlation with other asset classes */
81
+ correlations: Map<AllocationAssetClass, AssetClass, number>;
82
+ /** Current market cap or total value available */
83
+ marketSize: number;
84
+ /** Transaction costs (%) */
85
+ transactionCost: number;
86
+ /** Minimum investment required */
87
+ minimumInvestment: number;
88
+ }
89
+ /**
90
+ * Allocation constraint
91
+ */
92
+ export interface AllocationConstraint {
93
+ /** Constraint type */
94
+ type: 'MIN_ALLOCATION' | 'MAX_ALLOCATION' | 'SECTOR_LIMIT' | 'LIQUIDITY_REQ' | 'CORRELATION_LIMIT' | 'CONCENTRATION_LIMIT';
95
+ /** Asset class affected */
96
+ assetClass?: AllocationAssetClass;
97
+ /** Constraint value */
98
+ value: number;
99
+ /** Constraint priority (1=highest) */
100
+ priority: number;
101
+ /** Hard constraint (must be satisfied) or soft (preference) */
102
+ hard: boolean;
103
+ }
104
+ /**
105
+ * Allocation result for a single asset class
106
+ */
107
+ export interface AssetAllocation {
108
+ /** Asset class */
109
+ assetClass: AllocationAssetClass;
110
+ /** Allocation percentage (0-1) */
111
+ allocation: number;
112
+ /** Allocation amount in currency units */
113
+ amount: number;
114
+ /** Risk contribution to portfolio */
115
+ riskContribution: number;
116
+ /** Expected return contribution */
117
+ returnContribution: number;
118
+ /** Rationale for allocation */
119
+ rationale: string;
120
+ /** Confidence level (0-1) */
121
+ confidence: number;
122
+ }
123
+ /**
124
+ * Complete allocation recommendation
125
+ */
126
+ export interface AllocationRecommendation {
127
+ /** Unique recommendation ID */
128
+ id: string;
129
+ /** Individual asset allocations */
130
+ allocations: AssetAllocation[];
131
+ /** Total portfolio metrics */
132
+ portfolioMetrics: PortfolioMetrics;
133
+ /** Risk analysis */
134
+ riskAnalysis: RiskAnalysis;
135
+ /** Diversification metrics */
136
+ diversification: DiversificationMetrics;
137
+ /** Rebalancing recommendations */
138
+ rebalancing?: RebalancingAction[];
139
+ /** Allocation timestamp */
140
+ timestamp: Date;
141
+ /** Next rebalancing date */
142
+ nextRebalancingDate: Date;
143
+ /** Allocation methodology used */
144
+ methodology: string;
145
+ /** Warnings or caveats */
146
+ warnings: string[];
147
+ }
148
+ /**
149
+ * Portfolio-level metrics
150
+ */
151
+ export interface PortfolioMetrics {
152
+ /** Expected annual return (%) */
153
+ expectedReturn: number;
154
+ /** Expected volatility (%) */
155
+ expectedVolatility: number;
156
+ /** Sharpe ratio */
157
+ sharpeRatio: number;
158
+ /** Sortino ratio */
159
+ sortinoRatio: number;
160
+ /** Maximum drawdown (%) */
161
+ maxDrawdown: number;
162
+ /** Value at Risk 95% (%) */
163
+ valueAtRisk95: number;
164
+ /** Conditional VaR (Expected Shortfall) */
165
+ conditionalVaR: number;
166
+ /** Beta to market */
167
+ beta: number;
168
+ /** Alpha generation potential */
169
+ alpha: number;
170
+ /** Information ratio */
171
+ informationRatio: number;
172
+ }
173
+ /**
174
+ * Risk analysis breakdown
175
+ */
176
+ export interface RiskAnalysis {
177
+ /** Overall risk score (0-100) */
178
+ riskScore: number;
179
+ /** Risk level classification */
180
+ riskLevel: 'LOW' | 'MEDIUM' | 'HIGH' | 'EXTREME';
181
+ /** Systematic risk (market risk) */
182
+ systematicRisk: number;
183
+ /** Idiosyncratic risk (specific risk) */
184
+ idiosyncraticRisk: number;
185
+ /** Tail risk assessment */
186
+ tailRisk: number;
187
+ /** Liquidity risk score */
188
+ liquidityRisk: number;
189
+ /** Concentration risk */
190
+ concentrationRisk: number;
191
+ /** Currency risk */
192
+ currencyRisk: number;
193
+ /** Risk decomposition by asset class */
194
+ riskDecomposition: Map<AllocationAssetClass, AssetClass, number>;
195
+ }
196
+ /**
197
+ * Diversification metrics
198
+ */
199
+ export interface DiversificationMetrics {
200
+ /** Diversification ratio (higher is better) */
201
+ diversificationRatio: number;
202
+ /** Herfindahl-Hirschman Index (lower is better) */
203
+ herfindahlIndex: number;
204
+ /** Effective number of positions */
205
+ effectiveNumberOfAssets: number;
206
+ /** Average correlation between assets */
207
+ averageCorrelation: number;
208
+ /** Maximum pairwise correlation */
209
+ maxPairwiseCorrelation: number;
210
+ /** Correlation matrix */
211
+ correlationMatrix: number[][];
212
+ /** Asset class diversity score (0-100) */
213
+ assetClassDiversity: number;
214
+ }
215
+ /**
216
+ * Rebalancing action
217
+ */
218
+ export interface RebalancingAction {
219
+ /** Asset class to rebalance */
220
+ assetClass: AllocationAssetClass;
221
+ /** Current allocation */
222
+ currentAllocation: number;
223
+ /** Target allocation */
224
+ targetAllocation: number;
225
+ /** Action to take */
226
+ action: 'BUY' | 'SELL' | 'HOLD';
227
+ /** Amount to trade */
228
+ tradeAmount: number;
229
+ /** Priority (1=highest) */
230
+ priority: number;
231
+ /** Estimated cost */
232
+ estimatedCost: number;
233
+ /** Tax impact estimate */
234
+ taxImpact?: number;
235
+ /** Reason for rebalancing */
236
+ reason: string;
237
+ }
238
+ /**
239
+ * Allocation algorithm inputs
240
+ */
241
+ export interface AllocationInput {
242
+ /** User's risk profile */
243
+ riskProfile?: RiskProfile;
244
+ /** Current market conditions */
245
+ marketConditions: MarketMetrics;
246
+ /** Total account size */
247
+ accountSize: number;
248
+ /** Current positions (if any) */
249
+ currentPositions?: Map<AllocationAssetClass, AssetClass, number>;
250
+ /** User preferences */
251
+ preferences?: AllocationPreferences;
252
+ /** Asset class characteristics */
253
+ assetCharacteristics: AllocationAssetClassCharacteristics[];
254
+ /** Additional constraints */
255
+ constraints?: AllocationConstraint[];
256
+ /** Historical performance data (optional) */
257
+ historicalData?: Map<AllocationAssetClass, AssetClass, HistoricalData>;
258
+ }
259
+ /**
260
+ * Historical performance data
261
+ */
262
+ export interface HistoricalData {
263
+ /** Asset class */
264
+ assetClass: AllocationAssetClass;
265
+ /** Historical returns (time series) */
266
+ returns: number[];
267
+ /** Historical volatility measurements */
268
+ volatilities: number[];
269
+ /** Timestamps for data points */
270
+ timestamps: Date[];
271
+ /** Correlation history with other assets */
272
+ correlationHistory?: Map<AllocationAssetClass, number[]>;
273
+ }
274
+ /**
275
+ * Optimization objective
276
+ */
277
+ export type OptimizationObjective = 'MAX_RETURN' | 'MIN_RISK' | 'MAX_SHARPE' | 'RISK_PARITY' | 'MAX_DIVERSIFICATION' | 'TARGET_RETURN' | 'TARGET_RISK';
278
+ /**
279
+ * Allocation strategy configuration
280
+ */
281
+ export interface AllocationStrategyConfig {
282
+ /** Optimization objective */
283
+ objective: OptimizationObjective;
284
+ /** Risk-free rate for calculations */
285
+ riskFreeRate: number;
286
+ /** Rebalancing threshold (%) */
287
+ rebalancingThreshold: number;
288
+ /** Transaction cost model */
289
+ transactionCostModel: 'FIXED' | 'PERCENTAGE' | 'TIERED';
290
+ /** Tax consideration */
291
+ taxRate?: number;
292
+ /** Time horizon (years) */
293
+ timeHorizon: number;
294
+ /** Use leverage */
295
+ allowLeverage: boolean;
296
+ /** Maximum leverage ratio */
297
+ maxLeverage?: number;
298
+ /** Include alternative assets */
299
+ includeAlternatives: boolean;
300
+ }
301
+ /**
302
+ * Risk-adjusted allocation parameters
303
+ */
304
+ export interface RiskAdjustedParameters {
305
+ /** Conservative allocation bias */
306
+ conservativeBias: number;
307
+ /** Volatility scaling factor */
308
+ volatilityScaling: number;
309
+ /** Drawdown penalty weight */
310
+ drawdownPenalty: number;
311
+ /** Liquidity premium */
312
+ liquidityPremium: number;
313
+ /** Correlation penalty */
314
+ correlationPenalty: number;
315
+ }
316
+ /**
317
+ * Default risk profiles with typical allocations
318
+ */
319
+ export interface DefaultRiskProfile {
320
+ profile: RiskProfile;
321
+ description: string;
322
+ baseAllocations: Map<AllocationAssetClass, number>;
323
+ maxVolatility: number;
324
+ maxDrawdown: number;
325
+ targetReturn: number;
326
+ riskScore: number;
327
+ }
328
+ //# sourceMappingURL=asset-allocation-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asset-allocation-types.d.ts","sourceRoot":"","sources":["../../../src/types/asset-allocation-types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,UAAU,GACV,SAAS,GACT,SAAS,GACT,KAAK,GACL,OAAO,GACP,QAAQ,CAAC;AAEb;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,cAAc,GACd,uBAAuB,GACvB,UAAU,GACV,qBAAqB,GACrB,YAAY,CAAC;AAEjB;;GAEG;AACH,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,MAAM,GACN,UAAU,GACV,iBAAiB,GACjB,gBAAgB,GAChB,QAAQ,CAAC;AAEb;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,wDAAwD;IACxD,qBAAqB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAE/C,6BAA6B;IAC7B,oBAAoB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAE9C,+CAA+C;IAC/C,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B,+CAA+C;IAC/C,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B,uCAAuC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,mCAAmC;IACnC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ACxB,gBAAgB,EAAE,MAAM,CAAC;IAEzB,0BAA0B;IAC1B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,WAAW,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,GAAG,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACnD,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;CACnB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptic/utils",
3
- "version": "0.0.370",
3
+ "version": "0.0.373",
4
4
  "author": "Adaptic.ai",
5
5
  "description": "Utility functions used in Adaptic app and Lambda functions",
6
6
  "always-build-npm": true,
@@ -25,7 +25,7 @@
25
25
  "test": "npm run build && node dist/test.js"
26
26
  },
27
27
  "dependencies": {
28
- "@adaptic/backend-legacy": "0.0.25",
28
+ "@adaptic/backend-legacy": "^0.0.30",
29
29
  "@adaptic/lumic-utils": "^1.0.6",
30
30
  "@apollo/client": "^3.13.8",
31
31
  "chalk": "^5.4.1",