@adaptic/backend-legacy 0.0.991 → 0.0.992
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/Account.cjs +40 -0
- package/AccountLinkingRequest.cjs +40 -0
- package/AccountRiskMetrics.cjs +36 -0
- package/Alert.cjs +34 -0
- package/Allocation.cjs +34 -0
- package/AlpacaAccount.cjs +110 -0
- package/Authenticator.cjs +40 -0
- package/Customer.cjs +42 -0
- package/LinkedProvider.cjs +40 -0
- package/LlmConfiguration.cjs +40 -0
- package/PolicyOverlay.cjs +188 -0
- package/RiskEscalationEvent.cjs +102 -0
- package/Session.cjs +40 -0
- package/StrategyHealthSnapshot.cjs +36 -0
- package/TradingPolicy.cjs +26 -0
- package/User.cjs +36 -0
- package/WaitlistEntry.cjs +40 -0
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +40 -0
- package/esm/AccountLinkingRequest.d.ts.map +1 -1
- package/esm/AccountLinkingRequest.js.map +1 -1
- package/esm/AccountLinkingRequest.mjs +40 -0
- package/esm/AccountRiskMetrics.d.ts.map +1 -1
- package/esm/AccountRiskMetrics.js.map +1 -1
- package/esm/AccountRiskMetrics.mjs +36 -0
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +34 -0
- package/esm/Allocation.d.ts.map +1 -1
- package/esm/Allocation.js.map +1 -1
- package/esm/Allocation.mjs +34 -0
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +110 -0
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +40 -0
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +42 -0
- package/esm/LinkedProvider.d.ts.map +1 -1
- package/esm/LinkedProvider.js.map +1 -1
- package/esm/LinkedProvider.mjs +40 -0
- package/esm/LlmConfiguration.d.ts.map +1 -1
- package/esm/LlmConfiguration.js.map +1 -1
- package/esm/LlmConfiguration.mjs +40 -0
- package/esm/PolicyOverlay.d.ts.map +1 -1
- package/esm/PolicyOverlay.js.map +1 -1
- package/esm/PolicyOverlay.mjs +188 -0
- package/esm/RiskEscalationEvent.d.ts.map +1 -1
- package/esm/RiskEscalationEvent.js.map +1 -1
- package/esm/RiskEscalationEvent.mjs +102 -0
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +40 -0
- package/esm/StrategyHealthSnapshot.d.ts.map +1 -1
- package/esm/StrategyHealthSnapshot.js.map +1 -1
- package/esm/StrategyHealthSnapshot.mjs +36 -0
- package/esm/TradingPolicy.d.ts.map +1 -1
- package/esm/TradingPolicy.js.map +1 -1
- package/esm/TradingPolicy.mjs +26 -0
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +36 -0
- package/esm/WaitlistEntry.d.ts.map +1 -1
- package/esm/WaitlistEntry.js.map +1 -1
- package/esm/WaitlistEntry.mjs +40 -0
- package/esm/generated/selectionSets/AccountRiskMetrics.d.ts +1 -1
- package/esm/generated/selectionSets/AccountRiskMetrics.d.ts.map +1 -1
- package/esm/generated/selectionSets/AccountRiskMetrics.js.map +1 -1
- package/esm/generated/selectionSets/AccountRiskMetrics.mjs +2 -0
- package/esm/generated/selectionSets/AlpacaAccount.d.ts +1 -1
- package/esm/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
- package/esm/generated/selectionSets/AlpacaAccount.js.map +1 -1
- package/esm/generated/selectionSets/AlpacaAccount.mjs +2 -0
- package/esm/generated/selectionSets/Customer.d.ts +1 -1
- package/esm/generated/selectionSets/Customer.d.ts.map +1 -1
- package/esm/generated/selectionSets/Customer.js.map +1 -1
- package/esm/generated/selectionSets/Customer.mjs +2 -0
- package/esm/generated/selectionSets/StrategyHealthSnapshot.d.ts +1 -1
- package/esm/generated/selectionSets/StrategyHealthSnapshot.d.ts.map +1 -1
- package/esm/generated/selectionSets/StrategyHealthSnapshot.js.map +1 -1
- package/esm/generated/selectionSets/StrategyHealthSnapshot.mjs +2 -0
- package/esm/generated/selectionSets/TradingPolicy.d.ts +1 -1
- package/esm/generated/selectionSets/TradingPolicy.d.ts.map +1 -1
- package/esm/generated/selectionSets/TradingPolicy.js.map +1 -1
- package/esm/generated/selectionSets/TradingPolicy.mjs +2 -0
- package/esm/generated/selectionSets/User.d.ts +1 -1
- package/esm/generated/selectionSets/User.d.ts.map +1 -1
- package/esm/generated/selectionSets/User.js.map +1 -1
- package/esm/generated/selectionSets/User.mjs +2 -0
- package/esm/generated/typeStrings/PolicyOverlay.d.ts +1 -1
- package/esm/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
- package/esm/generated/typeStrings/PolicyOverlay.js.map +1 -1
- package/esm/generated/typeStrings/PolicyOverlay.mjs +4 -0
- package/esm/generated/typeStrings/TradingPolicy.d.ts +1 -1
- package/esm/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
- package/esm/generated/typeStrings/TradingPolicy.js.map +1 -1
- package/esm/generated/typeStrings/TradingPolicy.mjs +4 -0
- package/esm/generated/typeStrings/index.d.ts +2 -2
- package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
- package/esm/generated/typegraphql-prisma/enhance.mjs +26 -26
- package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.js.map +1 -1
- package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.mjs +2 -0
- package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts +8 -0
- package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/TradingPolicy.mjs +22 -0
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +1 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.mjs +7 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +4 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.mjs +16 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +1 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.mjs +7 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +4 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.mjs +16 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +4 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.mjs +16 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +4 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.mjs +16 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +4 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.mjs +16 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +4 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.mjs +16 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +4 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.mjs +16 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +1 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.mjs +7 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +2 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.mjs +14 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +1 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.js.map +1 -1
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.mjs +7 -0
- package/esm/index.d.ts.map +1 -1
- package/generated/typeStrings/PolicyOverlay.cjs +4 -0
- package/generated/typeStrings/PolicyOverlay.d.ts +1 -1
- package/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
- package/generated/typeStrings/PolicyOverlay.js.map +1 -1
- package/generated/typeStrings/TradingPolicy.cjs +4 -0
- package/generated/typeStrings/TradingPolicy.d.ts +1 -1
- package/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
- package/generated/typeStrings/TradingPolicy.js.map +1 -1
- package/generated/typeStrings/index.d.ts +2 -2
- package/generated/typegraphql-prisma/enhance.cjs +26 -26
- package/generated/typegraphql-prisma/enhance.js.map +1 -1
- package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.cjs +2 -0
- package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +2 -0
- package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts.map +1 -1
- package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.js.map +1 -1
- package/generated/typegraphql-prisma/models/TradingPolicy.cjs +14 -0
- package/generated/typegraphql-prisma/models/TradingPolicy.d.ts +8 -0
- package/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
- package/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.cjs +14 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +4 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.cjs +14 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +4 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.cjs +14 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +4 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.cjs +14 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +4 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.cjs +14 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +4 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.cjs +14 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +4 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.cjs +14 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +4 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.cjs +12 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +2 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.js.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.cjs +6 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +1 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts.map +1 -1
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.js.map +1 -1
- package/package.json +1 -1
package/esm/WaitlistEntry.mjs
CHANGED
|
@@ -331,6 +331,8 @@ export const WaitlistEntry = {
|
|
|
331
331
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
332
332
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
333
333
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
334
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
335
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
334
336
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
335
337
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
336
338
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -1514,6 +1516,12 @@ export const WaitlistEntry = {
|
|
|
1514
1516
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
|
|
1515
1517
|
set: item.tradingPolicy.reducedPortfolioTrailPercent
|
|
1516
1518
|
} : undefined,
|
|
1519
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
|
|
1520
|
+
set: item.tradingPolicy.enablePortfolioTakeProfit
|
|
1521
|
+
} : undefined,
|
|
1522
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
|
|
1523
|
+
set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
|
|
1524
|
+
} : undefined,
|
|
1517
1525
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
|
|
1518
1526
|
set: item.tradingPolicy.defaultTrailingStopPercentage100
|
|
1519
1527
|
} : undefined,
|
|
@@ -1673,6 +1681,8 @@ export const WaitlistEntry = {
|
|
|
1673
1681
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
1674
1682
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
1675
1683
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
1684
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
1685
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
1676
1686
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
1677
1687
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
1678
1688
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -2209,6 +2219,8 @@ export const WaitlistEntry = {
|
|
|
2209
2219
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
2210
2220
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
2211
2221
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
2222
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
2223
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
2212
2224
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
2213
2225
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
2214
2226
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -2862,6 +2874,8 @@ export const WaitlistEntry = {
|
|
|
2862
2874
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
2863
2875
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
2864
2876
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
2877
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
2878
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
2865
2879
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
2866
2880
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
2867
2881
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -3619,6 +3633,8 @@ export const WaitlistEntry = {
|
|
|
3619
3633
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
3620
3634
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
3621
3635
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
3636
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
3637
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
3622
3638
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
3623
3639
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
3624
3640
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -4510,6 +4526,12 @@ export const WaitlistEntry = {
|
|
|
4510
4526
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
|
|
4511
4527
|
set: item.tradingPolicy.reducedPortfolioTrailPercent
|
|
4512
4528
|
} : undefined,
|
|
4529
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
|
|
4530
|
+
set: item.tradingPolicy.enablePortfolioTakeProfit
|
|
4531
|
+
} : undefined,
|
|
4532
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
|
|
4533
|
+
set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
|
|
4534
|
+
} : undefined,
|
|
4513
4535
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
|
|
4514
4536
|
set: item.tradingPolicy.defaultTrailingStopPercentage100
|
|
4515
4537
|
} : undefined,
|
|
@@ -4669,6 +4691,8 @@ export const WaitlistEntry = {
|
|
|
4669
4691
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
4670
4692
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
4671
4693
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
4694
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
4695
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
4672
4696
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
4673
4697
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
4674
4698
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -5205,6 +5229,8 @@ export const WaitlistEntry = {
|
|
|
5205
5229
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
5206
5230
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
5207
5231
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
5232
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
5233
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
5208
5234
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
5209
5235
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
5210
5236
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -5858,6 +5884,8 @@ export const WaitlistEntry = {
|
|
|
5858
5884
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
5859
5885
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
5860
5886
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
5887
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
5888
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
5861
5889
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
5862
5890
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
5863
5891
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -6921,6 +6949,12 @@ export const WaitlistEntry = {
|
|
|
6921
6949
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
|
|
6922
6950
|
set: item.tradingPolicy.reducedPortfolioTrailPercent
|
|
6923
6951
|
} : undefined,
|
|
6952
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
|
|
6953
|
+
set: item.tradingPolicy.enablePortfolioTakeProfit
|
|
6954
|
+
} : undefined,
|
|
6955
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
|
|
6956
|
+
set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
|
|
6957
|
+
} : undefined,
|
|
6924
6958
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
|
|
6925
6959
|
set: item.tradingPolicy.defaultTrailingStopPercentage100
|
|
6926
6960
|
} : undefined,
|
|
@@ -7080,6 +7114,8 @@ export const WaitlistEntry = {
|
|
|
7080
7114
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
7081
7115
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
7082
7116
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
7117
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
7118
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
7083
7119
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
7084
7120
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
7085
7121
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -7616,6 +7652,8 @@ export const WaitlistEntry = {
|
|
|
7616
7652
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
7617
7653
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
7618
7654
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
7655
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
7656
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
7619
7657
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
7620
7658
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
7621
7659
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -8269,6 +8307,8 @@ export const WaitlistEntry = {
|
|
|
8269
8307
|
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
8270
8308
|
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
8271
8309
|
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
8310
|
+
enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
|
|
8311
|
+
portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
|
|
8272
8312
|
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
8273
8313
|
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
8274
8314
|
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const AccountRiskMetrics = "\n id\n alpacaAccountId\n alpacaAccount {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n realTime\n cryptoTradingEnabled\n cryptoTradingPairs\n cryptoTradeAllocationPct\n tradeAllocationPct\n allocation {\n id\n equities\n optionsContracts\n futures\n etfs\n forex\n crypto\n stocks\n options\n alpacaAccountId\n createdAt\n updatedAt\n }\n tradingPolicy {\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n }\n autoAllocation\n minPercentageChange\n volumeThreshold\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n deletedAt\n role\n bio\n jobTitle\n currentAccount\n customerId\n plan\n openaiAPIKey\n openaiModel\n }\n userId\n createdAt\n updatedAt\n deletedAt\n alerts {\n id\n alpacaAccountId\n title\n message\n type\n severity\n category\n status\n isRead\n acknowledgedAt\n resolvedAt\n metadata\n createdAt\n updatedAt\n }\n }\n currentRiskState\n currentScopeState\n riskStateChangedAt\n riskStateChangedBy\n riskStateChangeReason\n accountHighWaterMark\n accountHighWaterMarkAt\n currentEquity\n currentDrawdownPct\n intradayDrawdownPct\n maxDrawdownPctLifetime\n dailyPnlAmount\n dailyPnlPct\n weeklyPnlAmount\n weeklyPnlPct\n monthlyPnlAmount\n monthlyPnlPct\n peakToTroughAmount\n peakToTroughPct\n nextRecoveryEligibleAt\n lastSyncedAt\n updatedAt\n";
|
|
1
|
+
export declare const AccountRiskMetrics = "\n id\n alpacaAccountId\n alpacaAccount {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n realTime\n cryptoTradingEnabled\n cryptoTradingPairs\n cryptoTradeAllocationPct\n tradeAllocationPct\n allocation {\n id\n equities\n optionsContracts\n futures\n etfs\n forex\n crypto\n stocks\n options\n alpacaAccountId\n createdAt\n updatedAt\n }\n tradingPolicy {\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n enablePortfolioTakeProfit\n portfolioTakeProfitThresholdPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n }\n autoAllocation\n minPercentageChange\n volumeThreshold\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n deletedAt\n role\n bio\n jobTitle\n currentAccount\n customerId\n plan\n openaiAPIKey\n openaiModel\n }\n userId\n createdAt\n updatedAt\n deletedAt\n alerts {\n id\n alpacaAccountId\n title\n message\n type\n severity\n category\n status\n isRead\n acknowledgedAt\n resolvedAt\n metadata\n createdAt\n updatedAt\n }\n }\n currentRiskState\n currentScopeState\n riskStateChangedAt\n riskStateChangedBy\n riskStateChangeReason\n accountHighWaterMark\n accountHighWaterMarkAt\n currentEquity\n currentDrawdownPct\n intradayDrawdownPct\n maxDrawdownPctLifetime\n dailyPnlAmount\n dailyPnlPct\n weeklyPnlAmount\n weeklyPnlPct\n monthlyPnlAmount\n monthlyPnlPct\n peakToTroughAmount\n peakToTroughPct\n nextRecoveryEligibleAt\n lastSyncedAt\n updatedAt\n";
|
|
2
2
|
//# sourceMappingURL=AccountRiskMetrics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountRiskMetrics.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AccountRiskMetrics.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"AccountRiskMetrics.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AccountRiskMetrics.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,owIAgM9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountRiskMetrics.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AccountRiskMetrics.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG
|
|
1
|
+
{"version":3,"file":"AccountRiskMetrics.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AccountRiskMetrics.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kBAAkB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgMjC,CAAC"}
|
|
@@ -63,6 +63,8 @@ export const AccountRiskMetrics = `
|
|
|
63
63
|
portfolioTrailPercent
|
|
64
64
|
portfolioProfitThresholdPercent
|
|
65
65
|
reducedPortfolioTrailPercent
|
|
66
|
+
enablePortfolioTakeProfit
|
|
67
|
+
portfolioTakeProfitThresholdPercent
|
|
66
68
|
defaultTrailingStopPercentage100
|
|
67
69
|
firstTrailReductionThreshold100
|
|
68
70
|
secondTrailReductionThreshold100
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const AlpacaAccount = "\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n realTime\n cryptoTradingEnabled\n cryptoTradingPairs\n cryptoTradeAllocationPct\n tradeAllocationPct\n allocation {\n id\n equities\n optionsContracts\n futures\n etfs\n forex\n crypto\n stocks\n options\n alpacaAccountId\n createdAt\n updatedAt\n }\n tradingPolicy {\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n }\n autoAllocation\n minPercentageChange\n volumeThreshold\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n deletedAt\n role\n bio\n jobTitle\n currentAccount\n customerId\n plan\n openaiAPIKey\n openaiModel\n }\n userId\n createdAt\n updatedAt\n deletedAt\n alerts {\n id\n alpacaAccountId\n title\n message\n type\n severity\n category\n status\n isRead\n acknowledgedAt\n resolvedAt\n metadata\n createdAt\n updatedAt\n }\n";
|
|
1
|
+
export declare const AlpacaAccount = "\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n realTime\n cryptoTradingEnabled\n cryptoTradingPairs\n cryptoTradeAllocationPct\n tradeAllocationPct\n allocation {\n id\n equities\n optionsContracts\n futures\n etfs\n forex\n crypto\n stocks\n options\n alpacaAccountId\n createdAt\n updatedAt\n }\n tradingPolicy {\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n enablePortfolioTakeProfit\n portfolioTakeProfitThresholdPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n }\n autoAllocation\n minPercentageChange\n volumeThreshold\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n deletedAt\n role\n bio\n jobTitle\n currentAccount\n customerId\n plan\n openaiAPIKey\n openaiModel\n }\n userId\n createdAt\n updatedAt\n deletedAt\n alerts {\n id\n alpacaAccountId\n title\n message\n type\n severity\n category\n status\n isRead\n acknowledgedAt\n resolvedAt\n metadata\n createdAt\n updatedAt\n }\n";
|
|
2
2
|
//# sourceMappingURL=AlpacaAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,w8GAsKzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG
|
|
1
|
+
{"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsK5B,CAAC"}
|
|
@@ -60,6 +60,8 @@ export const AlpacaAccount = `
|
|
|
60
60
|
portfolioTrailPercent
|
|
61
61
|
portfolioProfitThresholdPercent
|
|
62
62
|
reducedPortfolioTrailPercent
|
|
63
|
+
enablePortfolioTakeProfit
|
|
64
|
+
portfolioTakeProfitThresholdPercent
|
|
63
65
|
defaultTrailingStopPercentage100
|
|
64
66
|
firstTrailReductionThreshold100
|
|
65
67
|
secondTrailReductionThreshold100
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const Customer = "\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n jurisdiction\n riskProfile\n amlStatus\n lastKycUpdate\n createdAt\n updatedAt\n users {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n deletedAt\n role\n bio\n jobTitle\n currentAccount\n customerId\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n realTime\n cryptoTradingEnabled\n cryptoTradingPairs\n cryptoTradeAllocationPct\n tradeAllocationPct\n allocation {\n id\n equities\n optionsContracts\n futures\n etfs\n forex\n crypto\n stocks\n options\n alpacaAccountId\n createdAt\n updatedAt\n }\n tradingPolicy {\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n }\n autoAllocation\n minPercentageChange\n volumeThreshold\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n userId\n createdAt\n updatedAt\n deletedAt\n alerts {\n id\n alpacaAccountId\n title\n message\n type\n severity\n category\n status\n isRead\n acknowledgedAt\n resolvedAt\n metadata\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n linkedProviders {\n id\n userId\n provider\n providerAccountId\n email\n accessToken\n refreshToken\n expiresAt\n linkedAt\n updatedAt\n }\n accountLinkingRequests {\n id\n userId\n email\n provider\n providerAccountId\n status\n verificationToken\n userAgent\n ipAddress\n createdAt\n expiresAt\n verifiedAt\n approvedAt\n rejectedAt\n }\n }\n";
|
|
1
|
+
export declare const Customer = "\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n jurisdiction\n riskProfile\n amlStatus\n lastKycUpdate\n createdAt\n updatedAt\n users {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n deletedAt\n role\n bio\n jobTitle\n currentAccount\n customerId\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n realTime\n cryptoTradingEnabled\n cryptoTradingPairs\n cryptoTradeAllocationPct\n tradeAllocationPct\n allocation {\n id\n equities\n optionsContracts\n futures\n etfs\n forex\n crypto\n stocks\n options\n alpacaAccountId\n createdAt\n updatedAt\n }\n tradingPolicy {\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n enablePortfolioTakeProfit\n portfolioTakeProfitThresholdPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n }\n autoAllocation\n minPercentageChange\n volumeThreshold\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n userId\n createdAt\n updatedAt\n deletedAt\n alerts {\n id\n alpacaAccountId\n title\n message\n type\n severity\n category\n status\n isRead\n acknowledgedAt\n resolvedAt\n metadata\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n linkedProviders {\n id\n userId\n provider\n providerAccountId\n email\n accessToken\n refreshToken\n expiresAt\n linkedAt\n updatedAt\n }\n accountLinkingRequests {\n id\n userId\n email\n provider\n providerAccountId\n status\n verificationToken\n userAgent\n ipAddress\n createdAt\n expiresAt\n verifiedAt\n approvedAt\n rejectedAt\n }\n }\n";
|
|
2
2
|
//# sourceMappingURL=Customer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,6tJAkNpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG
|
|
1
|
+
{"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkNvB,CAAC"}
|
|
@@ -90,6 +90,8 @@ export const Customer = `
|
|
|
90
90
|
portfolioTrailPercent
|
|
91
91
|
portfolioProfitThresholdPercent
|
|
92
92
|
reducedPortfolioTrailPercent
|
|
93
|
+
enablePortfolioTakeProfit
|
|
94
|
+
portfolioTakeProfitThresholdPercent
|
|
93
95
|
defaultTrailingStopPercentage100
|
|
94
96
|
firstTrailReductionThreshold100
|
|
95
97
|
secondTrailReductionThreshold100
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const StrategyHealthSnapshot = "\n id\n alpacaAccountId\n alpacaAccount {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n realTime\n cryptoTradingEnabled\n cryptoTradingPairs\n cryptoTradeAllocationPct\n tradeAllocationPct\n allocation {\n id\n equities\n optionsContracts\n futures\n etfs\n forex\n crypto\n stocks\n options\n alpacaAccountId\n createdAt\n updatedAt\n }\n tradingPolicy {\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n }\n autoAllocation\n minPercentageChange\n volumeThreshold\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n deletedAt\n role\n bio\n jobTitle\n currentAccount\n customerId\n plan\n openaiAPIKey\n openaiModel\n }\n userId\n createdAt\n updatedAt\n deletedAt\n alerts {\n id\n alpacaAccountId\n title\n message\n type\n severity\n category\n status\n isRead\n acknowledgedAt\n resolvedAt\n metadata\n createdAt\n updatedAt\n }\n }\n strategyName\n currentState\n stateChangedAt\n stateChangedReason\n windowSize\n windowTradeCount\n windowHitRate\n windowExpectancy\n windowProfitFactor\n windowSortino\n windowMaxDrawdownPct\n windowCumulativePnlAmt\n backtestExpectancy\n backtestHitRate\n backtestHitRateStdDev\n backtestExpectancyStdDev\n divergenceZScore\n divergenceAlertActive\n averageConfidence\n confidenceTrend\n lastUpdatedAt\n updatedAt\n";
|
|
1
|
+
export declare const StrategyHealthSnapshot = "\n id\n alpacaAccountId\n alpacaAccount {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n realTime\n cryptoTradingEnabled\n cryptoTradingPairs\n cryptoTradeAllocationPct\n tradeAllocationPct\n allocation {\n id\n equities\n optionsContracts\n futures\n etfs\n forex\n crypto\n stocks\n options\n alpacaAccountId\n createdAt\n updatedAt\n }\n tradingPolicy {\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n enablePortfolioTakeProfit\n portfolioTakeProfitThresholdPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n }\n autoAllocation\n minPercentageChange\n volumeThreshold\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n user {\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n deletedAt\n role\n bio\n jobTitle\n currentAccount\n customerId\n plan\n openaiAPIKey\n openaiModel\n }\n userId\n createdAt\n updatedAt\n deletedAt\n alerts {\n id\n alpacaAccountId\n title\n message\n type\n severity\n category\n status\n isRead\n acknowledgedAt\n resolvedAt\n metadata\n createdAt\n updatedAt\n }\n }\n strategyName\n currentState\n stateChangedAt\n stateChangedReason\n windowSize\n windowTradeCount\n windowHitRate\n windowExpectancy\n windowProfitFactor\n windowSortino\n windowMaxDrawdownPct\n windowCumulativePnlAmt\n backtestExpectancy\n backtestHitRate\n backtestHitRateStdDev\n backtestExpectancyStdDev\n divergenceZScore\n divergenceAlertActive\n averageConfidence\n confidenceTrend\n lastUpdatedAt\n updatedAt\n";
|
|
2
2
|
//# sourceMappingURL=StrategyHealthSnapshot.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StrategyHealthSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/StrategyHealthSnapshot.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"StrategyHealthSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/StrategyHealthSnapshot.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,4vIAgMlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StrategyHealthSnapshot.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/StrategyHealthSnapshot.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG
|
|
1
|
+
{"version":3,"file":"StrategyHealthSnapshot.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/StrategyHealthSnapshot.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgMrC,CAAC"}
|
|
@@ -63,6 +63,8 @@ export const StrategyHealthSnapshot = `
|
|
|
63
63
|
portfolioTrailPercent
|
|
64
64
|
portfolioProfitThresholdPercent
|
|
65
65
|
reducedPortfolioTrailPercent
|
|
66
|
+
enablePortfolioTakeProfit
|
|
67
|
+
portfolioTakeProfitThresholdPercent
|
|
66
68
|
defaultTrailingStopPercentage100
|
|
67
69
|
firstTrailReductionThreshold100
|
|
68
70
|
secondTrailReductionThreshold100
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TradingPolicy = "\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n";
|
|
1
|
+
export declare const TradingPolicy = "\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n enablePortfolioTakeProfit\n portfolioTakeProfitThresholdPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n";
|
|
2
2
|
//# sourceMappingURL=TradingPolicy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TradingPolicy.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/TradingPolicy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"TradingPolicy.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/TradingPolicy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,kiEAwFzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TradingPolicy.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/TradingPolicy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG
|
|
1
|
+
{"version":3,"file":"TradingPolicy.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/TradingPolicy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwF5B,CAAC"}
|
|
@@ -34,6 +34,8 @@ export const TradingPolicy = `
|
|
|
34
34
|
portfolioTrailPercent
|
|
35
35
|
portfolioProfitThresholdPercent
|
|
36
36
|
reducedPortfolioTrailPercent
|
|
37
|
+
enablePortfolioTakeProfit
|
|
38
|
+
portfolioTakeProfitThresholdPercent
|
|
37
39
|
defaultTrailingStopPercentage100
|
|
38
40
|
firstTrailReductionThreshold100
|
|
39
41
|
secondTrailReductionThreshold100
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const User = "\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n deletedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n jurisdiction\n riskProfile\n amlStatus\n lastKycUpdate\n createdAt\n updatedAt\n }\n customerId\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n realTime\n cryptoTradingEnabled\n cryptoTradingPairs\n cryptoTradeAllocationPct\n tradeAllocationPct\n allocation {\n id\n equities\n optionsContracts\n futures\n etfs\n forex\n crypto\n stocks\n options\n alpacaAccountId\n createdAt\n updatedAt\n }\n tradingPolicy {\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n }\n autoAllocation\n minPercentageChange\n volumeThreshold\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n userId\n createdAt\n updatedAt\n deletedAt\n alerts {\n id\n alpacaAccountId\n title\n message\n type\n severity\n category\n status\n isRead\n acknowledgedAt\n resolvedAt\n metadata\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n linkedProviders {\n id\n userId\n provider\n providerAccountId\n email\n accessToken\n refreshToken\n expiresAt\n linkedAt\n updatedAt\n }\n accountLinkingRequests {\n id\n userId\n email\n provider\n providerAccountId\n status\n verificationToken\n userAgent\n ipAddress\n createdAt\n expiresAt\n verifiedAt\n approvedAt\n rejectedAt\n }\n";
|
|
1
|
+
export declare const User = "\n id\n name\n email\n emailVerified\n image\n createdAt\n updatedAt\n deletedAt\n role\n bio\n jobTitle\n currentAccount\n customer {\n id\n authUserId\n name\n plan\n stripeCustomerId\n stripeSubscriptionId\n stripePriceId\n stripeCurrentPeriodEnd\n jurisdiction\n riskProfile\n amlStatus\n lastKycUpdate\n createdAt\n updatedAt\n }\n customerId\n plan\n alpacaAccounts {\n id\n type\n APIKey\n APISecret\n configuration\n marketOpen\n realTime\n cryptoTradingEnabled\n cryptoTradingPairs\n cryptoTradeAllocationPct\n tradeAllocationPct\n allocation {\n id\n equities\n optionsContracts\n futures\n etfs\n forex\n crypto\n stocks\n options\n alpacaAccountId\n createdAt\n updatedAt\n }\n tradingPolicy {\n id\n alpacaAccountId\n version\n lastModifiedBy\n lastModifiedAt\n autonomyMode\n realtimeTradingEnabled\n paperTradingOnly\n killSwitchEnabled\n autonomyPrefs\n equitiesEnabled\n etfsEnabled\n cryptoEnabled\n optionsEnabled\n futuresEnabled\n forexEnabled\n shortingEnabled\n marginEnabled\n fractionalSharesEnabled\n assetUniversePrefs\n maxBuyingPowerUtilPct\n cashFloorPct\n maxGrossExposurePct\n maxNetExposurePct\n maxLeverage\n maxSymbolConcentrationPct\n maxSectorConcentrationPct\n maxOpenPositions\n maxOpenOrders\n perTradeEquityAllocationPct\n perTradeCryptoAllocationPct\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n enablePortfolioTakeProfit\n portfolioTakeProfitThresholdPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n equityWashTradeCooldownMs\n minIntradayLiquidityShares\n maxEntrySpreadBps\n sameSideReentryDelayMs\n minAtrPercentage\n maxAtrPercentage\n minBookDepthShares\n maxAnomalousSlippageBps\n intradayTradingWindows\n hardPositionExitMinutes\n maxOrdersPerWindow\n orderWindowSeconds\n dayTradeOnly\n riskBudgetPrefs\n signalConsumptionPrefs\n executionPrefs\n positionManagementPrefs\n portfolioConstructionPrefs\n macroOverlayEnabled\n sectorOverlayEnabled\n volatilityOverlayEnabled\n liquidityStressOverlayEnabled\n blackSwanProtectionEnabled\n drawdownGuardianEnabled\n correlationSpikeProtectionEnabled\n newsEventRiskOverlayEnabled\n exchangeHealthOverlayEnabled\n dataQualitySentinelEnabled\n overlayResponsePrefs\n miniModelProvider\n miniModelId\n normalModelProvider\n normalModelId\n advancedModelProvider\n advancedModelId\n modelPrefs\n auditNotificationPrefs\n escalationPolicyOverrides\n currentRiskState\n currentRiskStateAt\n lastRiskStateChangedBy\n lastRiskEscalationEventId\n createdAt\n updatedAt\n }\n autoAllocation\n minPercentageChange\n volumeThreshold\n enablePortfolioTrailingStop\n portfolioTrailPercent\n portfolioProfitThresholdPercent\n reducedPortfolioTrailPercent\n defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\n userId\n createdAt\n updatedAt\n deletedAt\n alerts {\n id\n alpacaAccountId\n title\n message\n type\n severity\n category\n status\n isRead\n acknowledgedAt\n resolvedAt\n metadata\n createdAt\n updatedAt\n }\n }\n openaiAPIKey\n openaiModel\n linkedProviders {\n id\n userId\n provider\n providerAccountId\n email\n accessToken\n refreshToken\n expiresAt\n linkedAt\n updatedAt\n }\n accountLinkingRequests {\n id\n userId\n email\n provider\n providerAccountId\n status\n verificationToken\n userAgent\n ipAddress\n createdAt\n expiresAt\n verifiedAt\n approvedAt\n rejectedAt\n }\n";
|
|
2
2
|
//# sourceMappingURL=User.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/User.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/User.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,03IAkNhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/User.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/User.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,IAAI,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkNnB,CAAC"}
|
|
@@ -91,6 +91,8 @@ export const User = `
|
|
|
91
91
|
portfolioTrailPercent
|
|
92
92
|
portfolioProfitThresholdPercent
|
|
93
93
|
reducedPortfolioTrailPercent
|
|
94
|
+
enablePortfolioTakeProfit
|
|
95
|
+
portfolioTakeProfitThresholdPercent
|
|
94
96
|
defaultTrailingStopPercentage100
|
|
95
97
|
firstTrailReductionThreshold100
|
|
96
98
|
secondTrailReductionThreshold100
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const PolicyOverlayTypeString = "\n// Your response should adhere to the following type definition for the \"PolicyOverlay\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type PolicyOverlay = {\n // Relation to TradingPolicy.\n tradingPolicy: {\n // Relation to AlpacaAccount.\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n // Percentage of account equity (with leverage) allocated per equities trade. Canonical replacement for legacy AlpacaAccount.tradeAllocationPct.\n perTradeEquityAllocationPct: number;\n // Percentage of the crypto allocation slice of account equity allocated per crypto trade. Canonical replacement for legacy AlpacaAccount.cryptoTradeAllocationPct.\n perTradeCryptoAllocationPct: number;\n // Opt-in for enabling the portfolio-level trailing stop service within Adaptic's Realtime Trade Engine. Canonical replacement for legacy AlpacaAccount.enablePortfolioTrailingStop.\n enablePortfolioTrailingStop: boolean;\n // Portfolio-level trailing stop percentage used by the Realtime Trade Engine, if opted into the portfolio-level trailing stop service. Canonical replacement for legacy AlpacaAccount.portfolioTrailPercent.\n portfolioTrailPercent: number;\n // Portfolio-level profit threshold percentage used by the Realtime Trade Engine, if opted into the portfolio-level trailing stop service. Canonical replacement for legacy AlpacaAccount.portfolioProfitThresholdPercent.\n portfolioProfitThresholdPercent: number;\n // Portfolio-level trailing stop percentage used by the Realtime Trade Engine for reducing the trailing stop once the profit threshold is exceeded. Canonical replacement for legacy AlpacaAccount.reducedPortfolioTrailPercent.\n reducedPortfolioTrailPercent: number;\n // Initial trailing stop percentage used by the Position Trailing Stop Service. Canonical replacement for legacy AlpacaAccount.defaultTrailingStopPercentage100.\n defaultTrailingStopPercentage100: number;\n // First profit threshold at which the Position Trailing Stop Service reduces the trailing stop. Canonical replacement for legacy AlpacaAccount.firstTrailReductionThreshold100.\n firstTrailReductionThreshold100: number;\n // Second profit threshold at which the Position Trailing Stop Service further reduces the trailing stop. Canonical replacement for legacy AlpacaAccount.secondTrailReductionThreshold100.\n secondTrailReductionThreshold100: number;\n // Trailing stop percentage to use when profit exceeds the first threshold. Canonical replacement for legacy AlpacaAccount.firstReducedTrailPercentage100.\n firstReducedTrailPercentage100: number;\n // Trailing stop percentage to use when profit exceeds the second threshold. Canonical replacement for legacy AlpacaAccount.secondReducedTrailPercentage100.\n secondReducedTrailPercentage100: number;\n // Minimum change in trailing stop percent to warrant an adjustment. Canonical replacement for legacy AlpacaAccount.minimumPriceChangePercent100.\n minimumPriceChangePercent100: number;\n // Wash-trade cooldown period in milliseconds for equities \u2014 minimum elapsed time between opposing-side fills on the same symbol per FINRA Rule 5210. Mirrors the 30s default already enforced for crypto. Default: 30000 (30 seconds).\n equityWashTradeCooldownMs: number;\n // Minimum intraday liquidity threshold (shares traded in last 5 min). Required for scalping. Default: 10000 (10k shares in last 5 min).\n minIntradayLiquidityShares: number;\n // Maximum spread in basis points (1/100ths of 1%) to allow entry. Scalping requires tight spreads; use 1-3 bps. Default: 5 (0.05%).\n maxEntrySpreadBps: number;\n // Minimum time between same-symbol same-side entries (ms). FINRA Rule 5210 requires 30s for opposite-side trades; this controls same-side rapid re-entry. Default: 5000 (5 seconds) for scalping; 30000 for normal trading.\n sameSideReentryDelayMs: number;\n // Volatility filter: only trade if ATR(14) >= minAtrPercentage. Scalping needs moderate volatility; too low = no edge. Default: 0.3 (0.3%).\n minAtrPercentage: number;\n // Volatility filter: only trade if ATR(14) <= maxAtrPercentage. Scalping needs moderate volatility; too high = whipsaws. Default: 2.0 (2.0%).\n maxAtrPercentage: number;\n // Order book depth requirement: minimum shares at best bid/ask to qualify for entry. Scalping needs guaranteed liquidity. Default: 5000 shares.\n minBookDepthShares: number;\n // Maximum market order slippage in basis points before flagging as anomaly. Helps detect liquidity crunches. Default: 10 bps.\n maxAnomalousSlippageBps: number;\n // Intraday session windows allowed (JSON array). Format: [{ startMinutesFromOpen, endMinutesFromOpen, active }]. Example: skip first 5 min and last 10 min of RTH.\n intradayTradingWindows?: any;\n // Hard position exit clock (minutes from entry). 0 = disabled. Forces liquidation regardless of signal. Useful for strict day-trading discipline. Default: 0.\n hardPositionExitMinutes: number;\n // Rapid-fire order-rate limit: max orders within orderWindowSeconds. Default: 10 orders per 5 seconds.\n maxOrdersPerWindow: number;\n // Window size for maxOrdersPerWindow rate limit (seconds). Default: 5.\n orderWindowSeconds: number;\n // Enforce intraday-only trading (auto-close all positions before EOD). Default: false.\n dayTradeOnly: boolean;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n // List of policy overlays.\n overlays: PolicyOverlay[];\n escalationPolicyOverrides?: any;\n currentRiskState: AccountRiskState;\n currentRiskStateAt?: Date;\n lastRiskStateChangedBy?: string;\n };\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum AccountRiskState {\n NORMAL\n\n WARN\n\n THROTTLE\n\n PAUSED\n\n FLATTEN\n\n HALT\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\n";
|
|
1
|
+
export declare const PolicyOverlayTypeString = "\n// Your response should adhere to the following type definition for the \"PolicyOverlay\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type PolicyOverlay = {\n // Relation to TradingPolicy.\n tradingPolicy: {\n // Relation to AlpacaAccount.\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n // Percentage of account equity (with leverage) allocated per equities trade. Canonical replacement for legacy AlpacaAccount.tradeAllocationPct.\n perTradeEquityAllocationPct: number;\n // Percentage of the crypto allocation slice of account equity allocated per crypto trade. Canonical replacement for legacy AlpacaAccount.cryptoTradeAllocationPct.\n perTradeCryptoAllocationPct: number;\n // Opt-in for enabling the portfolio-level trailing stop service within Adaptic's Realtime Trade Engine. Canonical replacement for legacy AlpacaAccount.enablePortfolioTrailingStop.\n enablePortfolioTrailingStop: boolean;\n // Portfolio-level trailing stop percentage used by the Realtime Trade Engine, if opted into the portfolio-level trailing stop service. Canonical replacement for legacy AlpacaAccount.portfolioTrailPercent.\n portfolioTrailPercent: number;\n // Portfolio-level profit threshold percentage used by the Realtime Trade Engine, if opted into the portfolio-level trailing stop service. Canonical replacement for legacy AlpacaAccount.portfolioProfitThresholdPercent.\n portfolioProfitThresholdPercent: number;\n // Portfolio-level trailing stop percentage used by the Realtime Trade Engine for reducing the trailing stop once the profit threshold is exceeded. Canonical replacement for legacy AlpacaAccount.reducedPortfolioTrailPercent.\n reducedPortfolioTrailPercent: number;\n // Whether the portfolio-level daily take-profit circuit breaker is enabled for this account.\n enablePortfolioTakeProfit?: boolean;\n // Daily gain target (whole percent, e.g. 1 = 1%) since the 09:30 open that trips the take-profit breaker.\n portfolioTakeProfitThresholdPercent?: number;\n // Initial trailing stop percentage used by the Position Trailing Stop Service. Canonical replacement for legacy AlpacaAccount.defaultTrailingStopPercentage100.\n defaultTrailingStopPercentage100: number;\n // First profit threshold at which the Position Trailing Stop Service reduces the trailing stop. Canonical replacement for legacy AlpacaAccount.firstTrailReductionThreshold100.\n firstTrailReductionThreshold100: number;\n // Second profit threshold at which the Position Trailing Stop Service further reduces the trailing stop. Canonical replacement for legacy AlpacaAccount.secondTrailReductionThreshold100.\n secondTrailReductionThreshold100: number;\n // Trailing stop percentage to use when profit exceeds the first threshold. Canonical replacement for legacy AlpacaAccount.firstReducedTrailPercentage100.\n firstReducedTrailPercentage100: number;\n // Trailing stop percentage to use when profit exceeds the second threshold. Canonical replacement for legacy AlpacaAccount.secondReducedTrailPercentage100.\n secondReducedTrailPercentage100: number;\n // Minimum change in trailing stop percent to warrant an adjustment. Canonical replacement for legacy AlpacaAccount.minimumPriceChangePercent100.\n minimumPriceChangePercent100: number;\n // Wash-trade cooldown period in milliseconds for equities \u2014 minimum elapsed time between opposing-side fills on the same symbol per FINRA Rule 5210. Mirrors the 30s default already enforced for crypto. Default: 30000 (30 seconds).\n equityWashTradeCooldownMs: number;\n // Minimum intraday liquidity threshold (shares traded in last 5 min). Required for scalping. Default: 10000 (10k shares in last 5 min).\n minIntradayLiquidityShares: number;\n // Maximum spread in basis points (1/100ths of 1%) to allow entry. Scalping requires tight spreads; use 1-3 bps. Default: 5 (0.05%).\n maxEntrySpreadBps: number;\n // Minimum time between same-symbol same-side entries (ms). FINRA Rule 5210 requires 30s for opposite-side trades; this controls same-side rapid re-entry. Default: 5000 (5 seconds) for scalping; 30000 for normal trading.\n sameSideReentryDelayMs: number;\n // Volatility filter: only trade if ATR(14) >= minAtrPercentage. Scalping needs moderate volatility; too low = no edge. Default: 0.3 (0.3%).\n minAtrPercentage: number;\n // Volatility filter: only trade if ATR(14) <= maxAtrPercentage. Scalping needs moderate volatility; too high = whipsaws. Default: 2.0 (2.0%).\n maxAtrPercentage: number;\n // Order book depth requirement: minimum shares at best bid/ask to qualify for entry. Scalping needs guaranteed liquidity. Default: 5000 shares.\n minBookDepthShares: number;\n // Maximum market order slippage in basis points before flagging as anomaly. Helps detect liquidity crunches. Default: 10 bps.\n maxAnomalousSlippageBps: number;\n // Intraday session windows allowed (JSON array). Format: [{ startMinutesFromOpen, endMinutesFromOpen, active }]. Example: skip first 5 min and last 10 min of RTH.\n intradayTradingWindows?: any;\n // Hard position exit clock (minutes from entry). 0 = disabled. Forces liquidation regardless of signal. Useful for strict day-trading discipline. Default: 0.\n hardPositionExitMinutes: number;\n // Rapid-fire order-rate limit: max orders within orderWindowSeconds. Default: 10 orders per 5 seconds.\n maxOrdersPerWindow: number;\n // Window size for maxOrdersPerWindow rate limit (seconds). Default: 5.\n orderWindowSeconds: number;\n // Enforce intraday-only trading (auto-close all positions before EOD). Default: false.\n dayTradeOnly: boolean;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n // List of policy overlays.\n overlays: PolicyOverlay[];\n escalationPolicyOverrides?: any;\n currentRiskState: AccountRiskState;\n currentRiskStateAt?: Date;\n lastRiskStateChangedBy?: string;\n };\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum AccountRiskState {\n NORMAL\n\n WARN\n\n THROTTLE\n\n PAUSED\n\n FLATTEN\n\n HALT\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\n";
|
|
2
2
|
//# sourceMappingURL=PolicyOverlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PolicyOverlay.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/PolicyOverlay.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"PolicyOverlay.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/PolicyOverlay.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,8sRAsOnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PolicyOverlay.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/PolicyOverlay.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG
|
|
1
|
+
{"version":3,"file":"PolicyOverlay.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/PolicyOverlay.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsOtC,CAAC"}
|
|
@@ -51,6 +51,10 @@ export type PolicyOverlay = {
|
|
|
51
51
|
portfolioProfitThresholdPercent: number;
|
|
52
52
|
// Portfolio-level trailing stop percentage used by the Realtime Trade Engine for reducing the trailing stop once the profit threshold is exceeded. Canonical replacement for legacy AlpacaAccount.reducedPortfolioTrailPercent.
|
|
53
53
|
reducedPortfolioTrailPercent: number;
|
|
54
|
+
// Whether the portfolio-level daily take-profit circuit breaker is enabled for this account.
|
|
55
|
+
enablePortfolioTakeProfit?: boolean;
|
|
56
|
+
// Daily gain target (whole percent, e.g. 1 = 1%) since the 09:30 open that trips the take-profit breaker.
|
|
57
|
+
portfolioTakeProfitThresholdPercent?: number;
|
|
54
58
|
// Initial trailing stop percentage used by the Position Trailing Stop Service. Canonical replacement for legacy AlpacaAccount.defaultTrailingStopPercentage100.
|
|
55
59
|
defaultTrailingStopPercentage100: number;
|
|
56
60
|
// First profit threshold at which the Position Trailing Stop Service reduces the trailing stop. Canonical replacement for legacy AlpacaAccount.firstTrailReductionThreshold100.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const TradingPolicyTypeString = "\n// Your response should adhere to the following type definition for the \"TradingPolicy\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type TradingPolicy = {\n // Relation to AlpacaAccount.\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n // Percentage of account equity (with leverage) allocated per equities trade. Canonical replacement for legacy AlpacaAccount.tradeAllocationPct.\n perTradeEquityAllocationPct: number;\n // Percentage of the crypto allocation slice of account equity allocated per crypto trade. Canonical replacement for legacy AlpacaAccount.cryptoTradeAllocationPct.\n perTradeCryptoAllocationPct: number;\n // Opt-in for enabling the portfolio-level trailing stop service within Adaptic's Realtime Trade Engine. Canonical replacement for legacy AlpacaAccount.enablePortfolioTrailingStop.\n enablePortfolioTrailingStop: boolean;\n // Portfolio-level trailing stop percentage used by the Realtime Trade Engine, if opted into the portfolio-level trailing stop service. Canonical replacement for legacy AlpacaAccount.portfolioTrailPercent.\n portfolioTrailPercent: number;\n // Portfolio-level profit threshold percentage used by the Realtime Trade Engine, if opted into the portfolio-level trailing stop service. Canonical replacement for legacy AlpacaAccount.portfolioProfitThresholdPercent.\n portfolioProfitThresholdPercent: number;\n // Portfolio-level trailing stop percentage used by the Realtime Trade Engine for reducing the trailing stop once the profit threshold is exceeded. Canonical replacement for legacy AlpacaAccount.reducedPortfolioTrailPercent.\n reducedPortfolioTrailPercent: number;\n // Initial trailing stop percentage used by the Position Trailing Stop Service. Canonical replacement for legacy AlpacaAccount.defaultTrailingStopPercentage100.\n defaultTrailingStopPercentage100: number;\n // First profit threshold at which the Position Trailing Stop Service reduces the trailing stop. Canonical replacement for legacy AlpacaAccount.firstTrailReductionThreshold100.\n firstTrailReductionThreshold100: number;\n // Second profit threshold at which the Position Trailing Stop Service further reduces the trailing stop. Canonical replacement for legacy AlpacaAccount.secondTrailReductionThreshold100.\n secondTrailReductionThreshold100: number;\n // Trailing stop percentage to use when profit exceeds the first threshold. Canonical replacement for legacy AlpacaAccount.firstReducedTrailPercentage100.\n firstReducedTrailPercentage100: number;\n // Trailing stop percentage to use when profit exceeds the second threshold. Canonical replacement for legacy AlpacaAccount.secondReducedTrailPercentage100.\n secondReducedTrailPercentage100: number;\n // Minimum change in trailing stop percent to warrant an adjustment. Canonical replacement for legacy AlpacaAccount.minimumPriceChangePercent100.\n minimumPriceChangePercent100: number;\n // Wash-trade cooldown period in milliseconds for equities \u2014 minimum elapsed time between opposing-side fills on the same symbol per FINRA Rule 5210. Mirrors the 30s default already enforced for crypto. Default: 30000 (30 seconds).\n equityWashTradeCooldownMs: number;\n // Minimum intraday liquidity threshold (shares traded in last 5 min). Required for scalping. Default: 10000 (10k shares in last 5 min).\n minIntradayLiquidityShares: number;\n // Maximum spread in basis points (1/100ths of 1%) to allow entry. Scalping requires tight spreads; use 1-3 bps. Default: 5 (0.05%).\n maxEntrySpreadBps: number;\n // Minimum time between same-symbol same-side entries (ms). FINRA Rule 5210 requires 30s for opposite-side trades; this controls same-side rapid re-entry. Default: 5000 (5 seconds) for scalping; 30000 for normal trading.\n sameSideReentryDelayMs: number;\n // Volatility filter: only trade if ATR(14) >= minAtrPercentage. Scalping needs moderate volatility; too low = no edge. Default: 0.3 (0.3%).\n minAtrPercentage: number;\n // Volatility filter: only trade if ATR(14) <= maxAtrPercentage. Scalping needs moderate volatility; too high = whipsaws. Default: 2.0 (2.0%).\n maxAtrPercentage: number;\n // Order book depth requirement: minimum shares at best bid/ask to qualify for entry. Scalping needs guaranteed liquidity. Default: 5000 shares.\n minBookDepthShares: number;\n // Maximum market order slippage in basis points before flagging as anomaly. Helps detect liquidity crunches. Default: 10 bps.\n maxAnomalousSlippageBps: number;\n // Intraday session windows allowed (JSON array). Format: [{ startMinutesFromOpen, endMinutesFromOpen, active }]. Example: skip first 5 min and last 10 min of RTH.\n intradayTradingWindows?: any;\n // Hard position exit clock (minutes from entry). 0 = disabled. Forces liquidation regardless of signal. Useful for strict day-trading discipline. Default: 0.\n hardPositionExitMinutes: number;\n // Rapid-fire order-rate limit: max orders within orderWindowSeconds. Default: 10 orders per 5 seconds.\n maxOrdersPerWindow: number;\n // Window size for maxOrdersPerWindow rate limit (seconds). Default: 5.\n orderWindowSeconds: number;\n // Enforce intraday-only trading (auto-close all positions before EOD). Default: false.\n dayTradeOnly: boolean;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n // List of policy overlays.\n overlays: {\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n }[];\n escalationPolicyOverrides?: any;\n currentRiskState: AccountRiskState;\n currentRiskStateAt?: Date;\n lastRiskStateChangedBy?: string;\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\nenum AccountRiskState {\n NORMAL\n\n WARN\n\n THROTTLE\n\n PAUSED\n\n FLATTEN\n\n HALT\n}\n\n";
|
|
1
|
+
export declare const TradingPolicyTypeString = "\n// Your response should adhere to the following type definition for the \"TradingPolicy\" type.\n// Importantly, DO NOT include any annotations in your response (i.e., remove the ones we have provided for your reference below).\n\nexport type TradingPolicy = {\n // Relation to AlpacaAccount.\n alpacaAccount: {\n // The type of Alpaca account (PAPER or LIVE).\n type: AlpacaAccountType;\n // JSON configuration settings for the Alpaca account.\n configuration?: any;\n };\n version: number;\n lastModifiedBy?: string;\n lastModifiedAt: Date;\n autonomyMode: AutonomyMode;\n realtimeTradingEnabled: boolean;\n paperTradingOnly: boolean;\n killSwitchEnabled: boolean;\n autonomyPrefs?: any;\n equitiesEnabled: boolean;\n etfsEnabled: boolean;\n cryptoEnabled: boolean;\n optionsEnabled: boolean;\n futuresEnabled: boolean;\n forexEnabled: boolean;\n shortingEnabled: boolean;\n marginEnabled: boolean;\n fractionalSharesEnabled: boolean;\n assetUniversePrefs?: any;\n maxBuyingPowerUtilPct: number;\n cashFloorPct: number;\n maxGrossExposurePct: number;\n maxNetExposurePct: number;\n maxLeverage: number;\n maxSymbolConcentrationPct: number;\n maxSectorConcentrationPct: number;\n maxOpenPositions: number;\n maxOpenOrders: number;\n // Percentage of account equity (with leverage) allocated per equities trade. Canonical replacement for legacy AlpacaAccount.tradeAllocationPct.\n perTradeEquityAllocationPct: number;\n // Percentage of the crypto allocation slice of account equity allocated per crypto trade. Canonical replacement for legacy AlpacaAccount.cryptoTradeAllocationPct.\n perTradeCryptoAllocationPct: number;\n // Opt-in for enabling the portfolio-level trailing stop service within Adaptic's Realtime Trade Engine. Canonical replacement for legacy AlpacaAccount.enablePortfolioTrailingStop.\n enablePortfolioTrailingStop: boolean;\n // Portfolio-level trailing stop percentage used by the Realtime Trade Engine, if opted into the portfolio-level trailing stop service. Canonical replacement for legacy AlpacaAccount.portfolioTrailPercent.\n portfolioTrailPercent: number;\n // Portfolio-level profit threshold percentage used by the Realtime Trade Engine, if opted into the portfolio-level trailing stop service. Canonical replacement for legacy AlpacaAccount.portfolioProfitThresholdPercent.\n portfolioProfitThresholdPercent: number;\n // Portfolio-level trailing stop percentage used by the Realtime Trade Engine for reducing the trailing stop once the profit threshold is exceeded. Canonical replacement for legacy AlpacaAccount.reducedPortfolioTrailPercent.\n reducedPortfolioTrailPercent: number;\n // Whether the portfolio-level daily take-profit circuit breaker is enabled for this account.\n enablePortfolioTakeProfit?: boolean;\n // Daily gain target (whole percent, e.g. 1 = 1%) since the 09:30 open that trips the take-profit breaker.\n portfolioTakeProfitThresholdPercent?: number;\n // Initial trailing stop percentage used by the Position Trailing Stop Service. Canonical replacement for legacy AlpacaAccount.defaultTrailingStopPercentage100.\n defaultTrailingStopPercentage100: number;\n // First profit threshold at which the Position Trailing Stop Service reduces the trailing stop. Canonical replacement for legacy AlpacaAccount.firstTrailReductionThreshold100.\n firstTrailReductionThreshold100: number;\n // Second profit threshold at which the Position Trailing Stop Service further reduces the trailing stop. Canonical replacement for legacy AlpacaAccount.secondTrailReductionThreshold100.\n secondTrailReductionThreshold100: number;\n // Trailing stop percentage to use when profit exceeds the first threshold. Canonical replacement for legacy AlpacaAccount.firstReducedTrailPercentage100.\n firstReducedTrailPercentage100: number;\n // Trailing stop percentage to use when profit exceeds the second threshold. Canonical replacement for legacy AlpacaAccount.secondReducedTrailPercentage100.\n secondReducedTrailPercentage100: number;\n // Minimum change in trailing stop percent to warrant an adjustment. Canonical replacement for legacy AlpacaAccount.minimumPriceChangePercent100.\n minimumPriceChangePercent100: number;\n // Wash-trade cooldown period in milliseconds for equities \u2014 minimum elapsed time between opposing-side fills on the same symbol per FINRA Rule 5210. Mirrors the 30s default already enforced for crypto. Default: 30000 (30 seconds).\n equityWashTradeCooldownMs: number;\n // Minimum intraday liquidity threshold (shares traded in last 5 min). Required for scalping. Default: 10000 (10k shares in last 5 min).\n minIntradayLiquidityShares: number;\n // Maximum spread in basis points (1/100ths of 1%) to allow entry. Scalping requires tight spreads; use 1-3 bps. Default: 5 (0.05%).\n maxEntrySpreadBps: number;\n // Minimum time between same-symbol same-side entries (ms). FINRA Rule 5210 requires 30s for opposite-side trades; this controls same-side rapid re-entry. Default: 5000 (5 seconds) for scalping; 30000 for normal trading.\n sameSideReentryDelayMs: number;\n // Volatility filter: only trade if ATR(14) >= minAtrPercentage. Scalping needs moderate volatility; too low = no edge. Default: 0.3 (0.3%).\n minAtrPercentage: number;\n // Volatility filter: only trade if ATR(14) <= maxAtrPercentage. Scalping needs moderate volatility; too high = whipsaws. Default: 2.0 (2.0%).\n maxAtrPercentage: number;\n // Order book depth requirement: minimum shares at best bid/ask to qualify for entry. Scalping needs guaranteed liquidity. Default: 5000 shares.\n minBookDepthShares: number;\n // Maximum market order slippage in basis points before flagging as anomaly. Helps detect liquidity crunches. Default: 10 bps.\n maxAnomalousSlippageBps: number;\n // Intraday session windows allowed (JSON array). Format: [{ startMinutesFromOpen, endMinutesFromOpen, active }]. Example: skip first 5 min and last 10 min of RTH.\n intradayTradingWindows?: any;\n // Hard position exit clock (minutes from entry). 0 = disabled. Forces liquidation regardless of signal. Useful for strict day-trading discipline. Default: 0.\n hardPositionExitMinutes: number;\n // Rapid-fire order-rate limit: max orders within orderWindowSeconds. Default: 10 orders per 5 seconds.\n maxOrdersPerWindow: number;\n // Window size for maxOrdersPerWindow rate limit (seconds). Default: 5.\n orderWindowSeconds: number;\n // Enforce intraday-only trading (auto-close all positions before EOD). Default: false.\n dayTradeOnly: boolean;\n riskBudgetPrefs?: any;\n signalConsumptionPrefs?: any;\n executionPrefs?: any;\n positionManagementPrefs?: any;\n portfolioConstructionPrefs?: any;\n macroOverlayEnabled: boolean;\n sectorOverlayEnabled: boolean;\n volatilityOverlayEnabled: boolean;\n liquidityStressOverlayEnabled: boolean;\n blackSwanProtectionEnabled: boolean;\n drawdownGuardianEnabled: boolean;\n correlationSpikeProtectionEnabled: boolean;\n newsEventRiskOverlayEnabled: boolean;\n exchangeHealthOverlayEnabled: boolean;\n dataQualitySentinelEnabled: boolean;\n overlayResponsePrefs?: any;\n miniModelProvider?: LlmProvider;\n normalModelProvider?: LlmProvider;\n advancedModelProvider?: LlmProvider;\n modelPrefs?: any;\n auditNotificationPrefs?: any;\n // List of policy overlays.\n overlays: {\n overlayType: OverlayType;\n source: string;\n reason: string;\n severity: OverlaySeverity;\n version: number;\n mutations: any;\n status: OverlayStatus;\n activatedAt: Date;\n expiresAt?: Date;\n deactivatedAt?: Date;\n deactivatedBy?: string;\n }[];\n escalationPolicyOverrides?: any;\n currentRiskState: AccountRiskState;\n currentRiskStateAt?: Date;\n lastRiskStateChangedBy?: string;\n};\n\nenum AlpacaAccountType {\n PAPER\n\n LIVE\n}\n\nenum AutonomyMode {\n ADVISORY_ONLY\n\n EXECUTION_ON_APPROVAL\n\n SEMI_AUTONOMOUS\n\n FULLY_AUTONOMOUS\n\n EMERGENCY_SAFE_MODE\n}\n\nenum LlmProvider {\n OPENAI\n\n ANTHROPIC\n\n DEEPSEEK\n\n KIMI\n\n QWEN\n\n XAI\n\n GEMINI\n}\n\nenum OverlayType {\n BLACK_SWAN\n\n VOLATILITY_REGIME\n\n SECTOR_DETERIORATION\n\n DRAWDOWN_BREACH\n\n CORRELATION_SPIKE\n\n LIQUIDITY_STRESS\n\n EXCHANGE_DEGRADATION\n\n DATA_QUALITY\n\n NEWS_EVENT_RISK\n\n RATES_BONDS_STRESS\n\n MANUAL_OVERRIDE\n\n INCIDENT_RESPONSE\n}\n\nenum OverlaySeverity {\n LOW\n\n MEDIUM\n\n HIGH\n\n CRITICAL\n}\n\nenum OverlayStatus {\n ACTIVE\n\n EXPIRED\n\n DEACTIVATED\n\n SUPERSEDED\n}\n\nenum AccountRiskState {\n NORMAL\n\n WARN\n\n THROTTLE\n\n PAUSED\n\n FLATTEN\n\n HALT\n}\n\n";
|
|
2
2
|
//# sourceMappingURL=TradingPolicy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TradingPolicy.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TradingPolicy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"TradingPolicy.d.ts","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TradingPolicy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,47QAoOnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TradingPolicy.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TradingPolicy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG
|
|
1
|
+
{"version":3,"file":"TradingPolicy.js","sourceRoot":"","sources":["../../../../src/generated/typeStrings/TradingPolicy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,uBAAuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoOtC,CAAC"}
|
|
@@ -49,6 +49,10 @@ export type TradingPolicy = {
|
|
|
49
49
|
portfolioProfitThresholdPercent: number;
|
|
50
50
|
// Portfolio-level trailing stop percentage used by the Realtime Trade Engine for reducing the trailing stop once the profit threshold is exceeded. Canonical replacement for legacy AlpacaAccount.reducedPortfolioTrailPercent.
|
|
51
51
|
reducedPortfolioTrailPercent: number;
|
|
52
|
+
// Whether the portfolio-level daily take-profit circuit breaker is enabled for this account.
|
|
53
|
+
enablePortfolioTakeProfit?: boolean;
|
|
54
|
+
// Daily gain target (whole percent, e.g. 1 = 1%) since the 09:30 open that trips the take-profit breaker.
|
|
55
|
+
portfolioTakeProfitThresholdPercent?: number;
|
|
52
56
|
// Initial trailing stop percentage used by the Position Trailing Stop Service. Canonical replacement for legacy AlpacaAccount.defaultTrailingStopPercentage100.
|
|
53
57
|
defaultTrailingStopPercentage100: number;
|
|
54
58
|
// First profit threshold at which the Position Trailing Stop Service reduces the trailing stop. Canonical replacement for legacy AlpacaAccount.firstTrailReductionThreshold100.
|