@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.
Files changed (346) hide show
  1. package/Account.cjs +200 -0
  2. package/AccountLinkingRequest.cjs +200 -0
  3. package/Alert.cjs +170 -0
  4. package/Allocation.cjs +170 -0
  5. package/AlpacaAccount.cjs +150 -0
  6. package/Authenticator.cjs +200 -0
  7. package/Customer.cjs +210 -0
  8. package/LinkedProvider.cjs +200 -0
  9. package/LlmConfiguration.cjs +200 -0
  10. package/PolicyOverlay.cjs +140 -0
  11. package/Session.cjs +200 -0
  12. package/TradingPolicy.cjs +130 -0
  13. package/User.cjs +180 -0
  14. package/WaitlistEntry.cjs +200 -0
  15. package/client.cjs +53 -5
  16. package/esm/Account.d.ts.map +1 -1
  17. package/esm/Account.js.map +1 -1
  18. package/esm/Account.mjs +200 -0
  19. package/esm/AccountLinkingRequest.d.ts.map +1 -1
  20. package/esm/AccountLinkingRequest.js.map +1 -1
  21. package/esm/AccountLinkingRequest.mjs +200 -0
  22. package/esm/Alert.d.ts.map +1 -1
  23. package/esm/Alert.js.map +1 -1
  24. package/esm/Alert.mjs +170 -0
  25. package/esm/Allocation.d.ts.map +1 -1
  26. package/esm/Allocation.js.map +1 -1
  27. package/esm/Allocation.mjs +170 -0
  28. package/esm/AlpacaAccount.d.ts.map +1 -1
  29. package/esm/AlpacaAccount.js.map +1 -1
  30. package/esm/AlpacaAccount.mjs +150 -0
  31. package/esm/Authenticator.d.ts.map +1 -1
  32. package/esm/Authenticator.js.map +1 -1
  33. package/esm/Authenticator.mjs +200 -0
  34. package/esm/Customer.d.ts.map +1 -1
  35. package/esm/Customer.js.map +1 -1
  36. package/esm/Customer.mjs +210 -0
  37. package/esm/LinkedProvider.d.ts.map +1 -1
  38. package/esm/LinkedProvider.js.map +1 -1
  39. package/esm/LinkedProvider.mjs +200 -0
  40. package/esm/LlmConfiguration.d.ts.map +1 -1
  41. package/esm/LlmConfiguration.js.map +1 -1
  42. package/esm/LlmConfiguration.mjs +200 -0
  43. package/esm/PolicyOverlay.d.ts.map +1 -1
  44. package/esm/PolicyOverlay.js.map +1 -1
  45. package/esm/PolicyOverlay.mjs +140 -0
  46. package/esm/Session.d.ts.map +1 -1
  47. package/esm/Session.js.map +1 -1
  48. package/esm/Session.mjs +200 -0
  49. package/esm/TradingPolicy.d.ts.map +1 -1
  50. package/esm/TradingPolicy.js.map +1 -1
  51. package/esm/TradingPolicy.mjs +130 -0
  52. package/esm/User.d.ts.map +1 -1
  53. package/esm/User.js.map +1 -1
  54. package/esm/User.mjs +180 -0
  55. package/esm/WaitlistEntry.d.ts.map +1 -1
  56. package/esm/WaitlistEntry.js.map +1 -1
  57. package/esm/WaitlistEntry.mjs +200 -0
  58. package/esm/client.d.ts.map +1 -1
  59. package/esm/client.js.map +1 -1
  60. package/esm/client.mjs +52 -5
  61. package/esm/generated/selectionSets/AlpacaAccount.d.ts +1 -1
  62. package/esm/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
  63. package/esm/generated/selectionSets/AlpacaAccount.js.map +1 -1
  64. package/esm/generated/selectionSets/AlpacaAccount.mjs +10 -0
  65. package/esm/generated/selectionSets/Customer.d.ts +1 -1
  66. package/esm/generated/selectionSets/Customer.d.ts.map +1 -1
  67. package/esm/generated/selectionSets/Customer.js.map +1 -1
  68. package/esm/generated/selectionSets/Customer.mjs +10 -0
  69. package/esm/generated/selectionSets/TradingPolicy.d.ts +1 -1
  70. package/esm/generated/selectionSets/TradingPolicy.d.ts.map +1 -1
  71. package/esm/generated/selectionSets/TradingPolicy.js.map +1 -1
  72. package/esm/generated/selectionSets/TradingPolicy.mjs +10 -0
  73. package/esm/generated/selectionSets/User.d.ts +1 -1
  74. package/esm/generated/selectionSets/User.d.ts.map +1 -1
  75. package/esm/generated/selectionSets/User.js.map +1 -1
  76. package/esm/generated/selectionSets/User.mjs +10 -0
  77. package/esm/generated/typeStrings/PolicyOverlay.d.ts +1 -1
  78. package/esm/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
  79. package/esm/generated/typeStrings/PolicyOverlay.js.map +1 -1
  80. package/esm/generated/typeStrings/PolicyOverlay.mjs +20 -0
  81. package/esm/generated/typeStrings/TradingPolicy.d.ts +1 -1
  82. package/esm/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
  83. package/esm/generated/typeStrings/TradingPolicy.js.map +1 -1
  84. package/esm/generated/typeStrings/TradingPolicy.mjs +20 -0
  85. package/esm/generated/typeStrings/index.d.ts +2 -2
  86. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  87. package/esm/generated/typegraphql-prisma/enhance.mjs +26 -26
  88. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +10 -0
  89. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts.map +1 -1
  90. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.js.map +1 -1
  91. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.mjs +10 -0
  92. package/esm/generated/typegraphql-prisma/models/AlpacaAccount.d.ts +10 -10
  93. package/esm/generated/typegraphql-prisma/models/AlpacaAccount.js.map +1 -1
  94. package/esm/generated/typegraphql-prisma/models/AlpacaAccount.mjs +20 -20
  95. package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts +40 -0
  96. package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
  97. package/esm/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
  98. package/esm/generated/typegraphql-prisma/models/TradingPolicy.mjs +110 -0
  99. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts +1 -1
  100. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts.map +1 -1
  101. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.js.map +1 -1
  102. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts +1 -1
  103. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts.map +1 -1
  104. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.js.map +1 -1
  105. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts +1 -1
  106. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts.map +1 -1
  107. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.js.map +1 -1
  108. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts +1 -1
  109. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts.map +1 -1
  110. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.js.map +1 -1
  111. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +9 -0
  112. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts.map +1 -1
  113. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.js.map +1 -1
  114. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.mjs +63 -0
  115. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +10 -0
  116. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts.map +1 -1
  117. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.js.map +1 -1
  118. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.mjs +70 -0
  119. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +10 -0
  120. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts.map +1 -1
  121. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.js.map +1 -1
  122. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.mjs +70 -0
  123. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +10 -0
  124. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts.map +1 -1
  125. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.js.map +1 -1
  126. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.mjs +70 -0
  127. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +10 -0
  128. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  129. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.js.map +1 -1
  130. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.mjs +70 -0
  131. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +10 -0
  132. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts.map +1 -1
  133. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.js.map +1 -1
  134. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.mjs +70 -0
  135. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +10 -0
  136. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts.map +1 -1
  137. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.js.map +1 -1
  138. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.mjs +70 -0
  139. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +10 -0
  140. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts.map +1 -1
  141. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.js.map +1 -1
  142. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.mjs +70 -0
  143. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +10 -0
  144. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts.map +1 -1
  145. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.js.map +1 -1
  146. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.mjs +70 -0
  147. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +10 -0
  148. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts.map +1 -1
  149. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.js.map +1 -1
  150. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.mjs +70 -0
  151. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +10 -0
  152. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts.map +1 -1
  153. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.js.map +1 -1
  154. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.mjs +70 -0
  155. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +9 -0
  156. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts.map +1 -1
  157. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.js.map +1 -1
  158. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.mjs +63 -0
  159. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +10 -0
  160. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts.map +1 -1
  161. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.js.map +1 -1
  162. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.mjs +70 -0
  163. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +10 -0
  164. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts.map +1 -1
  165. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.js.map +1 -1
  166. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.mjs +70 -0
  167. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +10 -0
  168. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  169. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.js.map +1 -1
  170. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.mjs +70 -0
  171. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +10 -0
  172. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts.map +1 -1
  173. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.js.map +1 -1
  174. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.mjs +70 -0
  175. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +10 -0
  176. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts.map +1 -1
  177. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.js.map +1 -1
  178. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.mjs +70 -0
  179. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +10 -0
  180. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts.map +1 -1
  181. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.js.map +1 -1
  182. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.mjs +70 -0
  183. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +10 -0
  184. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts.map +1 -1
  185. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.js.map +1 -1
  186. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.mjs +70 -0
  187. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +9 -0
  188. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts.map +1 -1
  189. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.js.map +1 -1
  190. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.mjs +63 -0
  191. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +10 -0
  192. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts.map +1 -1
  193. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.js.map +1 -1
  194. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.mjs +70 -0
  195. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +10 -0
  196. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts.map +1 -1
  197. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.js.map +1 -1
  198. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.mjs +70 -0
  199. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +10 -0
  200. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts.map +1 -1
  201. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.js.map +1 -1
  202. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.mjs +70 -0
  203. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +10 -0
  204. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts.map +1 -1
  205. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.js.map +1 -1
  206. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.mjs +70 -0
  207. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +9 -0
  208. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts.map +1 -1
  209. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.js.map +1 -1
  210. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.mjs +63 -0
  211. package/esm/index.d.ts.map +1 -1
  212. package/generated/typeStrings/PolicyOverlay.cjs +20 -0
  213. package/generated/typeStrings/PolicyOverlay.d.ts +1 -1
  214. package/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
  215. package/generated/typeStrings/PolicyOverlay.js.map +1 -1
  216. package/generated/typeStrings/TradingPolicy.cjs +20 -0
  217. package/generated/typeStrings/TradingPolicy.d.ts +1 -1
  218. package/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
  219. package/generated/typeStrings/TradingPolicy.js.map +1 -1
  220. package/generated/typeStrings/index.d.ts +2 -2
  221. package/generated/typegraphql-prisma/enhance.cjs +26 -26
  222. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  223. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.cjs +10 -0
  224. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +10 -0
  225. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts.map +1 -1
  226. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.js.map +1 -1
  227. package/generated/typegraphql-prisma/models/AlpacaAccount.cjs +10 -10
  228. package/generated/typegraphql-prisma/models/AlpacaAccount.d.ts +10 -10
  229. package/generated/typegraphql-prisma/models/AlpacaAccount.js.map +1 -1
  230. package/generated/typegraphql-prisma/models/TradingPolicy.cjs +70 -0
  231. package/generated/typegraphql-prisma/models/TradingPolicy.d.ts +40 -0
  232. package/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
  233. package/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
  234. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts +1 -1
  235. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts.map +1 -1
  236. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.js.map +1 -1
  237. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts +1 -1
  238. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts.map +1 -1
  239. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.js.map +1 -1
  240. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts +1 -1
  241. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts.map +1 -1
  242. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.js.map +1 -1
  243. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts +1 -1
  244. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts.map +1 -1
  245. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.js.map +1 -1
  246. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.cjs +54 -0
  247. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +9 -0
  248. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts.map +1 -1
  249. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.js.map +1 -1
  250. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.cjs +60 -0
  251. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +10 -0
  252. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts.map +1 -1
  253. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.js.map +1 -1
  254. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.cjs +60 -0
  255. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +10 -0
  256. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts.map +1 -1
  257. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.js.map +1 -1
  258. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.cjs +60 -0
  259. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +10 -0
  260. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts.map +1 -1
  261. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.js.map +1 -1
  262. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.cjs +60 -0
  263. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +10 -0
  264. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  265. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.js.map +1 -1
  266. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.cjs +60 -0
  267. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +10 -0
  268. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts.map +1 -1
  269. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.js.map +1 -1
  270. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.cjs +60 -0
  271. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +10 -0
  272. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts.map +1 -1
  273. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.js.map +1 -1
  274. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.cjs +60 -0
  275. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +10 -0
  276. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts.map +1 -1
  277. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.js.map +1 -1
  278. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.cjs +60 -0
  279. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +10 -0
  280. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts.map +1 -1
  281. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.js.map +1 -1
  282. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.cjs +60 -0
  283. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +10 -0
  284. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts.map +1 -1
  285. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.js.map +1 -1
  286. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.cjs +60 -0
  287. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +10 -0
  288. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts.map +1 -1
  289. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.js.map +1 -1
  290. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.cjs +54 -0
  291. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +9 -0
  292. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts.map +1 -1
  293. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.js.map +1 -1
  294. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.cjs +60 -0
  295. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +10 -0
  296. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts.map +1 -1
  297. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.js.map +1 -1
  298. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.cjs +60 -0
  299. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +10 -0
  300. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts.map +1 -1
  301. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.js.map +1 -1
  302. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.cjs +60 -0
  303. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +10 -0
  304. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  305. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.js.map +1 -1
  306. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.cjs +60 -0
  307. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +10 -0
  308. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts.map +1 -1
  309. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.js.map +1 -1
  310. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.cjs +60 -0
  311. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +10 -0
  312. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts.map +1 -1
  313. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.js.map +1 -1
  314. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.cjs +60 -0
  315. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +10 -0
  316. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts.map +1 -1
  317. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.js.map +1 -1
  318. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.cjs +60 -0
  319. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +10 -0
  320. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts.map +1 -1
  321. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.js.map +1 -1
  322. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.cjs +54 -0
  323. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +9 -0
  324. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts.map +1 -1
  325. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.js.map +1 -1
  326. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.cjs +60 -0
  327. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +10 -0
  328. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts.map +1 -1
  329. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.js.map +1 -1
  330. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.cjs +60 -0
  331. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +10 -0
  332. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts.map +1 -1
  333. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.js.map +1 -1
  334. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.cjs +60 -0
  335. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +10 -0
  336. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts.map +1 -1
  337. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.js.map +1 -1
  338. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.cjs +60 -0
  339. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +10 -0
  340. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts.map +1 -1
  341. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.js.map +1 -1
  342. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.cjs +54 -0
  343. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +9 -0
  344. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts.map +1 -1
  345. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.js.map +1 -1
  346. package/package.json +1 -1
@@ -323,6 +323,16 @@ export const WaitlistEntry = {
323
323
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
324
324
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
325
325
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
326
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
327
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
328
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
329
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
330
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
331
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
332
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
333
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
334
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
335
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
326
336
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
327
337
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
328
338
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -1310,6 +1320,36 @@ export const WaitlistEntry = {
1310
1320
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
1311
1321
  set: item.tradingPolicy.perTradeCryptoAllocationPct
1312
1322
  } : undefined,
1323
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
1324
+ set: item.tradingPolicy.enablePortfolioTrailingStop
1325
+ } : undefined,
1326
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? {
1327
+ set: item.tradingPolicy.portfolioTrailPercent
1328
+ } : undefined,
1329
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
1330
+ set: item.tradingPolicy.portfolioProfitThresholdPercent
1331
+ } : undefined,
1332
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
1333
+ set: item.tradingPolicy.reducedPortfolioTrailPercent
1334
+ } : undefined,
1335
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
1336
+ set: item.tradingPolicy.defaultTrailingStopPercentage100
1337
+ } : undefined,
1338
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
1339
+ set: item.tradingPolicy.firstTrailReductionThreshold100
1340
+ } : undefined,
1341
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
1342
+ set: item.tradingPolicy.secondTrailReductionThreshold100
1343
+ } : undefined,
1344
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
1345
+ set: item.tradingPolicy.firstReducedTrailPercentage100
1346
+ } : undefined,
1347
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
1348
+ set: item.tradingPolicy.secondReducedTrailPercentage100
1349
+ } : undefined,
1350
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
1351
+ set: item.tradingPolicy.minimumPriceChangePercent100
1352
+ } : undefined,
1313
1353
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
1314
1354
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
1315
1355
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -1397,6 +1437,16 @@ export const WaitlistEntry = {
1397
1437
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
1398
1438
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
1399
1439
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
1440
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
1441
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
1442
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
1443
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
1444
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
1445
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
1446
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
1447
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
1448
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
1449
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
1400
1450
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
1401
1451
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
1402
1452
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -1601,6 +1651,16 @@ export const WaitlistEntry = {
1601
1651
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
1602
1652
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
1603
1653
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
1654
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
1655
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
1656
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
1657
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
1658
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
1659
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
1660
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
1661
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
1662
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
1663
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
1604
1664
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
1605
1665
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
1606
1666
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -2110,6 +2170,16 @@ export const WaitlistEntry = {
2110
2170
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
2111
2171
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
2112
2172
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
2173
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
2174
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
2175
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
2176
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
2177
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
2178
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
2179
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
2180
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
2181
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
2182
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
2113
2183
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
2114
2184
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
2115
2185
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -2709,6 +2779,16 @@ export const WaitlistEntry = {
2709
2779
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
2710
2780
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
2711
2781
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
2782
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
2783
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
2784
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
2785
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
2786
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
2787
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
2788
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
2789
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
2790
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
2791
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
2712
2792
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
2713
2793
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
2714
2794
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -3433,6 +3513,36 @@ export const WaitlistEntry = {
3433
3513
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
3434
3514
  set: item.tradingPolicy.perTradeCryptoAllocationPct
3435
3515
  } : undefined,
3516
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
3517
+ set: item.tradingPolicy.enablePortfolioTrailingStop
3518
+ } : undefined,
3519
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? {
3520
+ set: item.tradingPolicy.portfolioTrailPercent
3521
+ } : undefined,
3522
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
3523
+ set: item.tradingPolicy.portfolioProfitThresholdPercent
3524
+ } : undefined,
3525
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
3526
+ set: item.tradingPolicy.reducedPortfolioTrailPercent
3527
+ } : undefined,
3528
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
3529
+ set: item.tradingPolicy.defaultTrailingStopPercentage100
3530
+ } : undefined,
3531
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
3532
+ set: item.tradingPolicy.firstTrailReductionThreshold100
3533
+ } : undefined,
3534
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
3535
+ set: item.tradingPolicy.secondTrailReductionThreshold100
3536
+ } : undefined,
3537
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
3538
+ set: item.tradingPolicy.firstReducedTrailPercentage100
3539
+ } : undefined,
3540
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
3541
+ set: item.tradingPolicy.secondReducedTrailPercentage100
3542
+ } : undefined,
3543
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
3544
+ set: item.tradingPolicy.minimumPriceChangePercent100
3545
+ } : undefined,
3436
3546
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
3437
3547
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
3438
3548
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -3520,6 +3630,16 @@ export const WaitlistEntry = {
3520
3630
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
3521
3631
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
3522
3632
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
3633
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
3634
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
3635
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
3636
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
3637
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
3638
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
3639
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
3640
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
3641
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
3642
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
3523
3643
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
3524
3644
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
3525
3645
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -3724,6 +3844,16 @@ export const WaitlistEntry = {
3724
3844
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
3725
3845
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
3726
3846
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
3847
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
3848
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
3849
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
3850
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
3851
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
3852
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
3853
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
3854
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
3855
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
3856
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
3727
3857
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
3728
3858
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
3729
3859
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -4233,6 +4363,16 @@ export const WaitlistEntry = {
4233
4363
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
4234
4364
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
4235
4365
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
4366
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
4367
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
4368
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
4369
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
4370
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
4371
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
4372
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
4373
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
4374
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
4375
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
4236
4376
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
4237
4377
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
4238
4378
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -5115,6 +5255,36 @@ export const WaitlistEntry = {
5115
5255
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
5116
5256
  set: item.tradingPolicy.perTradeCryptoAllocationPct
5117
5257
  } : undefined,
5258
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
5259
+ set: item.tradingPolicy.enablePortfolioTrailingStop
5260
+ } : undefined,
5261
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? {
5262
+ set: item.tradingPolicy.portfolioTrailPercent
5263
+ } : undefined,
5264
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
5265
+ set: item.tradingPolicy.portfolioProfitThresholdPercent
5266
+ } : undefined,
5267
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
5268
+ set: item.tradingPolicy.reducedPortfolioTrailPercent
5269
+ } : undefined,
5270
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
5271
+ set: item.tradingPolicy.defaultTrailingStopPercentage100
5272
+ } : undefined,
5273
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
5274
+ set: item.tradingPolicy.firstTrailReductionThreshold100
5275
+ } : undefined,
5276
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
5277
+ set: item.tradingPolicy.secondTrailReductionThreshold100
5278
+ } : undefined,
5279
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
5280
+ set: item.tradingPolicy.firstReducedTrailPercentage100
5281
+ } : undefined,
5282
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
5283
+ set: item.tradingPolicy.secondReducedTrailPercentage100
5284
+ } : undefined,
5285
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
5286
+ set: item.tradingPolicy.minimumPriceChangePercent100
5287
+ } : undefined,
5118
5288
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
5119
5289
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
5120
5290
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -5202,6 +5372,16 @@ export const WaitlistEntry = {
5202
5372
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
5203
5373
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
5204
5374
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
5375
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
5376
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
5377
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
5378
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
5379
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
5380
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
5381
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
5382
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
5383
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
5384
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
5205
5385
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
5206
5386
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
5207
5387
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -5406,6 +5586,16 @@ export const WaitlistEntry = {
5406
5586
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
5407
5587
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
5408
5588
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
5589
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
5590
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
5591
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
5592
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
5593
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
5594
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
5595
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
5596
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
5597
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
5598
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
5409
5599
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
5410
5600
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
5411
5601
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -5915,6 +6105,16 @@ export const WaitlistEntry = {
5915
6105
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
5916
6106
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
5917
6107
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
6108
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
6109
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
6110
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
6111
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
6112
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
6113
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
6114
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
6115
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
6116
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
6117
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
5918
6118
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
5919
6119
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
5920
6120
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,YAAY,IAAI,gBAAgB,EAChC,aAAa,IAAI,iBAAiB,EAClC,qBAAqB,EAEtB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAEpE,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,qBAAqB,GACtB,CAAC;AAGF,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,cAAc,gBAAgB,EAAE,YAAY,CAAC;IAC3D,aAAa,EAAE,cAAc,6CAA6C,EAAE,aAAa,CAAC;IAC1F,QAAQ,EAAE,cAAc,0BAA0B,EAAE,QAAQ,CAAC;IAC7D,GAAG,EAAE,cAAc,gBAAgB,EAAE,GAAG,CAAC;IACzC,WAAW,EAAE,cAAc,gBAAgB,EAAE,WAAW,CAAC;IACzD,KAAK,EAAE,cAAc,gBAAgB,EAAE,KAAK,CAAC;IAC7C,UAAU,EAAE,cAAc,6BAA6B,EAAE,UAAU,CAAC;IACpE,OAAO,EAAE,cAAc,2BAA2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OAAO,CAAC,EAC7B,oBAAoB,CAAC,OAAO,CAAC,CAC9B,CAAC;QACJ,CAAC,CAAC;QAEF,OAAO,YAAY,CAAC;IACtB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,CAAC,KAAK,CAAC,kCAAkC,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC3E,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB;IACpC,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,aAAa,GAAG,MAAM,iBAAiB,EAAE,CAAC;IAC5C,CAAC;IACD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,MAAM,GAAyD;IAC1E,IAAI,CACF,WAAuH,EACvH,UAAuF;QAEvF,OAAO,eAAe,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IACzD,CAAC;CACF,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,UAAU,UAAU;IACxB,IAAI,YAAY,EAAE,CAAC;QACjB,YAAY,CAAC,IAAI,EAAE,CAAC;QACpB,YAAY,GAAG,SAAS,CAAC;QACzB,MAAM,CAAC,IAAI,CAAC,8CAA8C,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC"}
package/esm/client.mjs CHANGED
@@ -126,10 +126,43 @@ function processQueue() {
126
126
  }
127
127
  }
128
128
  }
129
+ /**
130
+ * Extract the GraphQL operation name from a query or mutation DocumentNode.
131
+ * Returns the name of the first OperationDefinition (e.g. `findManyTrade`,
132
+ * `createOneAlert`) so callers see which operations participate in a retry
133
+ * or timeout cascade. Returns 'anonymous' for unnamed operations and
134
+ * 'unknown' when the document shape is unexpected — never throws, so
135
+ * observability code never degrades the request path.
136
+ */
137
+ function extractOperationName(options) {
138
+ try {
139
+ const opts = options;
140
+ const doc = opts?.query ?? opts?.mutation;
141
+ const defs = doc?.definitions;
142
+ if (!Array.isArray(defs))
143
+ return 'unknown';
144
+ for (const def of defs) {
145
+ const d = def;
146
+ if (d?.kind === 'OperationDefinition') {
147
+ return d.name?.value ?? 'anonymous';
148
+ }
149
+ }
150
+ return 'unknown';
151
+ }
152
+ catch {
153
+ return 'unknown';
154
+ }
155
+ }
129
156
  /**
130
157
  * Adds an operation to the queue with retry capability.
158
+ *
159
+ * `operationName` is threaded through retries so every log line names the
160
+ * GraphQL operation (e.g. `findManyTrade`, `createManyEquityBar`) that is
161
+ * being retried or rejected. Without it, cascade bursts of 4-17 concurrent
162
+ * timeouts are indistinguishable in logs and root-cause diagnosis is
163
+ * impossible.
131
164
  */
132
- async function enqueueOperation(operation, attempt = 0) {
165
+ async function enqueueOperation(operation, operationName, attempt = 0) {
133
166
  return new Promise((resolve, reject) => {
134
167
  const executeWithRetry = async () => {
135
168
  try {
@@ -156,16 +189,30 @@ async function enqueueOperation(operation, attempt = 0) {
156
189
  error.message.includes('status code 502') ||
157
190
  error.message.includes('status code 503') ||
158
191
  error.message.includes('status code 504'));
192
+ const errorMessage = error instanceof Error ? error.message : String(error);
159
193
  if (attempt < poolConfig.retryAttempts && isRetryable) {
160
194
  const delay = poolConfig.retryDelay * Math.pow(2, attempt);
161
- logger.warn(`Apollo operation failed, retrying in ${delay}ms (attempt ${attempt + 1}/${poolConfig.retryAttempts})`, { error: error instanceof Error ? error.message : String(error) });
195
+ logger.warn(`Apollo operation '${operationName}' failed, retrying in ${delay}ms (attempt ${attempt + 1}/${poolConfig.retryAttempts})`, {
196
+ operation: operationName,
197
+ attempt: attempt + 1,
198
+ maxAttempts: poolConfig.retryAttempts,
199
+ delayMs: delay,
200
+ error: errorMessage,
201
+ });
162
202
  setTimeout(() => {
163
- enqueueOperation(operation, attempt + 1)
203
+ enqueueOperation(operation, operationName, attempt + 1)
164
204
  .then(resolve)
165
205
  .catch(reject);
166
206
  }, delay);
167
207
  }
168
208
  else {
209
+ if (isRetryable) {
210
+ logger.warn(`Apollo operation '${operationName}' exhausted retries (${poolConfig.retryAttempts}/${poolConfig.retryAttempts})`, {
211
+ operation: operationName,
212
+ attempts: poolConfig.retryAttempts,
213
+ error: errorMessage,
214
+ });
215
+ }
169
216
  reject(error);
170
217
  }
171
218
  }
@@ -339,10 +386,10 @@ export async function getApolloClient() {
339
386
  const originalQuery = apolloClient.query.bind(apolloClient);
340
387
  const originalMutate = apolloClient.mutate.bind(apolloClient);
341
388
  apolloClient.query = (options) => {
342
- return enqueueOperation(() => originalQuery(options));
389
+ return enqueueOperation(() => originalQuery(options), extractOperationName(options));
343
390
  };
344
391
  apolloClient.mutate = (options) => {
345
- return enqueueOperation(() => originalMutate(options));
392
+ return enqueueOperation(() => originalMutate(options), extractOperationName(options));
346
393
  };
347
394
  return apolloClient;
348
395
  }
@@ -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 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 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 defaultTrailingStopPercentage100\n firstTrailReductionThreshold100\n secondTrailReductionThreshold100\n firstReducedTrailPercentage100\n secondReducedTrailPercentage100\n minimumPriceChangePercent100\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 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,2kFAwIzB,CAAC"}
1
+ {"version":3,"file":"AlpacaAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,06FAkJzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwI5B,CAAC"}
1
+ {"version":3,"file":"AlpacaAccount.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/AlpacaAccount.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJ5B,CAAC"}
@@ -56,6 +56,16 @@ export const AlpacaAccount = `
56
56
  maxOpenOrders
57
57
  perTradeEquityAllocationPct
58
58
  perTradeCryptoAllocationPct
59
+ enablePortfolioTrailingStop
60
+ portfolioTrailPercent
61
+ portfolioProfitThresholdPercent
62
+ reducedPortfolioTrailPercent
63
+ defaultTrailingStopPercentage100
64
+ firstTrailReductionThreshold100
65
+ secondTrailReductionThreshold100
66
+ firstReducedTrailPercentage100
67
+ secondReducedTrailPercentage100
68
+ minimumPriceChangePercent100
59
69
  riskBudgetPrefs
60
70
  signalConsumptionPrefs
61
71
  executionPrefs
@@ -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 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 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 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 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 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 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,2qHAgLpB,CAAC"}
1
+ {"version":3,"file":"Customer.d.ts","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,kjIA0LpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgLvB,CAAC"}
1
+ {"version":3,"file":"Customer.js","sourceRoot":"","sources":["../../../../src/generated/selectionSets/Customer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0LvB,CAAC"}
@@ -82,6 +82,16 @@ export const Customer = `
82
82
  maxOpenOrders
83
83
  perTradeEquityAllocationPct
84
84
  perTradeCryptoAllocationPct
85
+ enablePortfolioTrailingStop
86
+ portfolioTrailPercent
87
+ portfolioProfitThresholdPercent
88
+ reducedPortfolioTrailPercent
89
+ defaultTrailingStopPercentage100
90
+ firstTrailReductionThreshold100
91
+ secondTrailReductionThreshold100
92
+ firstReducedTrailPercentage100
93
+ secondReducedTrailPercentage100
94
+ minimumPriceChangePercent100
85
95
  riskBudgetPrefs
86
96
  signalConsumptionPrefs
87
97
  executionPrefs