@adaptic/backend-legacy 0.0.954 → 0.0.955

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 (342) 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/esm/Account.d.ts.map +1 -1
  16. package/esm/Account.js.map +1 -1
  17. package/esm/Account.mjs +200 -0
  18. package/esm/AccountLinkingRequest.d.ts.map +1 -1
  19. package/esm/AccountLinkingRequest.js.map +1 -1
  20. package/esm/AccountLinkingRequest.mjs +200 -0
  21. package/esm/Alert.d.ts.map +1 -1
  22. package/esm/Alert.js.map +1 -1
  23. package/esm/Alert.mjs +170 -0
  24. package/esm/Allocation.d.ts.map +1 -1
  25. package/esm/Allocation.js.map +1 -1
  26. package/esm/Allocation.mjs +170 -0
  27. package/esm/AlpacaAccount.d.ts.map +1 -1
  28. package/esm/AlpacaAccount.js.map +1 -1
  29. package/esm/AlpacaAccount.mjs +150 -0
  30. package/esm/Authenticator.d.ts.map +1 -1
  31. package/esm/Authenticator.js.map +1 -1
  32. package/esm/Authenticator.mjs +200 -0
  33. package/esm/Customer.d.ts.map +1 -1
  34. package/esm/Customer.js.map +1 -1
  35. package/esm/Customer.mjs +210 -0
  36. package/esm/LinkedProvider.d.ts.map +1 -1
  37. package/esm/LinkedProvider.js.map +1 -1
  38. package/esm/LinkedProvider.mjs +200 -0
  39. package/esm/LlmConfiguration.d.ts.map +1 -1
  40. package/esm/LlmConfiguration.js.map +1 -1
  41. package/esm/LlmConfiguration.mjs +200 -0
  42. package/esm/PolicyOverlay.d.ts.map +1 -1
  43. package/esm/PolicyOverlay.js.map +1 -1
  44. package/esm/PolicyOverlay.mjs +140 -0
  45. package/esm/Session.d.ts.map +1 -1
  46. package/esm/Session.js.map +1 -1
  47. package/esm/Session.mjs +200 -0
  48. package/esm/TradingPolicy.d.ts.map +1 -1
  49. package/esm/TradingPolicy.js.map +1 -1
  50. package/esm/TradingPolicy.mjs +130 -0
  51. package/esm/User.d.ts.map +1 -1
  52. package/esm/User.js.map +1 -1
  53. package/esm/User.mjs +180 -0
  54. package/esm/WaitlistEntry.d.ts.map +1 -1
  55. package/esm/WaitlistEntry.js.map +1 -1
  56. package/esm/WaitlistEntry.mjs +200 -0
  57. package/esm/generated/selectionSets/AlpacaAccount.d.ts +1 -1
  58. package/esm/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
  59. package/esm/generated/selectionSets/AlpacaAccount.js.map +1 -1
  60. package/esm/generated/selectionSets/AlpacaAccount.mjs +10 -0
  61. package/esm/generated/selectionSets/Customer.d.ts +1 -1
  62. package/esm/generated/selectionSets/Customer.d.ts.map +1 -1
  63. package/esm/generated/selectionSets/Customer.js.map +1 -1
  64. package/esm/generated/selectionSets/Customer.mjs +10 -0
  65. package/esm/generated/selectionSets/TradingPolicy.d.ts +1 -1
  66. package/esm/generated/selectionSets/TradingPolicy.d.ts.map +1 -1
  67. package/esm/generated/selectionSets/TradingPolicy.js.map +1 -1
  68. package/esm/generated/selectionSets/TradingPolicy.mjs +10 -0
  69. package/esm/generated/selectionSets/User.d.ts +1 -1
  70. package/esm/generated/selectionSets/User.d.ts.map +1 -1
  71. package/esm/generated/selectionSets/User.js.map +1 -1
  72. package/esm/generated/selectionSets/User.mjs +10 -0
  73. package/esm/generated/typeStrings/PolicyOverlay.d.ts +1 -1
  74. package/esm/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
  75. package/esm/generated/typeStrings/PolicyOverlay.js.map +1 -1
  76. package/esm/generated/typeStrings/PolicyOverlay.mjs +20 -0
  77. package/esm/generated/typeStrings/TradingPolicy.d.ts +1 -1
  78. package/esm/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
  79. package/esm/generated/typeStrings/TradingPolicy.js.map +1 -1
  80. package/esm/generated/typeStrings/TradingPolicy.mjs +20 -0
  81. package/esm/generated/typeStrings/index.d.ts +2 -2
  82. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  83. package/esm/generated/typegraphql-prisma/enhance.mjs +26 -26
  84. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +10 -0
  85. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts.map +1 -1
  86. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.js.map +1 -1
  87. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.mjs +10 -0
  88. package/esm/generated/typegraphql-prisma/models/AlpacaAccount.d.ts +10 -10
  89. package/esm/generated/typegraphql-prisma/models/AlpacaAccount.js.map +1 -1
  90. package/esm/generated/typegraphql-prisma/models/AlpacaAccount.mjs +20 -20
  91. package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts +40 -0
  92. package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
  93. package/esm/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
  94. package/esm/generated/typegraphql-prisma/models/TradingPolicy.mjs +110 -0
  95. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts +1 -1
  96. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts.map +1 -1
  97. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.js.map +1 -1
  98. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts +1 -1
  99. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts.map +1 -1
  100. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.js.map +1 -1
  101. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts +1 -1
  102. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts.map +1 -1
  103. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.js.map +1 -1
  104. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts +1 -1
  105. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts.map +1 -1
  106. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.js.map +1 -1
  107. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +9 -0
  108. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts.map +1 -1
  109. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.js.map +1 -1
  110. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.mjs +63 -0
  111. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +10 -0
  112. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts.map +1 -1
  113. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.js.map +1 -1
  114. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.mjs +70 -0
  115. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +10 -0
  116. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts.map +1 -1
  117. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.js.map +1 -1
  118. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.mjs +70 -0
  119. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +10 -0
  120. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts.map +1 -1
  121. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.js.map +1 -1
  122. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.mjs +70 -0
  123. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +10 -0
  124. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  125. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.js.map +1 -1
  126. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.mjs +70 -0
  127. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +10 -0
  128. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts.map +1 -1
  129. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.js.map +1 -1
  130. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.mjs +70 -0
  131. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +10 -0
  132. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts.map +1 -1
  133. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.js.map +1 -1
  134. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.mjs +70 -0
  135. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +10 -0
  136. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts.map +1 -1
  137. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.js.map +1 -1
  138. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.mjs +70 -0
  139. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +10 -0
  140. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts.map +1 -1
  141. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.js.map +1 -1
  142. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.mjs +70 -0
  143. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +10 -0
  144. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts.map +1 -1
  145. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.js.map +1 -1
  146. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.mjs +70 -0
  147. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +10 -0
  148. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts.map +1 -1
  149. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.js.map +1 -1
  150. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.mjs +70 -0
  151. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +9 -0
  152. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts.map +1 -1
  153. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.js.map +1 -1
  154. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.mjs +63 -0
  155. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +10 -0
  156. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts.map +1 -1
  157. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.js.map +1 -1
  158. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.mjs +70 -0
  159. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +10 -0
  160. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts.map +1 -1
  161. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.js.map +1 -1
  162. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.mjs +70 -0
  163. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +10 -0
  164. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  165. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.js.map +1 -1
  166. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.mjs +70 -0
  167. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +10 -0
  168. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts.map +1 -1
  169. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.js.map +1 -1
  170. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.mjs +70 -0
  171. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +10 -0
  172. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts.map +1 -1
  173. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.js.map +1 -1
  174. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.mjs +70 -0
  175. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +10 -0
  176. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts.map +1 -1
  177. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.js.map +1 -1
  178. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.mjs +70 -0
  179. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +10 -0
  180. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts.map +1 -1
  181. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.js.map +1 -1
  182. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.mjs +70 -0
  183. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +9 -0
  184. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts.map +1 -1
  185. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.js.map +1 -1
  186. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.mjs +63 -0
  187. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +10 -0
  188. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts.map +1 -1
  189. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.js.map +1 -1
  190. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.mjs +70 -0
  191. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +10 -0
  192. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts.map +1 -1
  193. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.js.map +1 -1
  194. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.mjs +70 -0
  195. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +10 -0
  196. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts.map +1 -1
  197. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.js.map +1 -1
  198. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.mjs +70 -0
  199. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +10 -0
  200. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts.map +1 -1
  201. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.js.map +1 -1
  202. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.mjs +70 -0
  203. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +9 -0
  204. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts.map +1 -1
  205. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.js.map +1 -1
  206. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.mjs +63 -0
  207. package/esm/index.d.ts.map +1 -1
  208. package/generated/typeStrings/PolicyOverlay.cjs +20 -0
  209. package/generated/typeStrings/PolicyOverlay.d.ts +1 -1
  210. package/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
  211. package/generated/typeStrings/PolicyOverlay.js.map +1 -1
  212. package/generated/typeStrings/TradingPolicy.cjs +20 -0
  213. package/generated/typeStrings/TradingPolicy.d.ts +1 -1
  214. package/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
  215. package/generated/typeStrings/TradingPolicy.js.map +1 -1
  216. package/generated/typeStrings/index.d.ts +2 -2
  217. package/generated/typegraphql-prisma/enhance.cjs +26 -26
  218. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  219. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.cjs +10 -0
  220. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +10 -0
  221. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts.map +1 -1
  222. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.js.map +1 -1
  223. package/generated/typegraphql-prisma/models/AlpacaAccount.cjs +10 -10
  224. package/generated/typegraphql-prisma/models/AlpacaAccount.d.ts +10 -10
  225. package/generated/typegraphql-prisma/models/AlpacaAccount.js.map +1 -1
  226. package/generated/typegraphql-prisma/models/TradingPolicy.cjs +70 -0
  227. package/generated/typegraphql-prisma/models/TradingPolicy.d.ts +40 -0
  228. package/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
  229. package/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
  230. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts +1 -1
  231. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts.map +1 -1
  232. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.js.map +1 -1
  233. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts +1 -1
  234. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts.map +1 -1
  235. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.js.map +1 -1
  236. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts +1 -1
  237. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts.map +1 -1
  238. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.js.map +1 -1
  239. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts +1 -1
  240. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts.map +1 -1
  241. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.js.map +1 -1
  242. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.cjs +54 -0
  243. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +9 -0
  244. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts.map +1 -1
  245. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.js.map +1 -1
  246. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.cjs +60 -0
  247. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +10 -0
  248. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts.map +1 -1
  249. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.js.map +1 -1
  250. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.cjs +60 -0
  251. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +10 -0
  252. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts.map +1 -1
  253. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.js.map +1 -1
  254. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.cjs +60 -0
  255. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +10 -0
  256. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts.map +1 -1
  257. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.js.map +1 -1
  258. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.cjs +60 -0
  259. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +10 -0
  260. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  261. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.js.map +1 -1
  262. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.cjs +60 -0
  263. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +10 -0
  264. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts.map +1 -1
  265. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.js.map +1 -1
  266. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.cjs +60 -0
  267. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +10 -0
  268. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts.map +1 -1
  269. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.js.map +1 -1
  270. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.cjs +60 -0
  271. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +10 -0
  272. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts.map +1 -1
  273. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.js.map +1 -1
  274. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.cjs +60 -0
  275. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +10 -0
  276. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts.map +1 -1
  277. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.js.map +1 -1
  278. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.cjs +60 -0
  279. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +10 -0
  280. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts.map +1 -1
  281. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.js.map +1 -1
  282. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.cjs +60 -0
  283. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +10 -0
  284. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts.map +1 -1
  285. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.js.map +1 -1
  286. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.cjs +54 -0
  287. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +9 -0
  288. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts.map +1 -1
  289. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.js.map +1 -1
  290. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.cjs +60 -0
  291. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +10 -0
  292. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts.map +1 -1
  293. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.js.map +1 -1
  294. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.cjs +60 -0
  295. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +10 -0
  296. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts.map +1 -1
  297. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.js.map +1 -1
  298. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.cjs +60 -0
  299. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +10 -0
  300. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  301. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.js.map +1 -1
  302. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.cjs +60 -0
  303. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +10 -0
  304. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts.map +1 -1
  305. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.js.map +1 -1
  306. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.cjs +60 -0
  307. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +10 -0
  308. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts.map +1 -1
  309. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.js.map +1 -1
  310. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.cjs +60 -0
  311. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +10 -0
  312. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts.map +1 -1
  313. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.js.map +1 -1
  314. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.cjs +60 -0
  315. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +10 -0
  316. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts.map +1 -1
  317. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.js.map +1 -1
  318. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.cjs +54 -0
  319. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +9 -0
  320. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts.map +1 -1
  321. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.js.map +1 -1
  322. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.cjs +60 -0
  323. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +10 -0
  324. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts.map +1 -1
  325. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.js.map +1 -1
  326. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.cjs +60 -0
  327. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +10 -0
  328. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts.map +1 -1
  329. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.js.map +1 -1
  330. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.cjs +60 -0
  331. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +10 -0
  332. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts.map +1 -1
  333. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.js.map +1 -1
  334. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.cjs +60 -0
  335. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +10 -0
  336. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts.map +1 -1
  337. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.js.map +1 -1
  338. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.cjs +54 -0
  339. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +9 -0
  340. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts.map +1 -1
  341. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.js.map +1 -1
  342. package/package.json +1 -1
@@ -320,6 +320,16 @@ exports.LlmConfiguration = {
320
320
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
321
321
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
322
322
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
323
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
324
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
325
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
326
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
327
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
328
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
329
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
330
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
331
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
332
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
323
333
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
324
334
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
325
335
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -1327,6 +1337,36 @@ exports.LlmConfiguration = {
1327
1337
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
1328
1338
  set: item.tradingPolicy.perTradeCryptoAllocationPct
1329
1339
  } : undefined,
1340
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
1341
+ set: item.tradingPolicy.enablePortfolioTrailingStop
1342
+ } : undefined,
1343
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? {
1344
+ set: item.tradingPolicy.portfolioTrailPercent
1345
+ } : undefined,
1346
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
1347
+ set: item.tradingPolicy.portfolioProfitThresholdPercent
1348
+ } : undefined,
1349
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
1350
+ set: item.tradingPolicy.reducedPortfolioTrailPercent
1351
+ } : undefined,
1352
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
1353
+ set: item.tradingPolicy.defaultTrailingStopPercentage100
1354
+ } : undefined,
1355
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
1356
+ set: item.tradingPolicy.firstTrailReductionThreshold100
1357
+ } : undefined,
1358
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
1359
+ set: item.tradingPolicy.secondTrailReductionThreshold100
1360
+ } : undefined,
1361
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
1362
+ set: item.tradingPolicy.firstReducedTrailPercentage100
1363
+ } : undefined,
1364
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
1365
+ set: item.tradingPolicy.secondReducedTrailPercentage100
1366
+ } : undefined,
1367
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
1368
+ set: item.tradingPolicy.minimumPriceChangePercent100
1369
+ } : undefined,
1330
1370
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
1331
1371
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
1332
1372
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -1414,6 +1454,16 @@ exports.LlmConfiguration = {
1414
1454
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
1415
1455
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
1416
1456
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
1457
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
1458
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
1459
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
1460
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
1461
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
1462
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
1463
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
1464
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
1465
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
1466
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
1417
1467
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
1418
1468
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
1419
1469
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -1618,6 +1668,16 @@ exports.LlmConfiguration = {
1618
1668
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
1619
1669
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
1620
1670
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
1671
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
1672
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
1673
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
1674
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
1675
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
1676
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
1677
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
1678
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
1679
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
1680
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
1621
1681
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
1622
1682
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
1623
1683
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -2178,6 +2238,16 @@ exports.LlmConfiguration = {
2178
2238
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
2179
2239
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
2180
2240
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
2241
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
2242
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
2243
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
2244
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
2245
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
2246
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
2247
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
2248
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
2249
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
2250
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
2181
2251
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
2182
2252
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
2183
2253
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -2754,6 +2824,16 @@ exports.LlmConfiguration = {
2754
2824
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
2755
2825
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
2756
2826
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
2827
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
2828
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
2829
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
2830
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
2831
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
2832
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
2833
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
2834
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
2835
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
2836
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
2757
2837
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
2758
2838
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
2759
2839
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -3491,6 +3571,36 @@ exports.LlmConfiguration = {
3491
3571
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
3492
3572
  set: item.tradingPolicy.perTradeCryptoAllocationPct
3493
3573
  } : undefined,
3574
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
3575
+ set: item.tradingPolicy.enablePortfolioTrailingStop
3576
+ } : undefined,
3577
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? {
3578
+ set: item.tradingPolicy.portfolioTrailPercent
3579
+ } : undefined,
3580
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
3581
+ set: item.tradingPolicy.portfolioProfitThresholdPercent
3582
+ } : undefined,
3583
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
3584
+ set: item.tradingPolicy.reducedPortfolioTrailPercent
3585
+ } : undefined,
3586
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
3587
+ set: item.tradingPolicy.defaultTrailingStopPercentage100
3588
+ } : undefined,
3589
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
3590
+ set: item.tradingPolicy.firstTrailReductionThreshold100
3591
+ } : undefined,
3592
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
3593
+ set: item.tradingPolicy.secondTrailReductionThreshold100
3594
+ } : undefined,
3595
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
3596
+ set: item.tradingPolicy.firstReducedTrailPercentage100
3597
+ } : undefined,
3598
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
3599
+ set: item.tradingPolicy.secondReducedTrailPercentage100
3600
+ } : undefined,
3601
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
3602
+ set: item.tradingPolicy.minimumPriceChangePercent100
3603
+ } : undefined,
3494
3604
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
3495
3605
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
3496
3606
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -3578,6 +3688,16 @@ exports.LlmConfiguration = {
3578
3688
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
3579
3689
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
3580
3690
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
3691
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
3692
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
3693
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
3694
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
3695
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
3696
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
3697
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
3698
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
3699
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
3700
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
3581
3701
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
3582
3702
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
3583
3703
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -3782,6 +3902,16 @@ exports.LlmConfiguration = {
3782
3902
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
3783
3903
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
3784
3904
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
3905
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
3906
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
3907
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
3908
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
3909
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
3910
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
3911
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
3912
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
3913
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
3914
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
3785
3915
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
3786
3916
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
3787
3917
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -4342,6 +4472,16 @@ exports.LlmConfiguration = {
4342
4472
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
4343
4473
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
4344
4474
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
4475
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
4476
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
4477
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
4478
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
4479
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
4480
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
4481
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
4482
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
4483
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
4484
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
4345
4485
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
4346
4486
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
4347
4487
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -5214,6 +5354,36 @@ exports.LlmConfiguration = {
5214
5354
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
5215
5355
  set: item.tradingPolicy.perTradeCryptoAllocationPct
5216
5356
  } : undefined,
5357
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
5358
+ set: item.tradingPolicy.enablePortfolioTrailingStop
5359
+ } : undefined,
5360
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? {
5361
+ set: item.tradingPolicy.portfolioTrailPercent
5362
+ } : undefined,
5363
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
5364
+ set: item.tradingPolicy.portfolioProfitThresholdPercent
5365
+ } : undefined,
5366
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
5367
+ set: item.tradingPolicy.reducedPortfolioTrailPercent
5368
+ } : undefined,
5369
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
5370
+ set: item.tradingPolicy.defaultTrailingStopPercentage100
5371
+ } : undefined,
5372
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
5373
+ set: item.tradingPolicy.firstTrailReductionThreshold100
5374
+ } : undefined,
5375
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
5376
+ set: item.tradingPolicy.secondTrailReductionThreshold100
5377
+ } : undefined,
5378
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
5379
+ set: item.tradingPolicy.firstReducedTrailPercentage100
5380
+ } : undefined,
5381
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
5382
+ set: item.tradingPolicy.secondReducedTrailPercentage100
5383
+ } : undefined,
5384
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
5385
+ set: item.tradingPolicy.minimumPriceChangePercent100
5386
+ } : undefined,
5217
5387
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
5218
5388
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
5219
5389
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -5301,6 +5471,16 @@ exports.LlmConfiguration = {
5301
5471
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
5302
5472
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
5303
5473
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
5474
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
5475
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
5476
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
5477
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
5478
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
5479
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
5480
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
5481
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
5482
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
5483
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
5304
5484
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
5305
5485
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
5306
5486
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -5505,6 +5685,16 @@ exports.LlmConfiguration = {
5505
5685
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
5506
5686
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
5507
5687
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
5688
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
5689
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
5690
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
5691
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
5692
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
5693
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
5694
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
5695
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
5696
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
5697
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
5508
5698
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
5509
5699
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
5510
5700
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
@@ -6065,6 +6255,16 @@ exports.LlmConfiguration = {
6065
6255
  maxOpenOrders: item.tradingPolicy.maxOpenOrders !== undefined ? item.tradingPolicy.maxOpenOrders : undefined,
6066
6256
  perTradeEquityAllocationPct: item.tradingPolicy.perTradeEquityAllocationPct !== undefined ? item.tradingPolicy.perTradeEquityAllocationPct : undefined,
6067
6257
  perTradeCryptoAllocationPct: item.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? item.tradingPolicy.perTradeCryptoAllocationPct : undefined,
6258
+ enablePortfolioTrailingStop: item.tradingPolicy.enablePortfolioTrailingStop !== undefined ? item.tradingPolicy.enablePortfolioTrailingStop : undefined,
6259
+ portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
6260
+ portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
6261
+ reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
6262
+ defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
6263
+ firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
6264
+ secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
6265
+ firstReducedTrailPercentage100: item.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? item.tradingPolicy.firstReducedTrailPercentage100 : undefined,
6266
+ secondReducedTrailPercentage100: item.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? item.tradingPolicy.secondReducedTrailPercentage100 : undefined,
6267
+ minimumPriceChangePercent100: item.tradingPolicy.minimumPriceChangePercent100 !== undefined ? item.tradingPolicy.minimumPriceChangePercent100 : undefined,
6068
6268
  riskBudgetPrefs: item.tradingPolicy.riskBudgetPrefs !== undefined ? item.tradingPolicy.riskBudgetPrefs : undefined,
6069
6269
  signalConsumptionPrefs: item.tradingPolicy.signalConsumptionPrefs !== undefined ? item.tradingPolicy.signalConsumptionPrefs : undefined,
6070
6270
  executionPrefs: item.tradingPolicy.executionPrefs !== undefined ? item.tradingPolicy.executionPrefs : undefined,
package/PolicyOverlay.cjs CHANGED
@@ -130,6 +130,16 @@ exports.PolicyOverlay = {
130
130
  maxOpenOrders: props.tradingPolicy.maxOpenOrders !== undefined ? props.tradingPolicy.maxOpenOrders : undefined,
131
131
  perTradeEquityAllocationPct: props.tradingPolicy.perTradeEquityAllocationPct !== undefined ? props.tradingPolicy.perTradeEquityAllocationPct : undefined,
132
132
  perTradeCryptoAllocationPct: props.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? props.tradingPolicy.perTradeCryptoAllocationPct : undefined,
133
+ enablePortfolioTrailingStop: props.tradingPolicy.enablePortfolioTrailingStop !== undefined ? props.tradingPolicy.enablePortfolioTrailingStop : undefined,
134
+ portfolioTrailPercent: props.tradingPolicy.portfolioTrailPercent !== undefined ? props.tradingPolicy.portfolioTrailPercent : undefined,
135
+ portfolioProfitThresholdPercent: props.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? props.tradingPolicy.portfolioProfitThresholdPercent : undefined,
136
+ reducedPortfolioTrailPercent: props.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? props.tradingPolicy.reducedPortfolioTrailPercent : undefined,
137
+ defaultTrailingStopPercentage100: props.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? props.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
138
+ firstTrailReductionThreshold100: props.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? props.tradingPolicy.firstTrailReductionThreshold100 : undefined,
139
+ secondTrailReductionThreshold100: props.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? props.tradingPolicy.secondTrailReductionThreshold100 : undefined,
140
+ firstReducedTrailPercentage100: props.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? props.tradingPolicy.firstReducedTrailPercentage100 : undefined,
141
+ secondReducedTrailPercentage100: props.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? props.tradingPolicy.secondReducedTrailPercentage100 : undefined,
142
+ minimumPriceChangePercent100: props.tradingPolicy.minimumPriceChangePercent100 !== undefined ? props.tradingPolicy.minimumPriceChangePercent100 : undefined,
133
143
  riskBudgetPrefs: props.tradingPolicy.riskBudgetPrefs !== undefined ? props.tradingPolicy.riskBudgetPrefs : undefined,
134
144
  signalConsumptionPrefs: props.tradingPolicy.signalConsumptionPrefs !== undefined ? props.tradingPolicy.signalConsumptionPrefs : undefined,
135
145
  executionPrefs: props.tradingPolicy.executionPrefs !== undefined ? props.tradingPolicy.executionPrefs : undefined,
@@ -713,6 +723,36 @@ exports.PolicyOverlay = {
713
723
  perTradeCryptoAllocationPct: props.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
714
724
  set: props.tradingPolicy.perTradeCryptoAllocationPct
715
725
  } : undefined,
726
+ enablePortfolioTrailingStop: props.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
727
+ set: props.tradingPolicy.enablePortfolioTrailingStop
728
+ } : undefined,
729
+ portfolioTrailPercent: props.tradingPolicy.portfolioTrailPercent !== undefined ? {
730
+ set: props.tradingPolicy.portfolioTrailPercent
731
+ } : undefined,
732
+ portfolioProfitThresholdPercent: props.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
733
+ set: props.tradingPolicy.portfolioProfitThresholdPercent
734
+ } : undefined,
735
+ reducedPortfolioTrailPercent: props.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
736
+ set: props.tradingPolicy.reducedPortfolioTrailPercent
737
+ } : undefined,
738
+ defaultTrailingStopPercentage100: props.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
739
+ set: props.tradingPolicy.defaultTrailingStopPercentage100
740
+ } : undefined,
741
+ firstTrailReductionThreshold100: props.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
742
+ set: props.tradingPolicy.firstTrailReductionThreshold100
743
+ } : undefined,
744
+ secondTrailReductionThreshold100: props.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
745
+ set: props.tradingPolicy.secondTrailReductionThreshold100
746
+ } : undefined,
747
+ firstReducedTrailPercentage100: props.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
748
+ set: props.tradingPolicy.firstReducedTrailPercentage100
749
+ } : undefined,
750
+ secondReducedTrailPercentage100: props.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
751
+ set: props.tradingPolicy.secondReducedTrailPercentage100
752
+ } : undefined,
753
+ minimumPriceChangePercent100: props.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
754
+ set: props.tradingPolicy.minimumPriceChangePercent100
755
+ } : undefined,
716
756
  riskBudgetPrefs: props.tradingPolicy.riskBudgetPrefs !== undefined ? props.tradingPolicy.riskBudgetPrefs : undefined,
717
757
  signalConsumptionPrefs: props.tradingPolicy.signalConsumptionPrefs !== undefined ? props.tradingPolicy.signalConsumptionPrefs : undefined,
718
758
  executionPrefs: props.tradingPolicy.executionPrefs !== undefined ? props.tradingPolicy.executionPrefs : undefined,
@@ -1224,6 +1264,16 @@ exports.PolicyOverlay = {
1224
1264
  maxOpenOrders: props.tradingPolicy.maxOpenOrders !== undefined ? props.tradingPolicy.maxOpenOrders : undefined,
1225
1265
  perTradeEquityAllocationPct: props.tradingPolicy.perTradeEquityAllocationPct !== undefined ? props.tradingPolicy.perTradeEquityAllocationPct : undefined,
1226
1266
  perTradeCryptoAllocationPct: props.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? props.tradingPolicy.perTradeCryptoAllocationPct : undefined,
1267
+ enablePortfolioTrailingStop: props.tradingPolicy.enablePortfolioTrailingStop !== undefined ? props.tradingPolicy.enablePortfolioTrailingStop : undefined,
1268
+ portfolioTrailPercent: props.tradingPolicy.portfolioTrailPercent !== undefined ? props.tradingPolicy.portfolioTrailPercent : undefined,
1269
+ portfolioProfitThresholdPercent: props.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? props.tradingPolicy.portfolioProfitThresholdPercent : undefined,
1270
+ reducedPortfolioTrailPercent: props.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? props.tradingPolicy.reducedPortfolioTrailPercent : undefined,
1271
+ defaultTrailingStopPercentage100: props.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? props.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
1272
+ firstTrailReductionThreshold100: props.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? props.tradingPolicy.firstTrailReductionThreshold100 : undefined,
1273
+ secondTrailReductionThreshold100: props.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? props.tradingPolicy.secondTrailReductionThreshold100 : undefined,
1274
+ firstReducedTrailPercentage100: props.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? props.tradingPolicy.firstReducedTrailPercentage100 : undefined,
1275
+ secondReducedTrailPercentage100: props.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? props.tradingPolicy.secondReducedTrailPercentage100 : undefined,
1276
+ minimumPriceChangePercent100: props.tradingPolicy.minimumPriceChangePercent100 !== undefined ? props.tradingPolicy.minimumPriceChangePercent100 : undefined,
1227
1277
  riskBudgetPrefs: props.tradingPolicy.riskBudgetPrefs !== undefined ? props.tradingPolicy.riskBudgetPrefs : undefined,
1228
1278
  signalConsumptionPrefs: props.tradingPolicy.signalConsumptionPrefs !== undefined ? props.tradingPolicy.signalConsumptionPrefs : undefined,
1229
1279
  executionPrefs: props.tradingPolicy.executionPrefs !== undefined ? props.tradingPolicy.executionPrefs : undefined,
@@ -1591,6 +1641,16 @@ exports.PolicyOverlay = {
1591
1641
  maxOpenOrders: props.tradingPolicy.maxOpenOrders !== undefined ? props.tradingPolicy.maxOpenOrders : undefined,
1592
1642
  perTradeEquityAllocationPct: props.tradingPolicy.perTradeEquityAllocationPct !== undefined ? props.tradingPolicy.perTradeEquityAllocationPct : undefined,
1593
1643
  perTradeCryptoAllocationPct: props.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? props.tradingPolicy.perTradeCryptoAllocationPct : undefined,
1644
+ enablePortfolioTrailingStop: props.tradingPolicy.enablePortfolioTrailingStop !== undefined ? props.tradingPolicy.enablePortfolioTrailingStop : undefined,
1645
+ portfolioTrailPercent: props.tradingPolicy.portfolioTrailPercent !== undefined ? props.tradingPolicy.portfolioTrailPercent : undefined,
1646
+ portfolioProfitThresholdPercent: props.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? props.tradingPolicy.portfolioProfitThresholdPercent : undefined,
1647
+ reducedPortfolioTrailPercent: props.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? props.tradingPolicy.reducedPortfolioTrailPercent : undefined,
1648
+ defaultTrailingStopPercentage100: props.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? props.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
1649
+ firstTrailReductionThreshold100: props.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? props.tradingPolicy.firstTrailReductionThreshold100 : undefined,
1650
+ secondTrailReductionThreshold100: props.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? props.tradingPolicy.secondTrailReductionThreshold100 : undefined,
1651
+ firstReducedTrailPercentage100: props.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? props.tradingPolicy.firstReducedTrailPercentage100 : undefined,
1652
+ secondReducedTrailPercentage100: props.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? props.tradingPolicy.secondReducedTrailPercentage100 : undefined,
1653
+ minimumPriceChangePercent100: props.tradingPolicy.minimumPriceChangePercent100 !== undefined ? props.tradingPolicy.minimumPriceChangePercent100 : undefined,
1594
1654
  riskBudgetPrefs: props.tradingPolicy.riskBudgetPrefs !== undefined ? props.tradingPolicy.riskBudgetPrefs : undefined,
1595
1655
  signalConsumptionPrefs: props.tradingPolicy.signalConsumptionPrefs !== undefined ? props.tradingPolicy.signalConsumptionPrefs : undefined,
1596
1656
  executionPrefs: props.tradingPolicy.executionPrefs !== undefined ? props.tradingPolicy.executionPrefs : undefined,
@@ -1905,6 +1965,36 @@ exports.PolicyOverlay = {
1905
1965
  perTradeCryptoAllocationPct: props.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
1906
1966
  set: props.tradingPolicy.perTradeCryptoAllocationPct
1907
1967
  } : undefined,
1968
+ enablePortfolioTrailingStop: props.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
1969
+ set: props.tradingPolicy.enablePortfolioTrailingStop
1970
+ } : undefined,
1971
+ portfolioTrailPercent: props.tradingPolicy.portfolioTrailPercent !== undefined ? {
1972
+ set: props.tradingPolicy.portfolioTrailPercent
1973
+ } : undefined,
1974
+ portfolioProfitThresholdPercent: props.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
1975
+ set: props.tradingPolicy.portfolioProfitThresholdPercent
1976
+ } : undefined,
1977
+ reducedPortfolioTrailPercent: props.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
1978
+ set: props.tradingPolicy.reducedPortfolioTrailPercent
1979
+ } : undefined,
1980
+ defaultTrailingStopPercentage100: props.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
1981
+ set: props.tradingPolicy.defaultTrailingStopPercentage100
1982
+ } : undefined,
1983
+ firstTrailReductionThreshold100: props.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
1984
+ set: props.tradingPolicy.firstTrailReductionThreshold100
1985
+ } : undefined,
1986
+ secondTrailReductionThreshold100: props.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
1987
+ set: props.tradingPolicy.secondTrailReductionThreshold100
1988
+ } : undefined,
1989
+ firstReducedTrailPercentage100: props.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
1990
+ set: props.tradingPolicy.firstReducedTrailPercentage100
1991
+ } : undefined,
1992
+ secondReducedTrailPercentage100: props.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
1993
+ set: props.tradingPolicy.secondReducedTrailPercentage100
1994
+ } : undefined,
1995
+ minimumPriceChangePercent100: props.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
1996
+ set: props.tradingPolicy.minimumPriceChangePercent100
1997
+ } : undefined,
1908
1998
  riskBudgetPrefs: props.tradingPolicy.riskBudgetPrefs !== undefined ? props.tradingPolicy.riskBudgetPrefs : undefined,
1909
1999
  signalConsumptionPrefs: props.tradingPolicy.signalConsumptionPrefs !== undefined ? props.tradingPolicy.signalConsumptionPrefs : undefined,
1910
2000
  executionPrefs: props.tradingPolicy.executionPrefs !== undefined ? props.tradingPolicy.executionPrefs : undefined,
@@ -2416,6 +2506,16 @@ exports.PolicyOverlay = {
2416
2506
  maxOpenOrders: props.tradingPolicy.maxOpenOrders !== undefined ? props.tradingPolicy.maxOpenOrders : undefined,
2417
2507
  perTradeEquityAllocationPct: props.tradingPolicy.perTradeEquityAllocationPct !== undefined ? props.tradingPolicy.perTradeEquityAllocationPct : undefined,
2418
2508
  perTradeCryptoAllocationPct: props.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? props.tradingPolicy.perTradeCryptoAllocationPct : undefined,
2509
+ enablePortfolioTrailingStop: props.tradingPolicy.enablePortfolioTrailingStop !== undefined ? props.tradingPolicy.enablePortfolioTrailingStop : undefined,
2510
+ portfolioTrailPercent: props.tradingPolicy.portfolioTrailPercent !== undefined ? props.tradingPolicy.portfolioTrailPercent : undefined,
2511
+ portfolioProfitThresholdPercent: props.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? props.tradingPolicy.portfolioProfitThresholdPercent : undefined,
2512
+ reducedPortfolioTrailPercent: props.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? props.tradingPolicy.reducedPortfolioTrailPercent : undefined,
2513
+ defaultTrailingStopPercentage100: props.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? props.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
2514
+ firstTrailReductionThreshold100: props.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? props.tradingPolicy.firstTrailReductionThreshold100 : undefined,
2515
+ secondTrailReductionThreshold100: props.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? props.tradingPolicy.secondTrailReductionThreshold100 : undefined,
2516
+ firstReducedTrailPercentage100: props.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? props.tradingPolicy.firstReducedTrailPercentage100 : undefined,
2517
+ secondReducedTrailPercentage100: props.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? props.tradingPolicy.secondReducedTrailPercentage100 : undefined,
2518
+ minimumPriceChangePercent100: props.tradingPolicy.minimumPriceChangePercent100 !== undefined ? props.tradingPolicy.minimumPriceChangePercent100 : undefined,
2419
2519
  riskBudgetPrefs: props.tradingPolicy.riskBudgetPrefs !== undefined ? props.tradingPolicy.riskBudgetPrefs : undefined,
2420
2520
  signalConsumptionPrefs: props.tradingPolicy.signalConsumptionPrefs !== undefined ? props.tradingPolicy.signalConsumptionPrefs : undefined,
2421
2521
  executionPrefs: props.tradingPolicy.executionPrefs !== undefined ? props.tradingPolicy.executionPrefs : undefined,
@@ -2865,6 +2965,36 @@ exports.PolicyOverlay = {
2865
2965
  perTradeCryptoAllocationPct: prop.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? {
2866
2966
  set: prop.tradingPolicy.perTradeCryptoAllocationPct
2867
2967
  } : undefined,
2968
+ enablePortfolioTrailingStop: prop.tradingPolicy.enablePortfolioTrailingStop !== undefined ? {
2969
+ set: prop.tradingPolicy.enablePortfolioTrailingStop
2970
+ } : undefined,
2971
+ portfolioTrailPercent: prop.tradingPolicy.portfolioTrailPercent !== undefined ? {
2972
+ set: prop.tradingPolicy.portfolioTrailPercent
2973
+ } : undefined,
2974
+ portfolioProfitThresholdPercent: prop.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? {
2975
+ set: prop.tradingPolicy.portfolioProfitThresholdPercent
2976
+ } : undefined,
2977
+ reducedPortfolioTrailPercent: prop.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
2978
+ set: prop.tradingPolicy.reducedPortfolioTrailPercent
2979
+ } : undefined,
2980
+ defaultTrailingStopPercentage100: prop.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
2981
+ set: prop.tradingPolicy.defaultTrailingStopPercentage100
2982
+ } : undefined,
2983
+ firstTrailReductionThreshold100: prop.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? {
2984
+ set: prop.tradingPolicy.firstTrailReductionThreshold100
2985
+ } : undefined,
2986
+ secondTrailReductionThreshold100: prop.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? {
2987
+ set: prop.tradingPolicy.secondTrailReductionThreshold100
2988
+ } : undefined,
2989
+ firstReducedTrailPercentage100: prop.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? {
2990
+ set: prop.tradingPolicy.firstReducedTrailPercentage100
2991
+ } : undefined,
2992
+ secondReducedTrailPercentage100: prop.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? {
2993
+ set: prop.tradingPolicy.secondReducedTrailPercentage100
2994
+ } : undefined,
2995
+ minimumPriceChangePercent100: prop.tradingPolicy.minimumPriceChangePercent100 !== undefined ? {
2996
+ set: prop.tradingPolicy.minimumPriceChangePercent100
2997
+ } : undefined,
2868
2998
  riskBudgetPrefs: prop.tradingPolicy.riskBudgetPrefs !== undefined ? prop.tradingPolicy.riskBudgetPrefs : undefined,
2869
2999
  signalConsumptionPrefs: prop.tradingPolicy.signalConsumptionPrefs !== undefined ? prop.tradingPolicy.signalConsumptionPrefs : undefined,
2870
3000
  executionPrefs: prop.tradingPolicy.executionPrefs !== undefined ? prop.tradingPolicy.executionPrefs : undefined,
@@ -3376,6 +3506,16 @@ exports.PolicyOverlay = {
3376
3506
  maxOpenOrders: prop.tradingPolicy.maxOpenOrders !== undefined ? prop.tradingPolicy.maxOpenOrders : undefined,
3377
3507
  perTradeEquityAllocationPct: prop.tradingPolicy.perTradeEquityAllocationPct !== undefined ? prop.tradingPolicy.perTradeEquityAllocationPct : undefined,
3378
3508
  perTradeCryptoAllocationPct: prop.tradingPolicy.perTradeCryptoAllocationPct !== undefined ? prop.tradingPolicy.perTradeCryptoAllocationPct : undefined,
3509
+ enablePortfolioTrailingStop: prop.tradingPolicy.enablePortfolioTrailingStop !== undefined ? prop.tradingPolicy.enablePortfolioTrailingStop : undefined,
3510
+ portfolioTrailPercent: prop.tradingPolicy.portfolioTrailPercent !== undefined ? prop.tradingPolicy.portfolioTrailPercent : undefined,
3511
+ portfolioProfitThresholdPercent: prop.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? prop.tradingPolicy.portfolioProfitThresholdPercent : undefined,
3512
+ reducedPortfolioTrailPercent: prop.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? prop.tradingPolicy.reducedPortfolioTrailPercent : undefined,
3513
+ defaultTrailingStopPercentage100: prop.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? prop.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
3514
+ firstTrailReductionThreshold100: prop.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? prop.tradingPolicy.firstTrailReductionThreshold100 : undefined,
3515
+ secondTrailReductionThreshold100: prop.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? prop.tradingPolicy.secondTrailReductionThreshold100 : undefined,
3516
+ firstReducedTrailPercentage100: prop.tradingPolicy.firstReducedTrailPercentage100 !== undefined ? prop.tradingPolicy.firstReducedTrailPercentage100 : undefined,
3517
+ secondReducedTrailPercentage100: prop.tradingPolicy.secondReducedTrailPercentage100 !== undefined ? prop.tradingPolicy.secondReducedTrailPercentage100 : undefined,
3518
+ minimumPriceChangePercent100: prop.tradingPolicy.minimumPriceChangePercent100 !== undefined ? prop.tradingPolicy.minimumPriceChangePercent100 : undefined,
3379
3519
  riskBudgetPrefs: prop.tradingPolicy.riskBudgetPrefs !== undefined ? prop.tradingPolicy.riskBudgetPrefs : undefined,
3380
3520
  signalConsumptionPrefs: prop.tradingPolicy.signalConsumptionPrefs !== undefined ? prop.tradingPolicy.signalConsumptionPrefs : undefined,
3381
3521
  executionPrefs: prop.tradingPolicy.executionPrefs !== undefined ? prop.tradingPolicy.executionPrefs : undefined,