adaptic-backend 1.0.338 → 1.0.340

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 (255) hide show
  1. package/Action.cjs +196 -42
  2. package/Trade.cjs +182 -39
  3. package/esm/Action.d.ts.map +1 -1
  4. package/esm/Action.js.map +1 -1
  5. package/esm/Action.mjs +196 -42
  6. package/esm/Trade.d.ts.map +1 -1
  7. package/esm/Trade.js.map +1 -1
  8. package/esm/Trade.mjs +182 -39
  9. package/esm/generated/selectionSets/Trade.d.ts +1 -1
  10. package/esm/generated/selectionSets/Trade.d.ts.map +1 -1
  11. package/esm/generated/selectionSets/Trade.js.map +1 -1
  12. package/esm/generated/selectionSets/Trade.mjs +14 -3
  13. package/esm/generated/typeStrings/Trade.d.ts +1 -1
  14. package/esm/generated/typeStrings/Trade.d.ts.map +1 -1
  15. package/esm/generated/typeStrings/Trade.js.map +1 -1
  16. package/esm/generated/typeStrings/Trade.mjs +0 -6
  17. package/esm/generated/typeStrings/index.d.ts +1 -1
  18. package/esm/generated/typegraphql-prisma/enhance.js.map +1 -1
  19. package/esm/generated/typegraphql-prisma/enhance.mjs +24 -24
  20. package/esm/generated/typegraphql-prisma/enums/TradeScalarFieldEnum.d.ts +15 -4
  21. package/esm/generated/typegraphql-prisma/enums/TradeScalarFieldEnum.d.ts.map +1 -1
  22. package/esm/generated/typegraphql-prisma/enums/TradeScalarFieldEnum.js.map +1 -1
  23. package/esm/generated/typegraphql-prisma/enums/TradeScalarFieldEnum.mjs +14 -3
  24. package/esm/generated/typegraphql-prisma/models/Trade.d.ts +56 -12
  25. package/esm/generated/typegraphql-prisma/models/Trade.d.ts.map +1 -1
  26. package/esm/generated/typegraphql-prisma/models/Trade.js.map +1 -1
  27. package/esm/generated/typegraphql-prisma/models/Trade.mjs +154 -33
  28. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeArgs.d.ts +1 -1
  29. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeArgs.d.ts.map +1 -1
  30. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeArgs.js.map +1 -1
  31. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeOrThrowArgs.d.ts +1 -1
  32. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeOrThrowArgs.d.ts.map +1 -1
  33. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeOrThrowArgs.js.map +1 -1
  34. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindManyTradeArgs.d.ts +1 -1
  35. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindManyTradeArgs.d.ts.map +1 -1
  36. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindManyTradeArgs.js.map +1 -1
  37. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/GroupByTradeArgs.d.ts +1 -1
  38. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/GroupByTradeArgs.d.ts.map +1 -1
  39. package/esm/generated/typegraphql-prisma/resolvers/crud/Trade/args/GroupByTradeArgs.js.map +1 -1
  40. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeAvgOrderByAggregateInput.d.ts +9 -3
  41. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeAvgOrderByAggregateInput.d.ts.map +1 -1
  42. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeAvgOrderByAggregateInput.js.map +1 -1
  43. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeAvgOrderByAggregateInput.mjs +49 -7
  44. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCountOrderByAggregateInput.d.ts +14 -3
  45. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCountOrderByAggregateInput.d.ts.map +1 -1
  46. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCountOrderByAggregateInput.js.map +1 -1
  47. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCountOrderByAggregateInput.mjs +93 -16
  48. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateInput.d.ts +14 -3
  49. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateInput.d.ts.map +1 -1
  50. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateInput.js.map +1 -1
  51. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateInput.mjs +98 -21
  52. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateManyInput.d.ts +14 -3
  53. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateManyInput.d.ts.map +1 -1
  54. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateManyInput.js.map +1 -1
  55. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateManyInput.mjs +98 -21
  56. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateWithoutActionsInput.d.ts +14 -3
  57. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateWithoutActionsInput.d.ts.map +1 -1
  58. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateWithoutActionsInput.js.map +1 -1
  59. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeCreateWithoutActionsInput.mjs +98 -21
  60. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeMaxOrderByAggregateInput.d.ts +14 -3
  61. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeMaxOrderByAggregateInput.d.ts.map +1 -1
  62. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeMaxOrderByAggregateInput.js.map +1 -1
  63. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeMaxOrderByAggregateInput.mjs +93 -16
  64. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeMinOrderByAggregateInput.d.ts +14 -3
  65. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeMinOrderByAggregateInput.d.ts.map +1 -1
  66. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeMinOrderByAggregateInput.js.map +1 -1
  67. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeMinOrderByAggregateInput.mjs +93 -16
  68. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithAggregationInput.d.ts +14 -3
  69. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithAggregationInput.d.ts.map +1 -1
  70. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithAggregationInput.js.map +1 -1
  71. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithAggregationInput.mjs +97 -20
  72. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithRelationInput.d.ts +14 -3
  73. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithRelationInput.d.ts.map +1 -1
  74. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithRelationInput.js.map +1 -1
  75. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithRelationInput.mjs +97 -20
  76. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeScalarWhereWithAggregatesInput.d.ts +16 -3
  77. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeScalarWhereWithAggregatesInput.d.ts.map +1 -1
  78. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeScalarWhereWithAggregatesInput.js.map +1 -1
  79. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeScalarWhereWithAggregatesInput.mjs +100 -21
  80. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeSumOrderByAggregateInput.d.ts +9 -3
  81. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeSumOrderByAggregateInput.d.ts.map +1 -1
  82. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeSumOrderByAggregateInput.js.map +1 -1
  83. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeSumOrderByAggregateInput.mjs +49 -7
  84. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateInput.d.ts +16 -3
  85. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateInput.d.ts.map +1 -1
  86. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateInput.js.map +1 -1
  87. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateInput.mjs +100 -21
  88. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateManyMutationInput.d.ts +16 -3
  89. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateManyMutationInput.d.ts.map +1 -1
  90. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateManyMutationInput.js.map +1 -1
  91. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateManyMutationInput.mjs +100 -21
  92. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateWithoutActionsInput.d.ts +16 -3
  93. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateWithoutActionsInput.d.ts.map +1 -1
  94. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateWithoutActionsInput.js.map +1 -1
  95. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateWithoutActionsInput.mjs +100 -21
  96. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeWhereInput.d.ts +16 -3
  97. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeWhereInput.d.ts.map +1 -1
  98. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeWhereInput.js.map +1 -1
  99. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeWhereInput.mjs +100 -21
  100. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeWhereUniqueInput.d.ts +16 -3
  101. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeWhereUniqueInput.d.ts.map +1 -1
  102. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeWhereUniqueInput.js.map +1 -1
  103. package/esm/generated/typegraphql-prisma/resolvers/inputs/TradeWhereUniqueInput.mjs +100 -21
  104. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTrade.d.ts +14 -3
  105. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTrade.d.ts.map +1 -1
  106. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTrade.js.map +1 -1
  107. package/esm/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTrade.mjs +98 -21
  108. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.d.ts +9 -3
  109. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.d.ts.map +1 -1
  110. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.js.map +1 -1
  111. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.mjs +49 -7
  112. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.d.ts +14 -3
  113. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.d.ts.map +1 -1
  114. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.js.map +1 -1
  115. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.mjs +93 -16
  116. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeGroupBy.d.ts +14 -3
  117. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeGroupBy.d.ts.map +1 -1
  118. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeGroupBy.js.map +1 -1
  119. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeGroupBy.mjs +98 -21
  120. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeMaxAggregate.d.ts +14 -3
  121. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeMaxAggregate.d.ts.map +1 -1
  122. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeMaxAggregate.js.map +1 -1
  123. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeMaxAggregate.mjs +98 -21
  124. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeMinAggregate.d.ts +14 -3
  125. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeMinAggregate.d.ts.map +1 -1
  126. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeMinAggregate.js.map +1 -1
  127. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeMinAggregate.mjs +98 -21
  128. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeSumAggregate.d.ts +9 -3
  129. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeSumAggregate.d.ts.map +1 -1
  130. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeSumAggregate.js.map +1 -1
  131. package/esm/generated/typegraphql-prisma/resolvers/outputs/TradeSumAggregate.mjs +49 -7
  132. package/esm/middleware/auth.d.ts.map +1 -1
  133. package/esm/middleware/auth.js.map +1 -1
  134. package/esm/middleware/auth.mjs +9 -2
  135. package/generated/typeStrings/Trade.cjs +0 -6
  136. package/generated/typeStrings/Trade.d.ts +1 -1
  137. package/generated/typeStrings/Trade.d.ts.map +1 -1
  138. package/generated/typeStrings/Trade.js.map +1 -1
  139. package/generated/typeStrings/index.d.ts +1 -1
  140. package/generated/typegraphql-prisma/enhance.cjs +24 -24
  141. package/generated/typegraphql-prisma/enhance.js.map +1 -1
  142. package/generated/typegraphql-prisma/enums/TradeScalarFieldEnum.cjs +14 -3
  143. package/generated/typegraphql-prisma/enums/TradeScalarFieldEnum.d.ts +15 -4
  144. package/generated/typegraphql-prisma/enums/TradeScalarFieldEnum.d.ts.map +1 -1
  145. package/generated/typegraphql-prisma/enums/TradeScalarFieldEnum.js.map +1 -1
  146. package/generated/typegraphql-prisma/models/Trade.cjs +98 -21
  147. package/generated/typegraphql-prisma/models/Trade.d.ts +56 -12
  148. package/generated/typegraphql-prisma/models/Trade.d.ts.map +1 -1
  149. package/generated/typegraphql-prisma/models/Trade.js.map +1 -1
  150. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeArgs.d.ts +1 -1
  151. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeArgs.d.ts.map +1 -1
  152. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeArgs.js.map +1 -1
  153. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeOrThrowArgs.d.ts +1 -1
  154. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeOrThrowArgs.d.ts.map +1 -1
  155. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindFirstTradeOrThrowArgs.js.map +1 -1
  156. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindManyTradeArgs.d.ts +1 -1
  157. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindManyTradeArgs.d.ts.map +1 -1
  158. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/FindManyTradeArgs.js.map +1 -1
  159. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/GroupByTradeArgs.d.ts +1 -1
  160. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/GroupByTradeArgs.d.ts.map +1 -1
  161. package/generated/typegraphql-prisma/resolvers/crud/Trade/args/GroupByTradeArgs.js.map +1 -1
  162. package/generated/typegraphql-prisma/resolvers/inputs/TradeAvgOrderByAggregateInput.cjs +40 -4
  163. package/generated/typegraphql-prisma/resolvers/inputs/TradeAvgOrderByAggregateInput.d.ts +9 -3
  164. package/generated/typegraphql-prisma/resolvers/inputs/TradeAvgOrderByAggregateInput.d.ts.map +1 -1
  165. package/generated/typegraphql-prisma/resolvers/inputs/TradeAvgOrderByAggregateInput.js.map +1 -1
  166. package/generated/typegraphql-prisma/resolvers/inputs/TradeCountOrderByAggregateInput.cjs +79 -13
  167. package/generated/typegraphql-prisma/resolvers/inputs/TradeCountOrderByAggregateInput.d.ts +14 -3
  168. package/generated/typegraphql-prisma/resolvers/inputs/TradeCountOrderByAggregateInput.d.ts.map +1 -1
  169. package/generated/typegraphql-prisma/resolvers/inputs/TradeCountOrderByAggregateInput.js.map +1 -1
  170. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateInput.cjs +84 -18
  171. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateInput.d.ts +14 -3
  172. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateInput.d.ts.map +1 -1
  173. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateInput.js.map +1 -1
  174. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateManyInput.cjs +84 -18
  175. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateManyInput.d.ts +14 -3
  176. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateManyInput.d.ts.map +1 -1
  177. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateManyInput.js.map +1 -1
  178. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateWithoutActionsInput.cjs +84 -18
  179. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateWithoutActionsInput.d.ts +14 -3
  180. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateWithoutActionsInput.d.ts.map +1 -1
  181. package/generated/typegraphql-prisma/resolvers/inputs/TradeCreateWithoutActionsInput.js.map +1 -1
  182. package/generated/typegraphql-prisma/resolvers/inputs/TradeMaxOrderByAggregateInput.cjs +79 -13
  183. package/generated/typegraphql-prisma/resolvers/inputs/TradeMaxOrderByAggregateInput.d.ts +14 -3
  184. package/generated/typegraphql-prisma/resolvers/inputs/TradeMaxOrderByAggregateInput.d.ts.map +1 -1
  185. package/generated/typegraphql-prisma/resolvers/inputs/TradeMaxOrderByAggregateInput.js.map +1 -1
  186. package/generated/typegraphql-prisma/resolvers/inputs/TradeMinOrderByAggregateInput.cjs +79 -13
  187. package/generated/typegraphql-prisma/resolvers/inputs/TradeMinOrderByAggregateInput.d.ts +14 -3
  188. package/generated/typegraphql-prisma/resolvers/inputs/TradeMinOrderByAggregateInput.d.ts.map +1 -1
  189. package/generated/typegraphql-prisma/resolvers/inputs/TradeMinOrderByAggregateInput.js.map +1 -1
  190. package/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithAggregationInput.cjs +83 -17
  191. package/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithAggregationInput.d.ts +14 -3
  192. package/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithAggregationInput.d.ts.map +1 -1
  193. package/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithAggregationInput.js.map +1 -1
  194. package/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithRelationInput.cjs +83 -17
  195. package/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithRelationInput.d.ts +14 -3
  196. package/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithRelationInput.d.ts.map +1 -1
  197. package/generated/typegraphql-prisma/resolvers/inputs/TradeOrderByWithRelationInput.js.map +1 -1
  198. package/generated/typegraphql-prisma/resolvers/inputs/TradeScalarWhereWithAggregatesInput.cjs +86 -18
  199. package/generated/typegraphql-prisma/resolvers/inputs/TradeScalarWhereWithAggregatesInput.d.ts +16 -3
  200. package/generated/typegraphql-prisma/resolvers/inputs/TradeScalarWhereWithAggregatesInput.d.ts.map +1 -1
  201. package/generated/typegraphql-prisma/resolvers/inputs/TradeScalarWhereWithAggregatesInput.js.map +1 -1
  202. package/generated/typegraphql-prisma/resolvers/inputs/TradeSumOrderByAggregateInput.cjs +40 -4
  203. package/generated/typegraphql-prisma/resolvers/inputs/TradeSumOrderByAggregateInput.d.ts +9 -3
  204. package/generated/typegraphql-prisma/resolvers/inputs/TradeSumOrderByAggregateInput.d.ts.map +1 -1
  205. package/generated/typegraphql-prisma/resolvers/inputs/TradeSumOrderByAggregateInput.js.map +1 -1
  206. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateInput.cjs +86 -18
  207. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateInput.d.ts +16 -3
  208. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateInput.d.ts.map +1 -1
  209. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateInput.js.map +1 -1
  210. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateManyMutationInput.cjs +86 -18
  211. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateManyMutationInput.d.ts +16 -3
  212. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateManyMutationInput.d.ts.map +1 -1
  213. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateManyMutationInput.js.map +1 -1
  214. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateWithoutActionsInput.cjs +86 -18
  215. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateWithoutActionsInput.d.ts +16 -3
  216. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateWithoutActionsInput.d.ts.map +1 -1
  217. package/generated/typegraphql-prisma/resolvers/inputs/TradeUpdateWithoutActionsInput.js.map +1 -1
  218. package/generated/typegraphql-prisma/resolvers/inputs/TradeWhereInput.cjs +86 -18
  219. package/generated/typegraphql-prisma/resolvers/inputs/TradeWhereInput.d.ts +16 -3
  220. package/generated/typegraphql-prisma/resolvers/inputs/TradeWhereInput.d.ts.map +1 -1
  221. package/generated/typegraphql-prisma/resolvers/inputs/TradeWhereInput.js.map +1 -1
  222. package/generated/typegraphql-prisma/resolvers/inputs/TradeWhereUniqueInput.cjs +86 -18
  223. package/generated/typegraphql-prisma/resolvers/inputs/TradeWhereUniqueInput.d.ts +16 -3
  224. package/generated/typegraphql-prisma/resolvers/inputs/TradeWhereUniqueInput.d.ts.map +1 -1
  225. package/generated/typegraphql-prisma/resolvers/inputs/TradeWhereUniqueInput.js.map +1 -1
  226. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTrade.cjs +84 -18
  227. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTrade.d.ts +14 -3
  228. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTrade.d.ts.map +1 -1
  229. package/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTrade.js.map +1 -1
  230. package/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.cjs +40 -4
  231. package/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.d.ts +9 -3
  232. package/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.d.ts.map +1 -1
  233. package/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.js.map +1 -1
  234. package/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.cjs +79 -13
  235. package/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.d.ts +14 -3
  236. package/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.d.ts.map +1 -1
  237. package/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.js.map +1 -1
  238. package/generated/typegraphql-prisma/resolvers/outputs/TradeGroupBy.cjs +84 -18
  239. package/generated/typegraphql-prisma/resolvers/outputs/TradeGroupBy.d.ts +14 -3
  240. package/generated/typegraphql-prisma/resolvers/outputs/TradeGroupBy.d.ts.map +1 -1
  241. package/generated/typegraphql-prisma/resolvers/outputs/TradeGroupBy.js.map +1 -1
  242. package/generated/typegraphql-prisma/resolvers/outputs/TradeMaxAggregate.cjs +84 -18
  243. package/generated/typegraphql-prisma/resolvers/outputs/TradeMaxAggregate.d.ts +14 -3
  244. package/generated/typegraphql-prisma/resolvers/outputs/TradeMaxAggregate.d.ts.map +1 -1
  245. package/generated/typegraphql-prisma/resolvers/outputs/TradeMaxAggregate.js.map +1 -1
  246. package/generated/typegraphql-prisma/resolvers/outputs/TradeMinAggregate.cjs +84 -18
  247. package/generated/typegraphql-prisma/resolvers/outputs/TradeMinAggregate.d.ts +14 -3
  248. package/generated/typegraphql-prisma/resolvers/outputs/TradeMinAggregate.d.ts.map +1 -1
  249. package/generated/typegraphql-prisma/resolvers/outputs/TradeMinAggregate.js.map +1 -1
  250. package/generated/typegraphql-prisma/resolvers/outputs/TradeSumAggregate.cjs +40 -4
  251. package/generated/typegraphql-prisma/resolvers/outputs/TradeSumAggregate.d.ts +9 -3
  252. package/generated/typegraphql-prisma/resolvers/outputs/TradeSumAggregate.d.ts.map +1 -1
  253. package/generated/typegraphql-prisma/resolvers/outputs/TradeSumAggregate.js.map +1 -1
  254. package/package.json +1 -1
  255. package/server.cjs +16 -2
@@ -1 +1 @@
1
- {"version":3,"file":"CreateManyAndReturnTrade.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTrade.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAI5C,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAGnD,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CA2EpC,CAAA;AA3EY,4DAAwB;AAInC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;;oDACU;AAKZ;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;;iEACuB;AAKzB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,KAAK;KAChB,CAAC;;qDACW;AAKb;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,KAAK;KAChB,CAAC;;uDACa;AAKf;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,KAAK;KAChB,CAAC;;uDACa;AAKf;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,yBAAW,EAAE;QAC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wBAAwB,CA2EpC"}
1
+ {"version":3,"file":"CreateManyAndReturnTrade.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/resolvers/outputs/CreateManyAndReturnTrade.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAI5C,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAGnD,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;CAkIpC,CAAA;AAlIY,4DAAwB;AAInC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;;oDACU;AAKZ;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;;iEACuB;AAKzB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,yBAAW,EAAE;QACvC,QAAQ,EAAE,KAAK;KAChB,CAAC;;wDACwrB;AAK1rB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,6BAAa,EAAE;QACzC,QAAQ,EAAE,KAAK;KAChB,CAAC;;0DACqO;AAKvO;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;;0DACgB;AAKlB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;;yDACe;AAKjB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,KAAK;KAChB,CAAC;;4DACkB;AAKpB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CA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
  nullable: true
53
53
  }),
54
54
  __metadata("design:type", Object)
55
- ], TradeAvgAggregate.prototype, "qty", void 0);
55
+ ], TradeAvgAggregate.prototype, "confidence", void 0);
56
56
  __decorate([
57
57
  TypeGraphQL.Field(_type => TypeGraphQL.Float, {
58
58
  nullable: true
59
59
  }),
60
60
  __metadata("design:type", Object)
61
- ], TradeAvgAggregate.prototype, "price", void 0);
61
+ ], TradeAvgAggregate.prototype, "entryPrice", void 0);
62
62
  __decorate([
63
63
  TypeGraphQL.Field(_type => TypeGraphQL.Float, {
64
64
  nullable: true
65
65
  }),
66
66
  __metadata("design:type", Object)
67
- ], TradeAvgAggregate.prototype, "total", void 0);
67
+ ], TradeAvgAggregate.prototype, "exitPrice", void 0);
68
68
  __decorate([
69
69
  TypeGraphQL.Field(_type => TypeGraphQL.Float, {
70
70
  nullable: true
71
71
  }),
72
72
  __metadata("design:type", Object)
73
- ], TradeAvgAggregate.prototype, "confidence", void 0);
73
+ ], TradeAvgAggregate.prototype, "entryQty", void 0);
74
+ __decorate([
75
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
76
+ nullable: true
77
+ }),
78
+ __metadata("design:type", Object)
79
+ ], TradeAvgAggregate.prototype, "exitQty", void 0);
80
+ __decorate([
81
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
82
+ nullable: true
83
+ }),
84
+ __metadata("design:type", Object)
85
+ ], TradeAvgAggregate.prototype, "entryValue", void 0);
86
+ __decorate([
87
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
88
+ nullable: true
89
+ }),
90
+ __metadata("design:type", Object)
91
+ ], TradeAvgAggregate.prototype, "exitValue", void 0);
92
+ __decorate([
93
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
94
+ nullable: true
95
+ }),
96
+ __metadata("design:type", Object)
97
+ ], TradeAvgAggregate.prototype, "pnlAmount", void 0);
98
+ __decorate([
99
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
100
+ nullable: true
101
+ }),
102
+ __metadata("design:type", Object)
103
+ ], TradeAvgAggregate.prototype, "pnlPercent", void 0);
104
+ __decorate([
105
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
106
+ nullable: true
107
+ }),
108
+ __metadata("design:type", Object)
109
+ ], TradeAvgAggregate.prototype, "durationMinutes", void 0);
74
110
  exports.TradeAvgAggregate = TradeAvgAggregate = __decorate([
75
111
  TypeGraphQL.ObjectType("TradeAvgAggregate", {})
76
112
  ], TradeAvgAggregate);
@@ -1,7 +1,13 @@
1
1
  export declare class TradeAvgAggregate {
2
- qty: number | null;
3
- price: number | null;
4
- total: number | null;
5
2
  confidence: number | null;
3
+ entryPrice: number | null;
4
+ exitPrice: number | null;
5
+ entryQty: number | null;
6
+ exitQty: number | null;
7
+ entryValue: number | null;
8
+ exitValue: number | null;
9
+ pnlAmount: number | null;
10
+ pnlPercent: number | null;
11
+ durationMinutes: number | null;
6
12
  }
7
13
  //# sourceMappingURL=TradeAvgAggregate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TradeAvgAggregate.d.ts","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.ts"],"names":[],"mappings":"AAKA,qBACa,iBAAiB;IAI5B,GAAG,EAAG,MAAM,GAAG,IAAI,CAAC;IAKpB,KAAK,EAAG,MAAM,GAAG,IAAI,CAAC;IAKtB,KAAK,EAAG,MAAM,GAAG,IAAI,CAAC;IAKtB,UAAU,EAAG,MAAM,GAAG,IAAI,CAAC;CAC5B"}
1
+ {"version":3,"file":"TradeAvgAggregate.d.ts","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.ts"],"names":[],"mappings":"AAKA,qBACa,iBAAiB;IAI5B,UAAU,EAAG,MAAM,GAAG,IAAI,CAAC;IAK3B,UAAU,EAAG,MAAM,GAAG,IAAI,CAAC;IAK3B,SAAS,EAAG,MAAM,GAAG,IAAI,CAAC;IAK1B,QAAQ,EAAG,MAAM,GAAG,IAAI,CAAC;IAKzB,OAAO,EAAG,MAAM,GAAG,IAAI,CAAC;IAKxB,UAAU,EAAG,MAAM,GAAG,IAAI,CAAC;IAK3B,SAAS,EAAG,MAAM,GAAG,IAAI,CAAC;IAK1B,SAAS,EAAG,MAAM,GAAG,IAAI,CAAC;IAK1B,UAAU,EAAG,MAAM,GAAG,IAAI,CAAC;IAK3B,eAAe,EAAG,MAAM,GAAG,IAAI,CAAC;CACjC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TradeAvgAggregate.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/resolvers/outputs/TradeAvgAggregate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAMrC,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAoB7B,CAAA;AApBY,8CAAiB;AAI5B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;8CACkB;AAKpB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;gDACoB;AAKtB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;gDACoB;AAKtB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;qDACyB;4BAnBhB,iBAAiB;IAD7B,WAAW,CAAC,UAAU,CAAC,mBAAmB,EAAE,EAAE,CAAC;GACnC,iBAAiB,CAoB7B"}
1
+ {"version":3,"file":"TradeAvgAggregate.js","sourceRoot":"","sources":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IAAI;KACf,CAAC;;oDACwB;AAK1B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;qDACyB;AAK3B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;0DAC8B;4BAjDrB,iBAAiB;IAD7B,WAAW,CAAC,UAAU,CAAC,mBAAmB,EAAE,EAAE,CAAC;GACnC,iBAAiB,CAkD7B"}
@@ -64,79 +64,145 @@ __decorate([
64
64
  nullable: false
65
65
  }),
66
66
  __metadata("design:type", Number)
67
- ], TradeCountAggregate.prototype, "qty", void 0);
67
+ ], TradeCountAggregate.prototype, "signal", void 0);
68
68
  __decorate([
69
69
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
70
70
  nullable: false
71
71
  }),
72
72
  __metadata("design:type", Number)
73
- ], TradeCountAggregate.prototype, "price", void 0);
73
+ ], TradeCountAggregate.prototype, "strategy", void 0);
74
74
  __decorate([
75
75
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
76
76
  nullable: false
77
77
  }),
78
78
  __metadata("design:type", Number)
79
- ], TradeCountAggregate.prototype, "total", void 0);
79
+ ], TradeCountAggregate.prototype, "analysis", void 0);
80
80
  __decorate([
81
81
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
82
82
  nullable: false
83
83
  }),
84
84
  __metadata("design:type", Number)
85
- ], TradeCountAggregate.prototype, "signal", void 0);
85
+ ], TradeCountAggregate.prototype, "summary", void 0);
86
86
  __decorate([
87
87
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
88
88
  nullable: false
89
89
  }),
90
90
  __metadata("design:type", Number)
91
- ], TradeCountAggregate.prototype, "strategy", void 0);
91
+ ], TradeCountAggregate.prototype, "confidence", void 0);
92
92
  __decorate([
93
93
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
94
94
  nullable: false
95
95
  }),
96
96
  __metadata("design:type", Number)
97
- ], TradeCountAggregate.prototype, "analysis", void 0);
97
+ ], TradeCountAggregate.prototype, "timestamp", void 0);
98
98
  __decorate([
99
99
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
100
100
  nullable: false
101
101
  }),
102
102
  __metadata("design:type", Number)
103
- ], TradeCountAggregate.prototype, "summary", void 0);
103
+ ], TradeCountAggregate.prototype, "createdAt", void 0);
104
104
  __decorate([
105
105
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
106
106
  nullable: false
107
107
  }),
108
108
  __metadata("design:type", Number)
109
- ], TradeCountAggregate.prototype, "confidence", void 0);
109
+ ], TradeCountAggregate.prototype, "updatedAt", void 0);
110
110
  __decorate([
111
111
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
112
112
  nullable: false
113
113
  }),
114
114
  __metadata("design:type", Number)
115
- ], TradeCountAggregate.prototype, "timestamp", void 0);
115
+ ], TradeCountAggregate.prototype, "status", void 0);
116
116
  __decorate([
117
117
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
118
118
  nullable: false
119
119
  }),
120
120
  __metadata("design:type", Number)
121
- ], TradeCountAggregate.prototype, "createdAt", void 0);
121
+ ], TradeCountAggregate.prototype, "symbol", void 0);
122
122
  __decorate([
123
123
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
124
124
  nullable: false
125
125
  }),
126
126
  __metadata("design:type", Number)
127
- ], TradeCountAggregate.prototype, "updatedAt", void 0);
127
+ ], TradeCountAggregate.prototype, "entryPrice", void 0);
128
128
  __decorate([
129
129
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
130
130
  nullable: false
131
131
  }),
132
132
  __metadata("design:type", Number)
133
- ], TradeCountAggregate.prototype, "status", void 0);
133
+ ], TradeCountAggregate.prototype, "exitPrice", void 0);
134
134
  __decorate([
135
135
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
136
136
  nullable: false
137
137
  }),
138
138
  __metadata("design:type", Number)
139
- ], TradeCountAggregate.prototype, "symbol", void 0);
139
+ ], TradeCountAggregate.prototype, "entryQty", void 0);
140
+ __decorate([
141
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
142
+ nullable: false
143
+ }),
144
+ __metadata("design:type", Number)
145
+ ], TradeCountAggregate.prototype, "exitQty", void 0);
146
+ __decorate([
147
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
148
+ nullable: false
149
+ }),
150
+ __metadata("design:type", Number)
151
+ ], TradeCountAggregate.prototype, "entryValue", void 0);
152
+ __decorate([
153
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
154
+ nullable: false
155
+ }),
156
+ __metadata("design:type", Number)
157
+ ], TradeCountAggregate.prototype, "exitValue", void 0);
158
+ __decorate([
159
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
160
+ nullable: false
161
+ }),
162
+ __metadata("design:type", Number)
163
+ ], TradeCountAggregate.prototype, "entryTime", void 0);
164
+ __decorate([
165
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
166
+ nullable: false
167
+ }),
168
+ __metadata("design:type", Number)
169
+ ], TradeCountAggregate.prototype, "exitTime", void 0);
170
+ __decorate([
171
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
172
+ nullable: false
173
+ }),
174
+ __metadata("design:type", Number)
175
+ ], TradeCountAggregate.prototype, "pnlAmount", void 0);
176
+ __decorate([
177
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
178
+ nullable: false
179
+ }),
180
+ __metadata("design:type", Number)
181
+ ], TradeCountAggregate.prototype, "pnlPercent", void 0);
182
+ __decorate([
183
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
184
+ nullable: false
185
+ }),
186
+ __metadata("design:type", Number)
187
+ ], TradeCountAggregate.prototype, "durationMinutes", void 0);
188
+ __decorate([
189
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
190
+ nullable: false
191
+ }),
192
+ __metadata("design:type", Number)
193
+ ], TradeCountAggregate.prototype, "marketPhase", void 0);
194
+ __decorate([
195
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
196
+ nullable: false
197
+ }),
198
+ __metadata("design:type", Number)
199
+ ], TradeCountAggregate.prototype, "marketVolatility", void 0);
200
+ __decorate([
201
+ TypeGraphQL.Field(_type => TypeGraphQL.Int, {
202
+ nullable: false
203
+ }),
204
+ __metadata("design:type", Number)
205
+ ], TradeCountAggregate.prototype, "thresholdsJson", void 0);
140
206
  __decorate([
141
207
  TypeGraphQL.Field(_type => TypeGraphQL.Int, {
142
208
  nullable: false
@@ -1,9 +1,6 @@
1
1
  export declare class TradeCountAggregate {
2
2
  id: number;
3
3
  alpacaAccountId: number;
4
- qty: number;
5
- price: number;
6
- total: number;
7
4
  signal: number;
8
5
  strategy: number;
9
6
  analysis: number;
@@ -14,6 +11,20 @@ export declare class TradeCountAggregate {
14
11
  updatedAt: number;
15
12
  status: number;
16
13
  symbol: number;
14
+ entryPrice: number;
15
+ exitPrice: number;
16
+ entryQty: number;
17
+ exitQty: number;
18
+ entryValue: number;
19
+ exitValue: number;
20
+ entryTime: number;
21
+ exitTime: number;
22
+ pnlAmount: number;
23
+ pnlPercent: number;
24
+ durationMinutes: number;
25
+ marketPhase: number;
26
+ marketVolatility: number;
27
+ thresholdsJson: number;
17
28
  _all: number;
18
29
  }
19
30
  //# sourceMappingURL=TradeCountAggregate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TradeCountAggregate.d.ts","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.ts"],"names":[],"mappings":"AAKA,qBACa,mBAAmB;IAI9B,EAAE,EAAG,MAAM,CAAC;IAKZ,eAAe,EAAG,MAAM,CAAC;IAKzB,GAAG,EAAG,MAAM,CAAC;IAKb,KAAK,EAAG,MAAM,CAAC;IAKf,KAAK,EAAG,MAAM,CAAC;IAKf,MAAM,EAAG,MAAM,CAAC;IAKhB,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M,CAAC;IAK1B,cAAc,EAAG,MAAM,CAAC;IAKxB,IAAI,EAAG,MAAM,CAAC;CACf"}
@@ -1 +1 @@
1
- {"version":3,"file":"TradeCountAggregate.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAMrC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAgF/B,CAAA;AAhFY,kDAAmB;AAI9B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;+CACU;AAKZ;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;4DACuB;AAKzB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;gDACW;AAKb;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;kDACa;AAKf;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;kDACa;AAKf;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;mDACc;AAKhB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAA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IAD/B,WAAW,CAAC,UAAU,CAAC,qBAAqB,EAAE,EAAE,CAAC;GACrC,mBAAmB,CAgF/B"}
1
+ {"version":3,"file":"TradeCountAggregate.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/resolvers/outputs/TradeCountAggregate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAMrC,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;CAuI/B,CAAA;AAvIY,kDAAmB;AAI9B;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;+CACU;AAKZ;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;4DACuB;AAKzB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;mDACc;AAKhB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;qDACgB;AAKlB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;qDACgB;AAKlB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;oDACe;AAKjB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,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C,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;2DACsB;AAKxB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE;QAC3C,QAAQ,EAAE,KAAK;KAChB,CAAC;;iDACY;8BAtIH,mBAAmB;IAD/B,WAAW,CAAC,UAAU,CAAC,qBAAqB,EAAE,EAAE,CAAC;GACrC,mBAAmB,CAuI/B"}
@@ -67,24 +67,6 @@ __decorate([
67
67
  }),
68
68
  __metadata("design:type", String)
69
69
  ], TradeGroupBy.prototype, "alpacaAccountId", void 0);
70
- __decorate([
71
- TypeGraphQL.Field(_type => TypeGraphQL.Float, {
72
- nullable: false
73
- }),
74
- __metadata("design:type", Number)
75
- ], TradeGroupBy.prototype, "qty", void 0);
76
- __decorate([
77
- TypeGraphQL.Field(_type => TypeGraphQL.Float, {
78
- nullable: false
79
- }),
80
- __metadata("design:type", Number)
81
- ], TradeGroupBy.prototype, "price", void 0);
82
- __decorate([
83
- TypeGraphQL.Field(_type => TypeGraphQL.Float, {
84
- nullable: false
85
- }),
86
- __metadata("design:type", Number)
87
- ], TradeGroupBy.prototype, "total", void 0);
88
70
  __decorate([
89
71
  TypeGraphQL.Field(_type => TradeSignal_1.TradeSignal, {
90
72
  nullable: false
@@ -145,6 +127,90 @@ __decorate([
145
127
  }),
146
128
  __metadata("design:type", String)
147
129
  ], TradeGroupBy.prototype, "symbol", void 0);
130
+ __decorate([
131
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
132
+ nullable: true
133
+ }),
134
+ __metadata("design:type", Object)
135
+ ], TradeGroupBy.prototype, "entryPrice", void 0);
136
+ __decorate([
137
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
138
+ nullable: true
139
+ }),
140
+ __metadata("design:type", Object)
141
+ ], TradeGroupBy.prototype, "exitPrice", void 0);
142
+ __decorate([
143
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
144
+ nullable: true
145
+ }),
146
+ __metadata("design:type", Object)
147
+ ], TradeGroupBy.prototype, "entryQty", void 0);
148
+ __decorate([
149
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
150
+ nullable: true
151
+ }),
152
+ __metadata("design:type", Object)
153
+ ], TradeGroupBy.prototype, "exitQty", void 0);
154
+ __decorate([
155
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
156
+ nullable: true
157
+ }),
158
+ __metadata("design:type", Object)
159
+ ], TradeGroupBy.prototype, "entryValue", void 0);
160
+ __decorate([
161
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
162
+ nullable: true
163
+ }),
164
+ __metadata("design:type", Object)
165
+ ], TradeGroupBy.prototype, "exitValue", void 0);
166
+ __decorate([
167
+ TypeGraphQL.Field(_type => Date, {
168
+ nullable: true
169
+ }),
170
+ __metadata("design:type", Object)
171
+ ], TradeGroupBy.prototype, "entryTime", void 0);
172
+ __decorate([
173
+ TypeGraphQL.Field(_type => Date, {
174
+ nullable: true
175
+ }),
176
+ __metadata("design:type", Object)
177
+ ], TradeGroupBy.prototype, "exitTime", void 0);
178
+ __decorate([
179
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
180
+ nullable: true
181
+ }),
182
+ __metadata("design:type", Object)
183
+ ], TradeGroupBy.prototype, "pnlAmount", void 0);
184
+ __decorate([
185
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
186
+ nullable: true
187
+ }),
188
+ __metadata("design:type", Object)
189
+ ], TradeGroupBy.prototype, "pnlPercent", void 0);
190
+ __decorate([
191
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
192
+ nullable: true
193
+ }),
194
+ __metadata("design:type", Object)
195
+ ], TradeGroupBy.prototype, "durationMinutes", void 0);
196
+ __decorate([
197
+ TypeGraphQL.Field(_type => String, {
198
+ nullable: true
199
+ }),
200
+ __metadata("design:type", Object)
201
+ ], TradeGroupBy.prototype, "marketPhase", void 0);
202
+ __decorate([
203
+ TypeGraphQL.Field(_type => String, {
204
+ nullable: true
205
+ }),
206
+ __metadata("design:type", Object)
207
+ ], TradeGroupBy.prototype, "marketVolatility", void 0);
208
+ __decorate([
209
+ TypeGraphQL.Field(_type => String, {
210
+ nullable: true
211
+ }),
212
+ __metadata("design:type", Object)
213
+ ], TradeGroupBy.prototype, "thresholdsJson", void 0);
148
214
  __decorate([
149
215
  TypeGraphQL.Field(_type => TradeCountAggregate_1.TradeCountAggregate, {
150
216
  nullable: true
@@ -6,9 +6,6 @@ import { TradeSumAggregate } from "../outputs/TradeSumAggregate";
6
6
  export declare class TradeGroupBy {
7
7
  id: string;
8
8
  alpacaAccountId: string;
9
- qty: number;
10
- price: number;
11
- total: number;
12
9
  signal: "GOLDEN_CROSS" | "DEATH_CROSS" | "MOVING_AVERAGE_CROSSOVER" | "RSI_OVERBOUGHT" | "RSI_OVERSOLD" | "MACD_CROSSOVER" | "BOLLINGER_BANDS_BREAKOUT" | "TREND_REVERSAL" | "PRICE_ACTION" | "IMPLIED_VOLATILITY_SURGE" | "BREAKOUT_ABOVE_RESISTANCE" | "BREAKDOWN_BELOW_SUPPORT" | "SUPPORT_LEVEL_HOLD" | "RESISTANCE_LEVEL_HOLD" | "FIBONACCI_RETRACEMENT" | "STOCHASTIC_OVERSOLD" | "STOCHASTIC_OVERBOUGHT" | "PIVOT_POINT" | "VOLUME_SURGE" | "MEAN_REVERSION_LEVEL" | "NEWS_SENTIMENT_CHANGE" | "SENTIMENT_ANALYSIS_TRIGGER" | "GAP_AND_GO_LONG" | "GAP_AND_GO_SHORT" | "GAP_FADE_LONG" | "GAP_FADE_SHORT" | "ORB_BREAKOUT" | "ORB_BREAKDOWN" | "VWAP_BOUNCE" | "VWAP_REJECTION" | "NO_EARLY_SIGNAL" | "NO_SIGNAL";
13
10
  strategy: "TECHNICAL_ANALYSIS" | "TREND_FOLLOWING" | "MEAN_REVERSION" | "MOMENTUM_STRATEGY" | "NEWS_BASED_STRATEGY" | "SCALPING" | "VOLATILITY_TRADING" | "EVENT_DRIVEN" | "BREAKOUT_STRATEGY" | "ORDER_FLOW_TRADING" | "NO_STRATEGY";
14
11
  analysis: string;
@@ -19,6 +16,20 @@ export declare class TradeGroupBy {
19
16
  updatedAt: Date;
20
17
  status: "PENDING" | "OPEN" | "PARTIAL" | "COMPLETED" | "CANCELED";
21
18
  symbol: string;
19
+ entryPrice: number | null;
20
+ exitPrice: number | null;
21
+ entryQty: number | null;
22
+ exitQty: number | null;
23
+ entryValue: number | null;
24
+ exitValue: number | null;
25
+ entryTime: Date | null;
26
+ exitTime: Date | null;
27
+ pnlAmount: number | null;
28
+ pnlPercent: number | null;
29
+ durationMinutes: number | null;
30
+ marketPhase: string | null;
31
+ marketVolatility: string | null;
32
+ thresholdsJson: string | null;
22
33
  _count: TradeCountAggregate | null;
23
34
  _avg: TradeAvgAggregate | null;
24
35
  _sum: TradeSumAggregate | null;
@@ -1 +1 @@
1
- {"version":3,"file":"TradeGroupBy.d.ts","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/resolvers/outputs/TradeGroupBy.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAKjE,qBACa,YAAY;IAIvB,EAAE,EAAG,MAAM,CAAC;IAKZ,eAAe,EAAG,MAAM,CAAC;IAKzB,GAAG,EAAG,MAAM,CAAC;IAKb,KAAK,EAAG,MAAM,CAAC;IAKf,KAAK,EAAG,MAAM,CAAC;IAKf,MAAM,EAAG,cAAc,GAAG,aAAa,GAAG,0BAA0B,GAAG,gBAAgB,GAAG,cAAc,GAAG,gBAAgB,GAAG,0BAA0B,GAAG,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,YAAY;IADxB,WAAW,CAAC,UAAU,CAAC,cAAc,EAAE,EAAE,CAAC;GAC9B,YAAY,CAoGxB"}
1
+ {"version":3,"file":"TradeGroupBy.js","sourceRoot":"","sources":["../../../../../src/generated/typegraphql-prisma/resolvers/outputs/TradeGroupBy.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0DAA4C;AAI5C,oEAAiE;AACjE,wEAAqE;AACrE,oEAAiE;AACjE,oEAAiE;AACjE,oEAAiE;AACjE,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAGnD,IAAM,YAAY,GAAlB,MAAM,YAAY;CA2JxB,CAAA;AA3JY,oCAAY;AAIvB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;;wCACU;AAKZ;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;;qDACuB;AAKzB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,yBAAW,EAAE;QACvC,QAAQ,EAAE,KAAK;KAChB,CAAC;;4CACwrB;AAK1rB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,6BAAa,EAAE;QACzC,QAAQ,EAAE,KAAK;KAChB,CAAC;;8CACqO;AAKvO;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;;8CACgB;AAKlB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE;QAClC,QAAQ,EAAE,KAAK;KAChB,CAAC;;6CACe;AAKjB;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,WAAW,C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HC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,yCAAmB,EAAE;QAC/C,QAAQ,EAAE,IAAI;KACf,CAAC;;4CACkC;AAKpC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,qCAAiB,EAAE;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;0CAC8B;AAKhC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,qCAAiB,EAAE;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;0CAC8B;AAKhC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,qCAAiB,EAAE;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;0CAC8B;AAKhC;IAHC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,qCAAiB,EAAE;QAC7C,QAAQ,EAAE,IAAI;KACf,CAAC;;0CAC8B;uBA1JrB,YAAY;IADxB,WAAW,CAAC,UAAU,CAAC,cAAc,EAAE,EAAE,CAAC;GAC9B,YAAY,CA2JxB"}
@@ -62,24 +62,6 @@ __decorate([
62
62
  }),
63
63
  __metadata("design:type", Object)
64
64
  ], TradeMaxAggregate.prototype, "alpacaAccountId", void 0);
65
- __decorate([
66
- TypeGraphQL.Field(_type => TypeGraphQL.Float, {
67
- nullable: true
68
- }),
69
- __metadata("design:type", Object)
70
- ], TradeMaxAggregate.prototype, "qty", void 0);
71
- __decorate([
72
- TypeGraphQL.Field(_type => TypeGraphQL.Float, {
73
- nullable: true
74
- }),
75
- __metadata("design:type", Object)
76
- ], TradeMaxAggregate.prototype, "price", void 0);
77
- __decorate([
78
- TypeGraphQL.Field(_type => TypeGraphQL.Float, {
79
- nullable: true
80
- }),
81
- __metadata("design:type", Object)
82
- ], TradeMaxAggregate.prototype, "total", void 0);
83
65
  __decorate([
84
66
  TypeGraphQL.Field(_type => TradeSignal_1.TradeSignal, {
85
67
  nullable: true
@@ -140,6 +122,90 @@ __decorate([
140
122
  }),
141
123
  __metadata("design:type", Object)
142
124
  ], TradeMaxAggregate.prototype, "symbol", void 0);
125
+ __decorate([
126
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
127
+ nullable: true
128
+ }),
129
+ __metadata("design:type", Object)
130
+ ], TradeMaxAggregate.prototype, "entryPrice", void 0);
131
+ __decorate([
132
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
133
+ nullable: true
134
+ }),
135
+ __metadata("design:type", Object)
136
+ ], TradeMaxAggregate.prototype, "exitPrice", void 0);
137
+ __decorate([
138
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
139
+ nullable: true
140
+ }),
141
+ __metadata("design:type", Object)
142
+ ], TradeMaxAggregate.prototype, "entryQty", void 0);
143
+ __decorate([
144
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
145
+ nullable: true
146
+ }),
147
+ __metadata("design:type", Object)
148
+ ], TradeMaxAggregate.prototype, "exitQty", void 0);
149
+ __decorate([
150
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
151
+ nullable: true
152
+ }),
153
+ __metadata("design:type", Object)
154
+ ], TradeMaxAggregate.prototype, "entryValue", void 0);
155
+ __decorate([
156
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
157
+ nullable: true
158
+ }),
159
+ __metadata("design:type", Object)
160
+ ], TradeMaxAggregate.prototype, "exitValue", void 0);
161
+ __decorate([
162
+ TypeGraphQL.Field(_type => Date, {
163
+ nullable: true
164
+ }),
165
+ __metadata("design:type", Object)
166
+ ], TradeMaxAggregate.prototype, "entryTime", void 0);
167
+ __decorate([
168
+ TypeGraphQL.Field(_type => Date, {
169
+ nullable: true
170
+ }),
171
+ __metadata("design:type", Object)
172
+ ], TradeMaxAggregate.prototype, "exitTime", void 0);
173
+ __decorate([
174
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
175
+ nullable: true
176
+ }),
177
+ __metadata("design:type", Object)
178
+ ], TradeMaxAggregate.prototype, "pnlAmount", void 0);
179
+ __decorate([
180
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
181
+ nullable: true
182
+ }),
183
+ __metadata("design:type", Object)
184
+ ], TradeMaxAggregate.prototype, "pnlPercent", void 0);
185
+ __decorate([
186
+ TypeGraphQL.Field(_type => TypeGraphQL.Float, {
187
+ nullable: true
188
+ }),
189
+ __metadata("design:type", Object)
190
+ ], TradeMaxAggregate.prototype, "durationMinutes", void 0);
191
+ __decorate([
192
+ TypeGraphQL.Field(_type => String, {
193
+ nullable: true
194
+ }),
195
+ __metadata("design:type", Object)
196
+ ], TradeMaxAggregate.prototype, "marketPhase", void 0);
197
+ __decorate([
198
+ TypeGraphQL.Field(_type => String, {
199
+ nullable: true
200
+ }),
201
+ __metadata("design:type", Object)
202
+ ], TradeMaxAggregate.prototype, "marketVolatility", void 0);
203
+ __decorate([
204
+ TypeGraphQL.Field(_type => String, {
205
+ nullable: true
206
+ }),
207
+ __metadata("design:type", Object)
208
+ ], TradeMaxAggregate.prototype, "thresholdsJson", void 0);
143
209
  exports.TradeMaxAggregate = TradeMaxAggregate = __decorate([
144
210
  TypeGraphQL.ObjectType("TradeMaxAggregate", {})
145
211
  ], TradeMaxAggregate);
@@ -1,9 +1,6 @@
1
1
  export declare class TradeMaxAggregate {
2
2
  id: string | null;
3
3
  alpacaAccountId: string | null;
4
- qty: number | null;
5
- price: number | null;
6
- total: number | null;
7
4
  signal: "GOLDEN_CROSS" | "DEATH_CROSS" | "MOVING_AVERAGE_CROSSOVER" | "RSI_OVERBOUGHT" | "RSI_OVERSOLD" | "MACD_CROSSOVER" | "BOLLINGER_BANDS_BREAKOUT" | "TREND_REVERSAL" | "PRICE_ACTION" | "IMPLIED_VOLATILITY_SURGE" | "BREAKOUT_ABOVE_RESISTANCE" | "BREAKDOWN_BELOW_SUPPORT" | "SUPPORT_LEVEL_HOLD" | "RESISTANCE_LEVEL_HOLD" | "FIBONACCI_RETRACEMENT" | "STOCHASTIC_OVERSOLD" | "STOCHASTIC_OVERBOUGHT" | "PIVOT_POINT" | "VOLUME_SURGE" | "MEAN_REVERSION_LEVEL" | "NEWS_SENTIMENT_CHANGE" | "SENTIMENT_ANALYSIS_TRIGGER" | "GAP_AND_GO_LONG" | "GAP_AND_GO_SHORT" | "GAP_FADE_LONG" | "GAP_FADE_SHORT" | "ORB_BREAKOUT" | "ORB_BREAKDOWN" | "VWAP_BOUNCE" | "VWAP_REJECTION" | "NO_EARLY_SIGNAL" | "NO_SIGNAL" | null;
8
5
  strategy: "TECHNICAL_ANALYSIS" | "TREND_FOLLOWING" | "MEAN_REVERSION" | "MOMENTUM_STRATEGY" | "NEWS_BASED_STRATEGY" | "SCALPING" | "VOLATILITY_TRADING" | "EVENT_DRIVEN" | "BREAKOUT_STRATEGY" | "ORDER_FLOW_TRADING" | "NO_STRATEGY" | null;
9
6
  analysis: string | null;
@@ -14,5 +11,19 @@ export declare class TradeMaxAggregate {
14
11
  updatedAt: Date | null;
15
12
  status: "PENDING" | "OPEN" | "PARTIAL" | "COMPLETED" | "CANCELED" | null;
16
13
  symbol: string | null;
14
+ entryPrice: number | null;
15
+ exitPrice: number | null;
16
+ entryQty: number | null;
17
+ exitQty: number | null;
18
+ entryValue: number | null;
19
+ exitValue: number | null;
20
+ entryTime: Date | null;
21
+ exitTime: Date | null;
22
+ pnlAmount: number | null;
23
+ pnlPercent: number | null;
24
+ durationMinutes: number | null;
25
+ marketPhase: string | null;
26
+ marketVolatility: string | null;
27
+ thresholdsJson: string | null;
17
28
  }
18
29
  //# sourceMappingURL=TradeMaxAggregate.d.ts.map