@adaptic/utils 0.0.912 → 0.0.914
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/README.md +2 -2
- package/dist/index.cjs +808 -98
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +794 -86
- package/dist/index.mjs.map +1 -1
- package/dist/types/__tests__/trading-policy-schemas.test.d.ts +2 -0
- package/dist/types/__tests__/trading-policy-schemas.test.d.ts.map +1 -0
- package/dist/types/cache/stampede-protected-cache.d.ts +2 -2
- package/dist/types/errors/index.d.ts +3 -3
- package/dist/types/index.d.ts +41 -37
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/massive-indices.d.ts +19 -19
- package/dist/types/massive-indices.d.ts.map +1 -1
- package/dist/types/massive.d.ts +17 -17
- package/dist/types/massive.d.ts.map +1 -1
- package/dist/types/misc-utils.d.ts +1 -1
- package/dist/types/rate-limiter.d.ts +1 -1
- package/dist/types/schemas/index.d.ts +5 -5
- package/dist/types/schemas/index.d.ts.map +1 -1
- package/dist/types/schemas/massive-schemas.d.ts +19 -19
- package/dist/types/technical-analysis.d.ts +9 -10
- package/dist/types/technical-analysis.d.ts.map +1 -1
- package/dist/types/trading-policy/defaults/default-trading-policy.d.ts +16 -0
- package/dist/types/trading-policy/defaults/default-trading-policy.d.ts.map +1 -0
- package/dist/types/trading-policy/enums.d.ts +85 -0
- package/dist/types/trading-policy/enums.d.ts.map +1 -0
- package/dist/types/trading-policy/index.d.ts +4 -0
- package/dist/types/trading-policy/index.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/asset-universe-prefs.schema.d.ts +182 -0
- package/dist/types/trading-policy/schemas/asset-universe-prefs.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/audit-notification-prefs.schema.d.ts +104 -0
- package/dist/types/trading-policy/schemas/audit-notification-prefs.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/autonomy-prefs.schema.d.ts +369 -0
- package/dist/types/trading-policy/schemas/autonomy-prefs.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/effective-policy.schema.d.ts +1626 -0
- package/dist/types/trading-policy/schemas/effective-policy.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/execution-prefs.schema.d.ts +122 -0
- package/dist/types/trading-policy/schemas/execution-prefs.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/index.d.ts +13 -0
- package/dist/types/trading-policy/schemas/index.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/model-prefs.schema.d.ts +243 -0
- package/dist/types/trading-policy/schemas/model-prefs.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/overlay-response-prefs.schema.d.ts +217 -0
- package/dist/types/trading-policy/schemas/overlay-response-prefs.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/policy-mutation.schema.d.ts +2950 -0
- package/dist/types/trading-policy/schemas/policy-mutation.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/portfolio-construction-prefs.schema.d.ts +258 -0
- package/dist/types/trading-policy/schemas/portfolio-construction-prefs.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/position-management-prefs.schema.d.ts +218 -0
- package/dist/types/trading-policy/schemas/position-management-prefs.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/risk-budget-prefs.schema.d.ts +140 -0
- package/dist/types/trading-policy/schemas/risk-budget-prefs.schema.d.ts.map +1 -0
- package/dist/types/trading-policy/schemas/signal-consumption-prefs.schema.d.ts +242 -0
- package/dist/types/trading-policy/schemas/signal-consumption-prefs.schema.d.ts.map +1 -0
- package/dist/types/types/massive-indices-types.d.ts +19 -19
- package/dist/types/types/massive-types.d.ts +21 -21
- package/dist/types/utils/auth-validator.d.ts +3 -3
- package/dist/types/utils/paginator.d.ts +1 -1
- package/dist/types/utils/retry.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -387,7 +387,7 @@ Fetches historical bar data for crypto trading pairs.
|
|
|
387
387
|
|
|
388
388
|
## Market Data Functions
|
|
389
389
|
|
|
390
|
-
### `
|
|
390
|
+
### `fetchMassivePrices(symbol: string, params: object): Promise<MassivePriceData[]>`
|
|
391
391
|
|
|
392
392
|
Fetches historical price data from Massive.com.
|
|
393
393
|
|
|
@@ -398,7 +398,7 @@ Fetches historical price data from Massive.com.
|
|
|
398
398
|
|
|
399
399
|
**Returns:**
|
|
400
400
|
|
|
401
|
-
- `Promise<
|
|
401
|
+
- `Promise<MassivePriceData[]>`:
|
|
402
402
|
```typescript
|
|
403
403
|
{
|
|
404
404
|
date: string;
|