@adaptic/utils 0.0.967 → 0.0.969

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.cjs CHANGED
@@ -67897,6 +67897,10 @@ const EffectiveTradingPolicySchema = objectType({
67897
67897
  maxSectorConcentrationPct: numberType(),
67898
67898
  maxOpenPositions: numberType(),
67899
67899
  maxOpenOrders: numberType(),
67900
+ /** Percentage of account equity (with leverage) allocated per equities trade. Canonical replacement for legacy AlpacaAccount.tradeAllocationPct. */
67901
+ perTradeEquityAllocationPct: numberType(),
67902
+ /** Percentage of the crypto allocation slice of account equity allocated per crypto trade. Canonical replacement for legacy AlpacaAccount.cryptoTradeAllocationPct. */
67903
+ perTradeCryptoAllocationPct: numberType(),
67900
67904
  macroOverlayEnabled: booleanType(),
67901
67905
  sectorOverlayEnabled: booleanType(),
67902
67906
  volatilityOverlayEnabled: booleanType(),
@@ -67961,6 +67965,8 @@ const DEFAULT_TRADING_POLICY = EffectiveTradingPolicySchema.parse({
67961
67965
  maxSectorConcentrationPct: 30,
67962
67966
  maxOpenPositions: 20,
67963
67967
  maxOpenOrders: 50,
67968
+ perTradeEquityAllocationPct: 5,
67969
+ perTradeCryptoAllocationPct: 5,
67964
67970
  macroOverlayEnabled: false,
67965
67971
  sectorOverlayEnabled: false,
67966
67972
  volatilityOverlayEnabled: false,