@adaptic/utils 0.0.932 → 0.0.933

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/index.mjs CHANGED
@@ -66992,6 +66992,16 @@ const RiskBudgetPrefsObjectSchema = objectType({
66992
66992
  weekendExposureCapPct: numberType().min(0).max(100).default(30),
66993
66993
  eventRiskExposureCapPct: numberType().min(0).max(100).default(40),
66994
66994
  gapRiskSensitivity: enumType(['low', 'medium', 'high']).default('medium'),
66995
+ /** Per-trade equity allocation as % of account equity. Replaces legacy AlpacaAccount.tradeAllocationPct. */
66996
+ perTradeAllocationPct: numberType().min(0).max(100).default(5),
66997
+ /** Per-trade crypto allocation as % of account equity. Replaces legacy AlpacaAccount.cryptoTradeAllocationPct. */
66998
+ perTradeCryptoAllocationPct: numberType().min(0).max(100).default(5),
66999
+ /** Alpaca day-trading buying power check enforcement. Synced to Alpaca API. */
67000
+ dtbpCheck: enumType(['both', 'entry', 'exit']).default('both'),
67001
+ /** Alpaca pattern day trader rule enforcement. Synced to Alpaca API. */
67002
+ pdtCheck: enumType(['both', 'entry', 'exit']).default('both'),
67003
+ /** Strict PDT enforcement — block all violations without exception. Synced to Alpaca API. */
67004
+ ptpNoExceptionEntry: booleanType().default(false),
66995
67005
  });
66996
67006
  const RiskBudgetPrefsSchema = RiskBudgetPrefsObjectSchema.default({});
66997
67007
 
@@ -67045,6 +67055,10 @@ const SignalConsumptionPrefsObjectSchema = objectType({
67045
67055
  earningsBlackoutEnabled: booleanType().default(false),
67046
67056
  earningsBlackoutHoursBefore: numberType().min(0).default(24),
67047
67057
  earningsBlackoutHoursAfter: numberType().min(0).default(2),
67058
+ /** Minimum price movement % to qualify as a tradeable signal. Replaces legacy AlpacaAccount.minPercentageChange. */
67059
+ minPercentageChange: numberType().min(0).default(0.5),
67060
+ /** Minimum average daily volume to qualify a symbol for trading. Replaces legacy AlpacaAccount.volumeThreshold. */
67061
+ volumeThreshold: numberType().min(0).default(50000),
67048
67062
  });
67049
67063
  const SignalConsumptionPrefsSchema = SignalConsumptionPrefsObjectSchema.default({});
67050
67064
 
@@ -67279,6 +67293,8 @@ const AuditNotificationPrefsObjectSchema = objectType({
67279
67293
  incidentAlertEndpoint: stringType().default(''),
67280
67294
  requirePostActionExplanation: booleanType().default(true),
67281
67295
  retainDecisionArtifactsDays: numberType().min(0).default(90),
67296
+ /** Trade confirmation email preference. Synced to Alpaca API. */
67297
+ tradeConfirmEmail: enumType(['all', 'none']).default('all'),
67282
67298
  });
67283
67299
  const AuditNotificationPrefsSchema = AuditNotificationPrefsObjectSchema.default({});
67284
67300