@adaptic/backend-legacy 0.0.991 → 0.0.992

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/Account.cjs +40 -0
  2. package/AccountLinkingRequest.cjs +40 -0
  3. package/AccountRiskMetrics.cjs +36 -0
  4. package/Alert.cjs +34 -0
  5. package/Allocation.cjs +34 -0
  6. package/AlpacaAccount.cjs +110 -0
  7. package/Authenticator.cjs +40 -0
  8. package/Customer.cjs +42 -0
  9. package/LinkedProvider.cjs +40 -0
  10. package/LlmConfiguration.cjs +40 -0
  11. package/PolicyOverlay.cjs +188 -0
  12. package/RiskEscalationEvent.cjs +102 -0
  13. package/Session.cjs +40 -0
  14. package/StrategyHealthSnapshot.cjs +36 -0
  15. package/TradingPolicy.cjs +26 -0
  16. package/User.cjs +36 -0
  17. package/WaitlistEntry.cjs +40 -0
  18. package/esm/Account.d.ts.map +1 -1
  19. package/esm/Account.js.map +1 -1
  20. package/esm/Account.mjs +40 -0
  21. package/esm/AccountLinkingRequest.d.ts.map +1 -1
  22. package/esm/AccountLinkingRequest.js.map +1 -1
  23. package/esm/AccountLinkingRequest.mjs +40 -0
  24. package/esm/AccountRiskMetrics.d.ts.map +1 -1
  25. package/esm/AccountRiskMetrics.js.map +1 -1
  26. package/esm/AccountRiskMetrics.mjs +36 -0
  27. package/esm/Alert.d.ts.map +1 -1
  28. package/esm/Alert.js.map +1 -1
  29. package/esm/Alert.mjs +34 -0
  30. package/esm/Allocation.d.ts.map +1 -1
  31. package/esm/Allocation.js.map +1 -1
  32. package/esm/Allocation.mjs +34 -0
  33. package/esm/AlpacaAccount.d.ts.map +1 -1
  34. package/esm/AlpacaAccount.js.map +1 -1
  35. package/esm/AlpacaAccount.mjs +110 -0
  36. package/esm/Authenticator.d.ts.map +1 -1
  37. package/esm/Authenticator.js.map +1 -1
  38. package/esm/Authenticator.mjs +40 -0
  39. package/esm/Customer.d.ts.map +1 -1
  40. package/esm/Customer.js.map +1 -1
  41. package/esm/Customer.mjs +42 -0
  42. package/esm/LinkedProvider.d.ts.map +1 -1
  43. package/esm/LinkedProvider.js.map +1 -1
  44. package/esm/LinkedProvider.mjs +40 -0
  45. package/esm/LlmConfiguration.d.ts.map +1 -1
  46. package/esm/LlmConfiguration.js.map +1 -1
  47. package/esm/LlmConfiguration.mjs +40 -0
  48. package/esm/PolicyOverlay.d.ts.map +1 -1
  49. package/esm/PolicyOverlay.js.map +1 -1
  50. package/esm/PolicyOverlay.mjs +188 -0
  51. package/esm/RiskEscalationEvent.d.ts.map +1 -1
  52. package/esm/RiskEscalationEvent.js.map +1 -1
  53. package/esm/RiskEscalationEvent.mjs +102 -0
  54. package/esm/Session.d.ts.map +1 -1
  55. package/esm/Session.js.map +1 -1
  56. package/esm/Session.mjs +40 -0
  57. package/esm/StrategyHealthSnapshot.d.ts.map +1 -1
  58. package/esm/StrategyHealthSnapshot.js.map +1 -1
  59. package/esm/StrategyHealthSnapshot.mjs +36 -0
  60. package/esm/TradingPolicy.d.ts.map +1 -1
  61. package/esm/TradingPolicy.js.map +1 -1
  62. package/esm/TradingPolicy.mjs +26 -0
  63. package/esm/User.d.ts.map +1 -1
  64. package/esm/User.js.map +1 -1
  65. package/esm/User.mjs +36 -0
  66. package/esm/WaitlistEntry.d.ts.map +1 -1
  67. package/esm/WaitlistEntry.js.map +1 -1
  68. package/esm/WaitlistEntry.mjs +40 -0
  69. package/esm/generated/selectionSets/AccountRiskMetrics.d.ts +1 -1
  70. package/esm/generated/selectionSets/AccountRiskMetrics.d.ts.map +1 -1
  71. package/esm/generated/selectionSets/AccountRiskMetrics.js.map +1 -1
  72. package/esm/generated/selectionSets/AccountRiskMetrics.mjs +2 -0
  73. package/esm/generated/selectionSets/AlpacaAccount.d.ts +1 -1
  74. package/esm/generated/selectionSets/AlpacaAccount.d.ts.map +1 -1
  75. package/esm/generated/selectionSets/AlpacaAccount.js.map +1 -1
  76. package/esm/generated/selectionSets/AlpacaAccount.mjs +2 -0
  77. package/esm/generated/selectionSets/Customer.d.ts +1 -1
  78. package/esm/generated/selectionSets/Customer.d.ts.map +1 -1
  79. package/esm/generated/selectionSets/Customer.js.map +1 -1
  80. package/esm/generated/selectionSets/Customer.mjs +2 -0
  81. package/esm/generated/selectionSets/StrategyHealthSnapshot.d.ts +1 -1
  82. package/esm/generated/selectionSets/StrategyHealthSnapshot.d.ts.map +1 -1
  83. package/esm/generated/selectionSets/StrategyHealthSnapshot.js.map +1 -1
  84. package/esm/generated/selectionSets/StrategyHealthSnapshot.mjs +2 -0
  85. package/esm/generated/selectionSets/TradingPolicy.d.ts +1 -1
  86. package/esm/generated/selectionSets/TradingPolicy.d.ts.map +1 -1
  87. package/esm/generated/selectionSets/TradingPolicy.js.map +1 -1
  88. package/esm/generated/selectionSets/TradingPolicy.mjs +2 -0
  89. package/esm/generated/selectionSets/User.d.ts +1 -1
  90. package/esm/generated/selectionSets/User.d.ts.map +1 -1
  91. package/esm/generated/selectionSets/User.js.map +1 -1
  92. package/esm/generated/selectionSets/User.mjs +2 -0
  93. package/esm/generated/typeStrings/PolicyOverlay.d.ts +1 -1
  94. package/esm/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
  95. package/esm/generated/typeStrings/PolicyOverlay.js.map +1 -1
  96. package/esm/generated/typeStrings/PolicyOverlay.mjs +4 -0
  97. package/esm/generated/typeStrings/TradingPolicy.d.ts +1 -1
  98. package/esm/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
  99. package/esm/generated/typeStrings/TradingPolicy.js.map +1 -1
  100. package/esm/generated/typeStrings/TradingPolicy.mjs +4 -0
  101. package/esm/generated/typeStrings/index.d.ts +2 -2
  102. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  103. package/esm/generated/typegraphql-prisma/enhance.mjs +26 -26
  104. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +2 -0
  105. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts.map +1 -1
  106. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.js.map +1 -1
  107. package/esm/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.mjs +2 -0
  108. package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts +8 -0
  109. package/esm/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
  110. package/esm/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
  111. package/esm/generated/typegraphql-prisma/models/TradingPolicy.mjs +22 -0
  112. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts +1 -1
  113. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts.map +1 -1
  114. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.js.map +1 -1
  115. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts +1 -1
  116. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts.map +1 -1
  117. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.js.map +1 -1
  118. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts +1 -1
  119. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts.map +1 -1
  120. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.js.map +1 -1
  121. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts +1 -1
  122. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts.map +1 -1
  123. package/esm/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.js.map +1 -1
  124. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +1 -0
  125. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts.map +1 -1
  126. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.js.map +1 -1
  127. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.mjs +7 -0
  128. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +2 -0
  129. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts.map +1 -1
  130. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.js.map +1 -1
  131. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.mjs +14 -0
  132. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +2 -0
  133. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts.map +1 -1
  134. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.js.map +1 -1
  135. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.mjs +14 -0
  136. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +2 -0
  137. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts.map +1 -1
  138. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.js.map +1 -1
  139. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.mjs +14 -0
  140. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +2 -0
  141. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  142. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.js.map +1 -1
  143. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.mjs +14 -0
  144. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +2 -0
  145. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts.map +1 -1
  146. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.js.map +1 -1
  147. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.mjs +14 -0
  148. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +2 -0
  149. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts.map +1 -1
  150. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.js.map +1 -1
  151. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.mjs +14 -0
  152. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +2 -0
  153. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts.map +1 -1
  154. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.js.map +1 -1
  155. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.mjs +14 -0
  156. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +2 -0
  157. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts.map +1 -1
  158. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.js.map +1 -1
  159. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.mjs +14 -0
  160. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +2 -0
  161. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts.map +1 -1
  162. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.js.map +1 -1
  163. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.mjs +14 -0
  164. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +4 -0
  165. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts.map +1 -1
  166. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.js.map +1 -1
  167. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.mjs +16 -0
  168. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +1 -0
  169. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts.map +1 -1
  170. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.js.map +1 -1
  171. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.mjs +7 -0
  172. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +4 -0
  173. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts.map +1 -1
  174. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.js.map +1 -1
  175. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.mjs +16 -0
  176. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +4 -0
  177. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts.map +1 -1
  178. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.js.map +1 -1
  179. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.mjs +16 -0
  180. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +4 -0
  181. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  182. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.js.map +1 -1
  183. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.mjs +16 -0
  184. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +4 -0
  185. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts.map +1 -1
  186. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.js.map +1 -1
  187. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.mjs +16 -0
  188. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +4 -0
  189. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts.map +1 -1
  190. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.js.map +1 -1
  191. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.mjs +16 -0
  192. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +4 -0
  193. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts.map +1 -1
  194. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.js.map +1 -1
  195. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.mjs +16 -0
  196. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +2 -0
  197. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts.map +1 -1
  198. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.js.map +1 -1
  199. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.mjs +14 -0
  200. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +1 -0
  201. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts.map +1 -1
  202. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.js.map +1 -1
  203. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.mjs +7 -0
  204. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +2 -0
  205. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts.map +1 -1
  206. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.js.map +1 -1
  207. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.mjs +14 -0
  208. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +2 -0
  209. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts.map +1 -1
  210. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.js.map +1 -1
  211. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.mjs +14 -0
  212. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +2 -0
  213. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts.map +1 -1
  214. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.js.map +1 -1
  215. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.mjs +14 -0
  216. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +2 -0
  217. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts.map +1 -1
  218. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.js.map +1 -1
  219. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.mjs +14 -0
  220. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +1 -0
  221. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts.map +1 -1
  222. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.js.map +1 -1
  223. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.mjs +7 -0
  224. package/esm/index.d.ts.map +1 -1
  225. package/generated/typeStrings/PolicyOverlay.cjs +4 -0
  226. package/generated/typeStrings/PolicyOverlay.d.ts +1 -1
  227. package/generated/typeStrings/PolicyOverlay.d.ts.map +1 -1
  228. package/generated/typeStrings/PolicyOverlay.js.map +1 -1
  229. package/generated/typeStrings/TradingPolicy.cjs +4 -0
  230. package/generated/typeStrings/TradingPolicy.d.ts +1 -1
  231. package/generated/typeStrings/TradingPolicy.d.ts.map +1 -1
  232. package/generated/typeStrings/TradingPolicy.js.map +1 -1
  233. package/generated/typeStrings/index.d.ts +2 -2
  234. package/generated/typegraphql-prisma/enhance.cjs +26 -26
  235. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  236. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.cjs +2 -0
  237. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts +2 -0
  238. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.d.ts.map +1 -1
  239. package/generated/typegraphql-prisma/enums/TradingPolicyScalarFieldEnum.js.map +1 -1
  240. package/generated/typegraphql-prisma/models/TradingPolicy.cjs +14 -0
  241. package/generated/typegraphql-prisma/models/TradingPolicy.d.ts +8 -0
  242. package/generated/typegraphql-prisma/models/TradingPolicy.d.ts.map +1 -1
  243. package/generated/typegraphql-prisma/models/TradingPolicy.js.map +1 -1
  244. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts +1 -1
  245. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.d.ts.map +1 -1
  246. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyArgs.js.map +1 -1
  247. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts +1 -1
  248. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.d.ts.map +1 -1
  249. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindFirstTradingPolicyOrThrowArgs.js.map +1 -1
  250. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts +1 -1
  251. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.d.ts.map +1 -1
  252. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/FindManyTradingPolicyArgs.js.map +1 -1
  253. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts +1 -1
  254. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.d.ts.map +1 -1
  255. package/generated/typegraphql-prisma/resolvers/crud/TradingPolicy/args/GroupByTradingPolicyArgs.js.map +1 -1
  256. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.cjs +6 -0
  257. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts +1 -0
  258. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.d.ts.map +1 -1
  259. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyAvgOrderByAggregateInput.js.map +1 -1
  260. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.cjs +12 -0
  261. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts +2 -0
  262. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.d.ts.map +1 -1
  263. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCountOrderByAggregateInput.js.map +1 -1
  264. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.cjs +12 -0
  265. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts +2 -0
  266. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.d.ts.map +1 -1
  267. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateInput.js.map +1 -1
  268. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.cjs +12 -0
  269. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts +2 -0
  270. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.d.ts.map +1 -1
  271. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateManyInput.js.map +1 -1
  272. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.cjs +12 -0
  273. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts +2 -0
  274. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.d.ts.map +1 -1
  275. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutAlpacaAccountInput.js.map +1 -1
  276. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.cjs +12 -0
  277. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts +2 -0
  278. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.d.ts.map +1 -1
  279. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyCreateWithoutOverlaysInput.js.map +1 -1
  280. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.cjs +12 -0
  281. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts +2 -0
  282. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.d.ts.map +1 -1
  283. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMaxOrderByAggregateInput.js.map +1 -1
  284. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.cjs +12 -0
  285. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts +2 -0
  286. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.d.ts.map +1 -1
  287. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyMinOrderByAggregateInput.js.map +1 -1
  288. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.cjs +12 -0
  289. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts +2 -0
  290. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.d.ts.map +1 -1
  291. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithAggregationInput.js.map +1 -1
  292. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.cjs +12 -0
  293. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts +2 -0
  294. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.d.ts.map +1 -1
  295. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyOrderByWithRelationInput.js.map +1 -1
  296. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.cjs +14 -0
  297. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts +4 -0
  298. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.d.ts.map +1 -1
  299. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyScalarWhereWithAggregatesInput.js.map +1 -1
  300. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.cjs +6 -0
  301. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts +1 -0
  302. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.d.ts.map +1 -1
  303. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicySumOrderByAggregateInput.js.map +1 -1
  304. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.cjs +14 -0
  305. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts +4 -0
  306. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.d.ts.map +1 -1
  307. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateInput.js.map +1 -1
  308. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.cjs +14 -0
  309. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts +4 -0
  310. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.d.ts.map +1 -1
  311. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateManyMutationInput.js.map +1 -1
  312. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.cjs +14 -0
  313. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts +4 -0
  314. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.d.ts.map +1 -1
  315. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutAlpacaAccountInput.js.map +1 -1
  316. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.cjs +14 -0
  317. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts +4 -0
  318. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.d.ts.map +1 -1
  319. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyUpdateWithoutOverlaysInput.js.map +1 -1
  320. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.cjs +14 -0
  321. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts +4 -0
  322. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.d.ts.map +1 -1
  323. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereInput.js.map +1 -1
  324. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.cjs +14 -0
  325. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts +4 -0
  326. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.d.ts.map +1 -1
  327. package/generated/typegraphql-prisma/resolvers/inputs/TradingPolicyWhereUniqueInput.js.map +1 -1
  328. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.cjs +12 -0
  329. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts +2 -0
  330. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.d.ts.map +1 -1
  331. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTradingPolicy.js.map +1 -1
  332. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.cjs +6 -0
  333. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts +1 -0
  334. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.d.ts.map +1 -1
  335. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyAvgAggregate.js.map +1 -1
  336. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.cjs +12 -0
  337. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts +2 -0
  338. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.d.ts.map +1 -1
  339. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyCountAggregate.js.map +1 -1
  340. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.cjs +12 -0
  341. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts +2 -0
  342. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.d.ts.map +1 -1
  343. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyGroupBy.js.map +1 -1
  344. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.cjs +12 -0
  345. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts +2 -0
  346. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.d.ts.map +1 -1
  347. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMaxAggregate.js.map +1 -1
  348. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.cjs +12 -0
  349. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts +2 -0
  350. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.d.ts.map +1 -1
  351. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicyMinAggregate.js.map +1 -1
  352. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.cjs +6 -0
  353. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts +1 -0
  354. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.d.ts.map +1 -1
  355. package/generated/typegraphql-prisma/resolvers/outputs/TradingPolicySumAggregate.js.map +1 -1
  356. package/package.json +1 -1
package/Authenticator.cjs CHANGED
@@ -293,6 +293,8 @@ exports.Authenticator = {
293
293
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
294
294
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
295
295
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
296
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
297
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
296
298
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
297
299
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
298
300
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -1448,6 +1450,12 @@ exports.Authenticator = {
1448
1450
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
1449
1451
  set: item.tradingPolicy.reducedPortfolioTrailPercent
1450
1452
  } : undefined,
1453
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
1454
+ set: item.tradingPolicy.enablePortfolioTakeProfit
1455
+ } : undefined,
1456
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
1457
+ set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
1458
+ } : undefined,
1451
1459
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
1452
1460
  set: item.tradingPolicy.defaultTrailingStopPercentage100
1453
1461
  } : undefined,
@@ -1607,6 +1615,8 @@ exports.Authenticator = {
1607
1615
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
1608
1616
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
1609
1617
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
1618
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
1619
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
1610
1620
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
1611
1621
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
1612
1622
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -2143,6 +2153,8 @@ exports.Authenticator = {
2143
2153
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
2144
2154
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
2145
2155
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
2156
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
2157
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
2146
2158
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
2147
2159
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
2148
2160
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -2907,6 +2919,8 @@ exports.Authenticator = {
2907
2919
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
2908
2920
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
2909
2921
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
2922
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
2923
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
2910
2924
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
2911
2925
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
2912
2926
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -3641,6 +3655,8 @@ exports.Authenticator = {
3641
3655
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
3642
3656
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
3643
3657
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
3658
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
3659
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
3644
3660
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
3645
3661
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
3646
3662
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -4508,6 +4524,12 @@ exports.Authenticator = {
4508
4524
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
4509
4525
  set: item.tradingPolicy.reducedPortfolioTrailPercent
4510
4526
  } : undefined,
4527
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
4528
+ set: item.tradingPolicy.enablePortfolioTakeProfit
4529
+ } : undefined,
4530
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
4531
+ set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
4532
+ } : undefined,
4511
4533
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
4512
4534
  set: item.tradingPolicy.defaultTrailingStopPercentage100
4513
4535
  } : undefined,
@@ -4667,6 +4689,8 @@ exports.Authenticator = {
4667
4689
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
4668
4690
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
4669
4691
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
4692
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
4693
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
4670
4694
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
4671
4695
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
4672
4696
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -5203,6 +5227,8 @@ exports.Authenticator = {
5203
5227
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
5204
5228
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
5205
5229
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
5230
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
5231
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
5206
5232
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
5207
5233
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
5208
5234
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -5967,6 +5993,8 @@ exports.Authenticator = {
5967
5993
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
5968
5994
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
5969
5995
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
5996
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
5997
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
5970
5998
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
5971
5999
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
5972
6000
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -6983,6 +7011,12 @@ exports.Authenticator = {
6983
7011
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
6984
7012
  set: item.tradingPolicy.reducedPortfolioTrailPercent
6985
7013
  } : undefined,
7014
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
7015
+ set: item.tradingPolicy.enablePortfolioTakeProfit
7016
+ } : undefined,
7017
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
7018
+ set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
7019
+ } : undefined,
6986
7020
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
6987
7021
  set: item.tradingPolicy.defaultTrailingStopPercentage100
6988
7022
  } : undefined,
@@ -7142,6 +7176,8 @@ exports.Authenticator = {
7142
7176
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
7143
7177
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
7144
7178
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
7179
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
7180
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
7145
7181
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
7146
7182
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
7147
7183
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -7678,6 +7714,8 @@ exports.Authenticator = {
7678
7714
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
7679
7715
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
7680
7716
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
7717
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
7718
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
7681
7719
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
7682
7720
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
7683
7721
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -8442,6 +8480,8 @@ exports.Authenticator = {
8442
8480
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
8443
8481
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
8444
8482
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
8483
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
8484
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
8445
8485
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
8446
8486
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
8447
8487
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
package/Customer.cjs CHANGED
@@ -100,6 +100,8 @@ const selectionSet = `
100
100
  portfolioTrailPercent
101
101
  portfolioProfitThresholdPercent
102
102
  reducedPortfolioTrailPercent
103
+ enablePortfolioTakeProfit
104
+ portfolioTakeProfitThresholdPercent
103
105
  defaultTrailingStopPercentage100
104
106
  firstTrailReductionThreshold100
105
107
  secondTrailReductionThreshold100
@@ -485,6 +487,8 @@ exports.Customer = {
485
487
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
486
488
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
487
489
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
490
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
491
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
488
492
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
489
493
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
490
494
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -1619,6 +1623,12 @@ exports.Customer = {
1619
1623
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
1620
1624
  set: item.tradingPolicy.reducedPortfolioTrailPercent
1621
1625
  } : undefined,
1626
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
1627
+ set: item.tradingPolicy.enablePortfolioTakeProfit
1628
+ } : undefined,
1629
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
1630
+ set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
1631
+ } : undefined,
1622
1632
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
1623
1633
  set: item.tradingPolicy.defaultTrailingStopPercentage100
1624
1634
  } : undefined,
@@ -1778,6 +1788,8 @@ exports.Customer = {
1778
1788
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
1779
1789
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
1780
1790
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
1791
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
1792
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
1781
1793
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
1782
1794
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
1783
1795
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -2314,6 +2326,8 @@ exports.Customer = {
2314
2326
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
2315
2327
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
2316
2328
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
2329
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
2330
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
2317
2331
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
2318
2332
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
2319
2333
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -3062,6 +3076,8 @@ exports.Customer = {
3062
3076
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
3063
3077
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
3064
3078
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
3079
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
3080
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
3065
3081
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
3066
3082
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
3067
3083
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -3796,6 +3812,8 @@ exports.Customer = {
3796
3812
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
3797
3813
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
3798
3814
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
3815
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
3816
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
3799
3817
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
3800
3818
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
3801
3819
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -4638,6 +4656,12 @@ exports.Customer = {
4638
4656
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
4639
4657
  set: item.tradingPolicy.reducedPortfolioTrailPercent
4640
4658
  } : undefined,
4659
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
4660
+ set: item.tradingPolicy.enablePortfolioTakeProfit
4661
+ } : undefined,
4662
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
4663
+ set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
4664
+ } : undefined,
4641
4665
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
4642
4666
  set: item.tradingPolicy.defaultTrailingStopPercentage100
4643
4667
  } : undefined,
@@ -4797,6 +4821,8 @@ exports.Customer = {
4797
4821
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
4798
4822
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
4799
4823
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
4824
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
4825
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
4800
4826
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
4801
4827
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
4802
4828
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -5333,6 +5359,8 @@ exports.Customer = {
5333
5359
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
5334
5360
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
5335
5361
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
5362
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
5363
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
5336
5364
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
5337
5365
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
5338
5366
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -6081,6 +6109,8 @@ exports.Customer = {
6081
6109
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
6082
6110
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
6083
6111
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
6112
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
6113
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
6084
6114
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
6085
6115
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
6086
6116
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -7069,6 +7099,12 @@ exports.Customer = {
7069
7099
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
7070
7100
  set: item.tradingPolicy.reducedPortfolioTrailPercent
7071
7101
  } : undefined,
7102
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
7103
+ set: item.tradingPolicy.enablePortfolioTakeProfit
7104
+ } : undefined,
7105
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
7106
+ set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
7107
+ } : undefined,
7072
7108
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
7073
7109
  set: item.tradingPolicy.defaultTrailingStopPercentage100
7074
7110
  } : undefined,
@@ -7228,6 +7264,8 @@ exports.Customer = {
7228
7264
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
7229
7265
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
7230
7266
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
7267
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
7268
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
7231
7269
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
7232
7270
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
7233
7271
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -7764,6 +7802,8 @@ exports.Customer = {
7764
7802
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
7765
7803
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
7766
7804
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
7805
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
7806
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
7767
7807
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
7768
7808
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
7769
7809
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -8512,6 +8552,8 @@ exports.Customer = {
8512
8552
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
8513
8553
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
8514
8554
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
8555
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
8556
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
8515
8557
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
8516
8558
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
8517
8559
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -320,6 +320,8 @@ exports.LinkedProvider = {
320
320
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
321
321
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
322
322
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
323
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
324
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
323
325
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
324
326
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
325
327
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -1491,6 +1493,12 @@ exports.LinkedProvider = {
1491
1493
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
1492
1494
  set: item.tradingPolicy.reducedPortfolioTrailPercent
1493
1495
  } : undefined,
1496
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
1497
+ set: item.tradingPolicy.enablePortfolioTakeProfit
1498
+ } : undefined,
1499
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
1500
+ set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
1501
+ } : undefined,
1494
1502
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
1495
1503
  set: item.tradingPolicy.defaultTrailingStopPercentage100
1496
1504
  } : undefined,
@@ -1650,6 +1658,8 @@ exports.LinkedProvider = {
1650
1658
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
1651
1659
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
1652
1660
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
1661
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
1662
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
1653
1663
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
1654
1664
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
1655
1665
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -2186,6 +2196,8 @@ exports.LinkedProvider = {
2186
2196
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
2187
2197
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
2188
2198
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
2199
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
2200
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
2189
2201
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
2190
2202
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
2191
2203
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -2915,6 +2927,8 @@ exports.LinkedProvider = {
2915
2927
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
2916
2928
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
2917
2929
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
2930
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
2931
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
2918
2932
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
2919
2933
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
2920
2934
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -3649,6 +3663,8 @@ exports.LinkedProvider = {
3649
3663
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
3650
3664
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
3651
3665
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
3666
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
3667
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
3652
3668
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
3653
3669
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
3654
3670
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -4531,6 +4547,12 @@ exports.LinkedProvider = {
4531
4547
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
4532
4548
  set: item.tradingPolicy.reducedPortfolioTrailPercent
4533
4549
  } : undefined,
4550
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
4551
+ set: item.tradingPolicy.enablePortfolioTakeProfit
4552
+ } : undefined,
4553
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
4554
+ set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
4555
+ } : undefined,
4534
4556
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
4535
4557
  set: item.tradingPolicy.defaultTrailingStopPercentage100
4536
4558
  } : undefined,
@@ -4690,6 +4712,8 @@ exports.LinkedProvider = {
4690
4712
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
4691
4713
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
4692
4714
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
4715
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
4716
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
4693
4717
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
4694
4718
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
4695
4719
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -5226,6 +5250,8 @@ exports.LinkedProvider = {
5226
5250
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
5227
5251
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
5228
5252
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
5253
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
5254
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
5229
5255
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
5230
5256
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
5231
5257
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -5955,6 +5981,8 @@ exports.LinkedProvider = {
5955
5981
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
5956
5982
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
5957
5983
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
5984
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
5985
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
5958
5986
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
5959
5987
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
5960
5988
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -6983,6 +7011,12 @@ exports.LinkedProvider = {
6983
7011
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? {
6984
7012
  set: item.tradingPolicy.reducedPortfolioTrailPercent
6985
7013
  } : undefined,
7014
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? {
7015
+ set: item.tradingPolicy.enablePortfolioTakeProfit
7016
+ } : undefined,
7017
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? {
7018
+ set: item.tradingPolicy.portfolioTakeProfitThresholdPercent
7019
+ } : undefined,
6986
7020
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? {
6987
7021
  set: item.tradingPolicy.defaultTrailingStopPercentage100
6988
7022
  } : undefined,
@@ -7142,6 +7176,8 @@ exports.LinkedProvider = {
7142
7176
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
7143
7177
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
7144
7178
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
7179
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
7180
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
7145
7181
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
7146
7182
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
7147
7183
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -7678,6 +7714,8 @@ exports.LinkedProvider = {
7678
7714
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
7679
7715
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
7680
7716
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
7717
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
7718
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
7681
7719
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
7682
7720
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
7683
7721
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,
@@ -8407,6 +8445,8 @@ exports.LinkedProvider = {
8407
8445
  portfolioTrailPercent: item.tradingPolicy.portfolioTrailPercent !== undefined ? item.tradingPolicy.portfolioTrailPercent : undefined,
8408
8446
  portfolioProfitThresholdPercent: item.tradingPolicy.portfolioProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioProfitThresholdPercent : undefined,
8409
8447
  reducedPortfolioTrailPercent: item.tradingPolicy.reducedPortfolioTrailPercent !== undefined ? item.tradingPolicy.reducedPortfolioTrailPercent : undefined,
8448
+ enablePortfolioTakeProfit: item.tradingPolicy.enablePortfolioTakeProfit !== undefined ? item.tradingPolicy.enablePortfolioTakeProfit : undefined,
8449
+ portfolioTakeProfitThresholdPercent: item.tradingPolicy.portfolioTakeProfitThresholdPercent !== undefined ? item.tradingPolicy.portfolioTakeProfitThresholdPercent : undefined,
8410
8450
  defaultTrailingStopPercentage100: item.tradingPolicy.defaultTrailingStopPercentage100 !== undefined ? item.tradingPolicy.defaultTrailingStopPercentage100 : undefined,
8411
8451
  firstTrailReductionThreshold100: item.tradingPolicy.firstTrailReductionThreshold100 !== undefined ? item.tradingPolicy.firstTrailReductionThreshold100 : undefined,
8412
8452
  secondTrailReductionThreshold100: item.tradingPolicy.secondTrailReductionThreshold100 !== undefined ? item.tradingPolicy.secondTrailReductionThreshold100 : undefined,