@adaptic/backend-legacy 0.0.954 → 0.0.956
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 +200 -0
- package/AccountLinkingRequest.cjs +200 -0
- package/Alert.cjs +170 -0
- package/Allocation.cjs +170 -0
- package/AlpacaAccount.cjs +150 -0
- package/Authenticator.cjs +200 -0
- package/Customer.cjs +210 -0
- package/LinkedProvider.cjs +200 -0
- package/LlmConfiguration.cjs +200 -0
- package/PolicyOverlay.cjs +140 -0
- package/Session.cjs +200 -0
- package/TradingPolicy.cjs +130 -0
- package/User.cjs +180 -0
- package/WaitlistEntry.cjs +200 -0
- package/client.cjs +53 -5
- package/esm/Account.d.ts.map +1 -1
- package/esm/Account.js.map +1 -1
- package/esm/Account.mjs +200 -0
- package/esm/AccountLinkingRequest.d.ts.map +1 -1
- package/esm/AccountLinkingRequest.js.map +1 -1
- package/esm/AccountLinkingRequest.mjs +200 -0
- package/esm/Alert.d.ts.map +1 -1
- package/esm/Alert.js.map +1 -1
- package/esm/Alert.mjs +170 -0
- package/esm/Allocation.d.ts.map +1 -1
- package/esm/Allocation.js.map +1 -1
- package/esm/Allocation.mjs +170 -0
- package/esm/AlpacaAccount.d.ts.map +1 -1
- package/esm/AlpacaAccount.js.map +1 -1
- package/esm/AlpacaAccount.mjs +150 -0
- package/esm/Authenticator.d.ts.map +1 -1
- package/esm/Authenticator.js.map +1 -1
- package/esm/Authenticator.mjs +200 -0
- package/esm/Customer.d.ts.map +1 -1
- package/esm/Customer.js.map +1 -1
- package/esm/Customer.mjs +210 -0
- package/esm/LinkedProvider.d.ts.map +1 -1
- package/esm/LinkedProvider.js.map +1 -1
- package/esm/LinkedProvider.mjs +200 -0
- package/esm/LlmConfiguration.d.ts.map +1 -1
- package/esm/LlmConfiguration.js.map +1 -1
- package/esm/LlmConfiguration.mjs +200 -0
- package/esm/PolicyOverlay.d.ts.map +1 -1
- package/esm/PolicyOverlay.js.map +1 -1
- package/esm/PolicyOverlay.mjs +140 -0
- package/esm/Session.d.ts.map +1 -1
- package/esm/Session.js.map +1 -1
- package/esm/Session.mjs +200 -0
- package/esm/TradingPolicy.d.ts.map +1 -1
- package/esm/TradingPolicy.js.map +1 -1
- package/esm/TradingPolicy.mjs +130 -0
- package/esm/User.d.ts.map +1 -1
- package/esm/User.js.map +1 -1
- package/esm/User.mjs +180 -0
- package/esm/WaitlistEntry.d.ts.map +1 -1
- package/esm/WaitlistEntry.js.map +1 -1
- package/esm/WaitlistEntry.mjs +200 -0
- package/esm/client.d.ts.map +1 -1
- package/esm/client.js.map +1 -1
- package/esm/client.mjs +52 -5
- 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 +10 -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 +10 -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 +10 -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 +10 -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 +20 -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 +20 -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 +10 -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 +10 -0
- package/esm/generated/typegraphql-prisma/models/AlpacaAccount.d.ts +10 -10
- package/esm/generated/typegraphql-prisma/models/AlpacaAccount.js.map +1 -1
- package/esm/generated/typegraphql-prisma/models/AlpacaAccount.mjs +20 -20
- package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts +40 -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 +110 -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 +9 -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 +63 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +9 -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 +63 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +9 -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 +63 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +10 -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 +70 -0
- package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +9 -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 +63 -0
- package/esm/index.d.ts.map +1 -1
- package/generated/typeStrings/PolicyOverlay.cjs +20 -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 +20 -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 +10 -0
- package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +10 -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/AlpacaAccount.cjs +10 -10
- package/generated/typegraphql-prisma/models/AlpacaAccount.d.ts +10 -10
- package/generated/typegraphql-prisma/models/AlpacaAccount.js.map +1 -1
- package/generated/typegraphql-prisma/models/TradingPolicy.cjs +70 -0
- package/generated/typegraphql-prisma/models/TradingPolicy.d.ts +40 -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 +54 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +9 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +10 -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 +54 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +9 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +10 -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 +54 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +9 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +10 -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 +60 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +10 -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 +54 -0
- package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +9 -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/WaitlistEntry.cjs
CHANGED
|
@@ -327,6 +327,16 @@ exports.WaitlistEntry = {
|
|
|
327
327
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
328
328
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
329
329
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
330
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
331
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
332
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
333
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
334
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
335
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
336
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
337
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
338
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
339
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
330
340
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
331
341
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
332
342
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -1316,6 +1326,36 @@ exports.WaitlistEntry = {
|
|
|
1316
1326
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
|
|
1317
1327
|
set: item.tradingPolicy.perTradeCryptoAllocationPct
|
|
1318
1328
|
} : undefined,
|
|
1329
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
|
|
1330
|
+
set: item.tradingPolicy.enablePortfolioTrailingStop
|
|
1331
|
+
} : undefined,
|
|
1332
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? {
|
|
1333
|
+
set: item.tradingPolicy.portfolioTrailPercent
|
|
1334
|
+
} : undefined,
|
|
1335
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
|
|
1336
|
+
set: item.tradingPolicy.portfolioProfitThresholdPercent
|
|
1337
|
+
} : undefined,
|
|
1338
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
|
|
1339
|
+
set: item.tradingPolicy.reducedPortfolioTrailPercent
|
|
1340
|
+
} : undefined,
|
|
1341
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
|
|
1342
|
+
set: item.tradingPolicy.defaultTrailingStopPercentage100
|
|
1343
|
+
} : undefined,
|
|
1344
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
|
|
1345
|
+
set: item.tradingPolicy.firstTrailReductionThreshold100
|
|
1346
|
+
} : undefined,
|
|
1347
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
|
|
1348
|
+
set: item.tradingPolicy.secondTrailReductionThreshold100
|
|
1349
|
+
} : undefined,
|
|
1350
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
|
|
1351
|
+
set: item.tradingPolicy.firstReducedTrailPercentage100
|
|
1352
|
+
} : undefined,
|
|
1353
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
|
|
1354
|
+
set: item.tradingPolicy.secondReducedTrailPercentage100
|
|
1355
|
+
} : undefined,
|
|
1356
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
|
|
1357
|
+
set: item.tradingPolicy.minimumPriceChangePercent100
|
|
1358
|
+
} : undefined,
|
|
1319
1359
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
1320
1360
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
1321
1361
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -1403,6 +1443,16 @@ exports.WaitlistEntry = {
|
|
|
1403
1443
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
1404
1444
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
1405
1445
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
1446
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
1447
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
1448
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
1449
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
1450
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
1451
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
1452
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
1453
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
1454
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
1455
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
1406
1456
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
1407
1457
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
1408
1458
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -1607,6 +1657,16 @@ exports.WaitlistEntry = {
|
|
|
1607
1657
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
1608
1658
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
1609
1659
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
1660
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
1661
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
1662
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
1663
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
1664
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
1665
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
1666
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
1667
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
1668
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
1669
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
1610
1670
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
1611
1671
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
1612
1672
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -2116,6 +2176,16 @@ exports.WaitlistEntry = {
|
|
|
2116
2176
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
2117
2177
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
2118
2178
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
2179
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
2180
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
2181
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
2182
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
2183
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
2184
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
2185
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
2186
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
2187
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
2188
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
2119
2189
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
2120
2190
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
2121
2191
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -2716,6 +2786,16 @@ exports.WaitlistEntry = {
|
|
|
2716
2786
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
2717
2787
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
2718
2788
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
2789
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
2790
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
2791
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
2792
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
2793
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
2794
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
2795
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
2796
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
2797
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
2798
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
2719
2799
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
2720
2800
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
2721
2801
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -3440,6 +3520,36 @@ exports.WaitlistEntry = {
|
|
|
3440
3520
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
|
|
3441
3521
|
set: item.tradingPolicy.perTradeCryptoAllocationPct
|
|
3442
3522
|
} : undefined,
|
|
3523
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
|
|
3524
|
+
set: item.tradingPolicy.enablePortfolioTrailingStop
|
|
3525
|
+
} : undefined,
|
|
3526
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? {
|
|
3527
|
+
set: item.tradingPolicy.portfolioTrailPercent
|
|
3528
|
+
} : undefined,
|
|
3529
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
|
|
3530
|
+
set: item.tradingPolicy.portfolioProfitThresholdPercent
|
|
3531
|
+
} : undefined,
|
|
3532
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
|
|
3533
|
+
set: item.tradingPolicy.reducedPortfolioTrailPercent
|
|
3534
|
+
} : undefined,
|
|
3535
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
|
|
3536
|
+
set: item.tradingPolicy.defaultTrailingStopPercentage100
|
|
3537
|
+
} : undefined,
|
|
3538
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
|
|
3539
|
+
set: item.tradingPolicy.firstTrailReductionThreshold100
|
|
3540
|
+
} : undefined,
|
|
3541
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
|
|
3542
|
+
set: item.tradingPolicy.secondTrailReductionThreshold100
|
|
3543
|
+
} : undefined,
|
|
3544
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
|
|
3545
|
+
set: item.tradingPolicy.firstReducedTrailPercentage100
|
|
3546
|
+
} : undefined,
|
|
3547
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
|
|
3548
|
+
set: item.tradingPolicy.secondReducedTrailPercentage100
|
|
3549
|
+
} : undefined,
|
|
3550
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
|
|
3551
|
+
set: item.tradingPolicy.minimumPriceChangePercent100
|
|
3552
|
+
} : undefined,
|
|
3443
3553
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
3444
3554
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
3445
3555
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -3527,6 +3637,16 @@ exports.WaitlistEntry = {
|
|
|
3527
3637
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
3528
3638
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
3529
3639
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
3640
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
3641
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
3642
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
3643
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
3644
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
3645
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
3646
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
3647
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
3648
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
3649
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
3530
3650
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
3531
3651
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
3532
3652
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -3731,6 +3851,16 @@ exports.WaitlistEntry = {
|
|
|
3731
3851
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
3732
3852
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
3733
3853
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
3854
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
3855
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
3856
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
3857
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
3858
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
3859
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
3860
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
3861
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
3862
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
3863
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
3734
3864
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
3735
3865
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
3736
3866
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -4240,6 +4370,16 @@ exports.WaitlistEntry = {
|
|
|
4240
4370
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
4241
4371
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
4242
4372
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
4373
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
4374
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
4375
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
4376
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
4377
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
4378
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
4379
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
4380
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
4381
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
4382
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
4243
4383
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
4244
4384
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
4245
4385
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -5123,6 +5263,36 @@ exports.WaitlistEntry = {
|
|
|
5123
5263
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
|
|
5124
5264
|
set: item.tradingPolicy.perTradeCryptoAllocationPct
|
|
5125
5265
|
} : undefined,
|
|
5266
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
|
|
5267
|
+
set: item.tradingPolicy.enablePortfolioTrailingStop
|
|
5268
|
+
} : undefined,
|
|
5269
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? {
|
|
5270
|
+
set: item.tradingPolicy.portfolioTrailPercent
|
|
5271
|
+
} : undefined,
|
|
5272
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
|
|
5273
|
+
set: item.tradingPolicy.portfolioProfitThresholdPercent
|
|
5274
|
+
} : undefined,
|
|
5275
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
|
|
5276
|
+
set: item.tradingPolicy.reducedPortfolioTrailPercent
|
|
5277
|
+
} : undefined,
|
|
5278
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
|
|
5279
|
+
set: item.tradingPolicy.defaultTrailingStopPercentage100
|
|
5280
|
+
} : undefined,
|
|
5281
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
|
|
5282
|
+
set: item.tradingPolicy.firstTrailReductionThreshold100
|
|
5283
|
+
} : undefined,
|
|
5284
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
|
|
5285
|
+
set: item.tradingPolicy.secondTrailReductionThreshold100
|
|
5286
|
+
} : undefined,
|
|
5287
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
|
|
5288
|
+
set: item.tradingPolicy.firstReducedTrailPercentage100
|
|
5289
|
+
} : undefined,
|
|
5290
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
|
|
5291
|
+
set: item.tradingPolicy.secondReducedTrailPercentage100
|
|
5292
|
+
} : undefined,
|
|
5293
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
|
|
5294
|
+
set: item.tradingPolicy.minimumPriceChangePercent100
|
|
5295
|
+
} : undefined,
|
|
5126
5296
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
5127
5297
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
5128
5298
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -5210,6 +5380,16 @@ exports.WaitlistEntry = {
|
|
|
5210
5380
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
5211
5381
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
5212
5382
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
5383
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
5384
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
5385
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
5386
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
5387
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
5388
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
5389
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
5390
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
5391
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
5392
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
5213
5393
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
5214
5394
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
5215
5395
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -5414,6 +5594,16 @@ exports.WaitlistEntry = {
|
|
|
5414
5594
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
5415
5595
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
5416
5596
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
5597
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
5598
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
5599
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
5600
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
5601
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
5602
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
5603
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
5604
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
5605
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
5606
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
5417
5607
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
5418
5608
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
5419
5609
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
|
@@ -5923,6 +6113,16 @@ exports.WaitlistEntry = {
|
|
|
5923
6113
|
maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
|
|
5924
6114
|
perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
|
|
5925
6115
|
perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
|
|
6116
|
+
enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
|
|
6117
|
+
portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
|
|
6118
|
+
portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
|
|
6119
|
+
reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
|
|
6120
|
+
defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
|
|
6121
|
+
firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
|
|
6122
|
+
secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
|
|
6123
|
+
firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
|
|
6124
|
+
secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
|
|
6125
|
+
minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
|
|
5926
6126
|
riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
|
|
5927
6127
|
signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
|
|
5928
6128
|
executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
|
package/client.cjs
CHANGED
|
@@ -167,10 +167,44 @@ function processQueue() {
|
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* Extract the GraphQL operation name from a query or mutation DocumentNode.
|
|
172
|
+
* Returns the name of the first OperationDefinition (e.g. `findManyTrade`,
|
|
173
|
+
* `createOneAlert`) so callers see which operations participate in a retry
|
|
174
|
+
* or timeout cascade. Returns 'anonymous' for unnamed operations and
|
|
175
|
+
* 'unknown' when the document shape is unexpected — never throws, so
|
|
176
|
+
* observability code never degrades the request path.
|
|
177
|
+
*/
|
|
178
|
+
function extractOperationName(options) {
|
|
179
|
+
var _a, _b, _c;
|
|
180
|
+
try {
|
|
181
|
+
const opts = options;
|
|
182
|
+
const doc = (_a = opts === null || opts === void 0 ? void 0 : opts.query) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.mutation;
|
|
183
|
+
const defs = doc === null || doc === void 0 ? void 0 : doc.definitions;
|
|
184
|
+
if (!Array.isArray(defs))
|
|
185
|
+
return 'unknown';
|
|
186
|
+
for (const def of defs) {
|
|
187
|
+
const d = def;
|
|
188
|
+
if ((d === null || d === void 0 ? void 0 : d.kind) === 'OperationDefinition') {
|
|
189
|
+
return (_c = (_b = d.name) === null || _b === void 0 ? void 0 : _b.value) !== null && _c !== void 0 ? _c : 'anonymous';
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return 'unknown';
|
|
193
|
+
}
|
|
194
|
+
catch (_d) {
|
|
195
|
+
return 'unknown';
|
|
196
|
+
}
|
|
197
|
+
}
|
|
170
198
|
/**
|
|
171
199
|
* Adds an operation to the queue with retry capability.
|
|
200
|
+
*
|
|
201
|
+
* `operationName` is threaded through retries so every log line names the
|
|
202
|
+
* GraphQL operation (e.g. `findManyTrade`, `createManyEquityBar`) that is
|
|
203
|
+
* being retried or rejected. Without it, cascade bursts of 4-17 concurrent
|
|
204
|
+
* timeouts are indistinguishable in logs and root-cause diagnosis is
|
|
205
|
+
* impossible.
|
|
172
206
|
*/
|
|
173
|
-
async function enqueueOperation(operation, attempt = 0) {
|
|
207
|
+
async function enqueueOperation(operation, operationName, attempt = 0) {
|
|
174
208
|
return new Promise((resolve, reject) => {
|
|
175
209
|
const executeWithRetry = async () => {
|
|
176
210
|
try {
|
|
@@ -197,16 +231,30 @@ async function enqueueOperation(operation, attempt = 0) {
|
|
|
197
231
|
error.message.includes('status code 502') ||
|
|
198
232
|
error.message.includes('status code 503') ||
|
|
199
233
|
error.message.includes('status code 504'));
|
|
234
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
200
235
|
if (attempt < poolConfig.retryAttempts && isRetryable) {
|
|
201
236
|
const delay = poolConfig.retryDelay * Math.pow(2, attempt);
|
|
202
|
-
logger_1.logger.warn(`Apollo operation failed, retrying in ${delay}ms (attempt ${attempt + 1}/${poolConfig.retryAttempts})`, {
|
|
237
|
+
logger_1.logger.warn(`Apollo operation '${operationName}' failed, retrying in ${delay}ms (attempt ${attempt + 1}/${poolConfig.retryAttempts})`, {
|
|
238
|
+
operation: operationName,
|
|
239
|
+
attempt: attempt + 1,
|
|
240
|
+
maxAttempts: poolConfig.retryAttempts,
|
|
241
|
+
delayMs: delay,
|
|
242
|
+
error: errorMessage,
|
|
243
|
+
});
|
|
203
244
|
setTimeout(() => {
|
|
204
|
-
enqueueOperation(operation, attempt + 1)
|
|
245
|
+
enqueueOperation(operation, operationName, attempt + 1)
|
|
205
246
|
.then(resolve)
|
|
206
247
|
.catch(reject);
|
|
207
248
|
}, delay);
|
|
208
249
|
}
|
|
209
250
|
else {
|
|
251
|
+
if (isRetryable) {
|
|
252
|
+
logger_1.logger.warn(`Apollo operation '${operationName}' exhausted retries (${poolConfig.retryAttempts}/${poolConfig.retryAttempts})`, {
|
|
253
|
+
operation: operationName,
|
|
254
|
+
attempts: poolConfig.retryAttempts,
|
|
255
|
+
error: errorMessage,
|
|
256
|
+
});
|
|
257
|
+
}
|
|
210
258
|
reject(error);
|
|
211
259
|
}
|
|
212
260
|
}
|
|
@@ -380,10 +428,10 @@ async function getApolloClient() {
|
|
|
380
428
|
const originalQuery = apolloClient.query.bind(apolloClient);
|
|
381
429
|
const originalMutate = apolloClient.mutate.bind(apolloClient);
|
|
382
430
|
apolloClient.query = (options) => {
|
|
383
|
-
return enqueueOperation(() => originalQuery(options));
|
|
431
|
+
return enqueueOperation(() => originalQuery(options), extractOperationName(options));
|
|
384
432
|
};
|
|
385
433
|
apolloClient.mutate = (options) => {
|
|
386
|
-
return enqueueOperation(() => originalMutate(options));
|
|
434
|
+
return enqueueOperation(() => originalMutate(options), extractOperationName(options));
|
|
387
435
|
};
|
|
388
436
|
return apolloClient;
|
|
389
437
|
}
|
package/esm/Account.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../src/Account.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAmB,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AA2BpG,eAAO,MAAM,OAAO;IAElB;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../src/Account.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAmB,gBAAgB,EAAE,qBAAqB,EAAoB,MAAM,UAAU,CAAC;AA2BpG,eAAO,MAAM,OAAO;IAElB;;;;;OAKG;IAEH;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IAskBhH;;;;;;;OAOG;sBACqB,WAAW,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,YAAY;QAAE,cAAc,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IA4IzK;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IA+vD9G;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IAksE9G;;;;;;OAMG;sBACqB,WAAW,EAAE,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IA8vDjI;;;;;;OAMG;kBACiB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC;IAwI9G;;;;;;;OAOG;eACc,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,eAAe,GAAG,GAAG,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC;IAgHpI;;;;;OAKG;0BACyB,gBAAgB,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC;IAiGnG;;;;;;;OAOG;oBACmB,WAAW,iBAAiB,gBAAgB,CAAC,qBAAqB,CAAC,eAAe,GAAG,GAAG,OAAO,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC;CA8H5I,CAAC"}
|