@cryptorobot.ai/client 1.26.0-dev.999 → 1.27.0

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 (301) hide show
  1. package/lib/src/client.d.ts +0 -8
  2. package/lib/src/client.js +0 -10
  3. package/lib/src/services/advisor/advisor.class.d.ts +2 -2
  4. package/lib/src/services/advisor/advisor.schema.d.ts +1 -1
  5. package/lib/src/services/advisor/advisor.shared.js +0 -1
  6. package/lib/src/services/advisor/messages/messages.class.d.ts +2 -2
  7. package/lib/src/services/advisor/messages/messages.schema.d.ts +144 -144
  8. package/lib/src/services/advisor/messages/messages.shared.js +0 -1
  9. package/lib/src/services/affiliates/affiliates.class.d.ts +2 -5
  10. package/lib/src/services/affiliates/affiliates.shared.js +0 -1
  11. package/lib/src/services/affiliates/clicks/clicks.class.d.ts +2 -2
  12. package/lib/src/services/affiliates/clicks/clicks.shared.js +0 -1
  13. package/lib/src/services/affiliates/comissions/comissions.class.d.ts +2 -2
  14. package/lib/src/services/affiliates/comissions/comissions.shared.js +0 -1
  15. package/lib/src/services/affiliates/contracts/contracts.class.d.ts +2 -2
  16. package/lib/src/services/affiliates/contracts/contracts.shared.js +0 -1
  17. package/lib/src/services/affiliates/coupons/coupons.class.d.ts +2 -2
  18. package/lib/src/services/affiliates/coupons/coupons.shared.js +0 -1
  19. package/lib/src/services/affiliates/links/links.class.d.ts +2 -2
  20. package/lib/src/services/affiliates/links/links.shared.js +7 -2
  21. package/lib/src/services/affiliates/payouts/payouts.class.d.ts +2 -2
  22. package/lib/src/services/affiliates/payouts/payouts.shared.js +0 -1
  23. package/lib/src/services/agents/agents.class.d.ts +2 -2
  24. package/lib/src/services/agents/agents.schema.d.ts +1 -1
  25. package/lib/src/services/agents/agents.shared.js +0 -1
  26. package/lib/src/services/agents/delete-agent-triggers.hooks.d.ts +0 -3
  27. package/lib/src/services/agents/prepare/prepare.shared.js +0 -1
  28. package/lib/src/services/agents/sessions/conversations/conversations.class.d.ts +2 -2
  29. package/lib/src/services/agents/sessions/conversations/conversations.schema.d.ts +85 -3
  30. package/lib/src/services/agents/sessions/conversations/conversations.shared.js +0 -1
  31. package/lib/src/services/agents/sessions/sessions.class.d.ts +2 -2
  32. package/lib/src/services/agents/sessions/sessions.schema.d.ts +143 -143
  33. package/lib/src/services/agents/sessions/sessions.shared.js +0 -1
  34. package/lib/src/services/agents/update-trigger-rules-with-agent-info.hooks.d.ts +0 -3
  35. package/lib/src/services/auth-management/auth-management.shared.js +0 -2
  36. package/lib/src/services/autotune/apply-params.d.ts +0 -39
  37. package/lib/src/services/autotune/optuna-bridge.d.ts +0 -3
  38. package/lib/src/services/autotune/score.d.ts +0 -25
  39. package/lib/src/services/autotune/storage.d.ts +0 -2
  40. package/lib/src/services/autotune/studies/studies.class.d.ts +2 -2
  41. package/lib/src/services/autotune/studies/studies.shared.js +0 -1
  42. package/lib/src/services/autotune/trials/trials.class.d.ts +2 -2
  43. package/lib/src/services/autotune/trials/trials.shared.js +0 -1
  44. package/lib/src/services/autotune/usage/usage.class.d.ts +2 -2
  45. package/lib/src/services/autotune/usage/usage.schema.d.ts +3 -3
  46. package/lib/src/services/autotune/usage/usage.shared.js +0 -1
  47. package/lib/src/services/blog/actions/actions.shared.js +0 -1
  48. package/lib/src/services/blog/calendar/calendar.shared.js +0 -1
  49. package/lib/src/services/blog/integrations/integrations.shared.js +0 -1
  50. package/lib/src/services/blog/posts/posts.shared.js +0 -1
  51. package/lib/src/services/blog/queries/queries.shared.js +0 -1
  52. package/lib/src/services/blog/sitemaps/pages/pages.shared.js +0 -1
  53. package/lib/src/services/blog/sitemaps/sitemaps.shared.js +0 -1
  54. package/lib/src/services/blog/suggestions/suggestions.shared.js +0 -1
  55. package/lib/src/services/changelog/changelog.class.d.ts +0 -3
  56. package/lib/src/services/changelog/changelog.helper.d.ts +0 -27
  57. package/lib/src/services/changelog/changelog.shared.js +0 -1
  58. package/lib/src/services/changelog/hooks/parse-from-file.d.ts +0 -4
  59. package/lib/src/services/config/config.class.d.ts +2 -2
  60. package/lib/src/services/config/config.shared.js +0 -1
  61. package/lib/src/services/copilot/concerns/concerns.class.d.ts +2 -2
  62. package/lib/src/services/copilot/concerns/concerns.schema.d.ts +8 -8
  63. package/lib/src/services/copilot/concerns/concerns.shared.js +7 -2
  64. package/lib/src/services/copilot/decisions/decisions.class.d.ts +2 -2
  65. package/lib/src/services/copilot/decisions/decisions.shared.js +0 -1
  66. package/lib/src/services/copilot/help/help.shared.js +0 -1
  67. package/lib/src/services/copilot/recommendations/recommendations.class.d.ts +2 -2
  68. package/lib/src/services/copilot/recommendations/recommendations.hooks.d.ts +4 -0
  69. package/lib/src/services/copilot/recommendations/recommendations.shared.js +0 -1
  70. package/lib/src/services/currencies/currencies.class.d.ts +2 -2
  71. package/lib/src/services/currencies/currencies.shared.js +0 -1
  72. package/lib/src/services/custom/custom.shared.js +0 -1
  73. package/lib/src/services/emails/emails.class.d.ts +2 -2
  74. package/lib/src/services/emails/emails.shared.js +0 -1
  75. package/lib/src/services/events/events.class.d.ts +2 -2
  76. package/lib/src/services/events/events.shared.js +0 -1
  77. package/lib/src/services/events/triggers/triggers.class.d.ts +2 -2
  78. package/lib/src/services/events/triggers/triggers.shared.js +0 -1
  79. package/lib/src/services/events/types/types.class.d.ts +2 -2
  80. package/lib/src/services/events/types/types.shared.js +0 -1
  81. package/lib/src/services/exchanges/arb-signals/arb-signals.class.d.ts +0 -10
  82. package/lib/src/services/exchanges/arb-signals/arb-signals.shared.js +0 -1
  83. package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.class.d.ts +0 -10
  84. package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.shared.js +0 -1
  85. package/lib/src/services/exchanges/balance/balance.class.d.ts +2 -2
  86. package/lib/src/services/exchanges/balance/balance.shared.js +0 -1
  87. package/lib/src/services/exchanges/deposits/deposits.class.d.ts +2 -2
  88. package/lib/src/services/exchanges/deposits/deposits.shared.js +0 -1
  89. package/lib/src/services/exchanges/deposits/sync/sync.class.d.ts +2 -2
  90. package/lib/src/services/exchanges/deposits/sync/sync.shared.js +1 -8
  91. package/lib/src/services/exchanges/download/download.class.d.ts +2 -2
  92. package/lib/src/services/exchanges/download/download.shared.js +0 -1
  93. package/lib/src/services/exchanges/download/webhooks/webhooks.class.d.ts +2 -2
  94. package/lib/src/services/exchanges/download/webhooks/webhooks.shared.js +0 -1
  95. package/lib/src/services/exchanges/exchanges.class.d.ts +2 -2
  96. package/lib/src/services/exchanges/exchanges.shared.js +0 -1
  97. package/lib/src/services/exchanges/ledger/ledger.class.d.ts +2 -2
  98. package/lib/src/services/exchanges/ledger/ledger.shared.js +7 -2
  99. package/lib/src/services/exchanges/ledger/sync/sync.class.d.ts +2 -2
  100. package/lib/src/services/exchanges/ledger/sync/sync.shared.js +0 -1
  101. package/lib/src/services/exchanges/markets-stats/markets-stats.class.d.ts +0 -5
  102. package/lib/src/services/exchanges/markets-stats/markets-stats.shared.js +0 -1
  103. package/lib/src/services/exchanges/ohlcv/history/history.class.d.ts +2 -2
  104. package/lib/src/services/exchanges/ohlcv/history/history.shared.js +0 -1
  105. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +0 -1
  106. package/lib/src/services/exchanges/orderbook/orderbook.class.d.ts +0 -11
  107. package/lib/src/services/exchanges/orderbook/orderbook.shared.js +0 -1
  108. package/lib/src/services/exchanges/ticker/ticker.class.d.ts +2 -2
  109. package/lib/src/services/exchanges/ticker/ticker.shared.js +0 -1
  110. package/lib/src/services/exchanges/transactions/sync/sync.class.d.ts +2 -2
  111. package/lib/src/services/exchanges/transactions/sync/sync.shared.js +0 -1
  112. package/lib/src/services/exchanges/transactions/transactions.class.d.ts +2 -2
  113. package/lib/src/services/exchanges/transactions/transactions.shared.js +0 -1
  114. package/lib/src/services/extensions/extensions.class.d.ts +2 -2
  115. package/lib/src/services/extensions/extensions.shared.js +0 -1
  116. package/lib/src/services/homepage/homepage.shared.d.ts +2 -1
  117. package/lib/src/services/homepage/homepage.shared.js +0 -1
  118. package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.class.d.ts +2 -14
  119. package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.shared.js +0 -1
  120. package/lib/src/services/insights/etf-flow/etf-flow.class.d.ts +2 -2
  121. package/lib/src/services/insights/etf-flow/etf-flow.shared.js +7 -2
  122. package/lib/src/services/insights/fear-and-greed/fear-and-greed.class.d.ts +2 -2
  123. package/lib/src/services/insights/fear-and-greed/fear-and-greed.shared.js +0 -1
  124. package/lib/src/services/insights/global/global.class.d.ts +2 -2
  125. package/lib/src/services/insights/global/global.shared.js +0 -1
  126. package/lib/src/services/insights/insights.class.d.ts +2 -2
  127. package/lib/src/services/insights/insights.hooks.d.ts +0 -11
  128. package/lib/src/services/insights/insights.shared.js +0 -1
  129. package/lib/src/services/insights/news/news.class.d.ts +2 -5
  130. package/lib/src/services/insights/news/news.shared.js +0 -1
  131. package/lib/src/services/keys/KeysService.d.ts +2 -2
  132. package/lib/src/services/keys/keys.class.d.ts +2 -2
  133. package/lib/src/services/keys/keys.shared.js +0 -1
  134. package/lib/src/services/knowledges/knowledges.class.d.ts +0 -15
  135. package/lib/src/services/knowledges/knowledges.shared.js +0 -1
  136. package/lib/src/services/mailer/mailer.shared.js +0 -1
  137. package/lib/src/services/marketplaces/marketplaces.class.d.ts +2 -2
  138. package/lib/src/services/marketplaces/marketplaces.shared.js +0 -1
  139. package/lib/src/services/markets/markets.class.d.ts +2 -2
  140. package/lib/src/services/markets/markets.shared.js +0 -1
  141. package/lib/src/services/messages/messages.class.d.ts +2 -2
  142. package/lib/src/services/messages/messages.shared.js +0 -1
  143. package/lib/src/services/models/pods/events/events.class.d.ts +2 -2
  144. package/lib/src/services/models/pods/events/events.schema.d.ts +3 -3
  145. package/lib/src/services/models/pods/events/events.shared.js +0 -1
  146. package/lib/src/services/models/pods/pods.class.d.ts +2 -2
  147. package/lib/src/services/models/pods/pods.shared.js +0 -1
  148. package/lib/src/services/models/presets/presets.class.d.ts +2 -2
  149. package/lib/src/services/models/presets/presets.shared.js +0 -1
  150. package/lib/src/services/models/signals/history/history.class.d.ts +2 -2
  151. package/lib/src/services/models/signals/history/history.shared.js +0 -1
  152. package/lib/src/services/models/signals/signals-proxy-router.d.ts +0 -19
  153. package/lib/src/services/models/signals/signals.class.d.ts +2 -2
  154. package/lib/src/services/models/signals/signals.shared.js +0 -1
  155. package/lib/src/services/models/signals/subscriptions/subscriptions.class.d.ts +2 -2
  156. package/lib/src/services/models/signals/subscriptions/subscriptions.schema.d.ts +3 -3
  157. package/lib/src/services/models/signals/subscriptions/subscriptions.shared.js +0 -3
  158. package/lib/src/services/objectives/objectives.class.d.ts +2 -2
  159. package/lib/src/services/objectives/objectives.hooks.d.ts +0 -9
  160. package/lib/src/services/objectives/objectives.shared.js +0 -1
  161. package/lib/src/services/plans/plans.shared.js +0 -1
  162. package/lib/src/services/referrals/referrals.class.d.ts +2 -2
  163. package/lib/src/services/referrals/referrals.shared.js +0 -1
  164. package/lib/src/services/restricted/restricted.d.ts +0 -11
  165. package/lib/src/services/restricted/restricted.shared.js +0 -1
  166. package/lib/src/services/security/events/security-events.schema.d.ts +71 -71
  167. package/lib/src/services/security/events/security-events.shared.js +0 -1
  168. package/lib/src/services/series/balance/balance.class.d.ts +2 -2
  169. package/lib/src/services/series/balance/balance.shared.js +7 -2
  170. package/lib/src/services/series/performance/performance.class.d.ts +2 -2
  171. package/lib/src/services/series/performance/performance.shared.js +0 -1
  172. package/lib/src/services/series/performance/performance.usage.examples.d.ts +0 -6
  173. package/lib/src/services/snapshot/snapshot.class.d.ts +2 -2
  174. package/lib/src/services/snapshot/snapshot.schema.d.ts +1040 -336
  175. package/lib/src/services/snapshot/snapshot.shared.js +0 -2
  176. package/lib/src/services/store/items/items.class.d.ts +2 -2
  177. package/lib/src/services/store/items/items.shared.js +0 -1
  178. package/lib/src/services/strategies/ai/ai.class.d.ts +2 -2
  179. package/lib/src/services/strategies/ai/ai.shared.js +0 -1
  180. package/lib/src/services/strategies/ai/stream/stream.shared.js +0 -1
  181. package/lib/src/services/strategies/backtest/backtest.class.d.ts +2 -2
  182. package/lib/src/services/strategies/backtest/backtest.schema.d.ts +234 -134
  183. package/lib/src/services/strategies/backtest/backtest.shared.js +0 -1
  184. package/lib/src/services/strategies/backtest/preflight/preflight.class.d.ts +0 -23
  185. package/lib/src/services/strategies/backtest/preflight/preflight.shared.js +0 -1
  186. package/lib/src/services/strategies/backtest/results/results.class.d.ts +2 -2
  187. package/lib/src/services/strategies/backtest/results/results.shared.js +0 -1
  188. package/lib/src/services/strategies/blob/blob.shared.js +0 -1
  189. package/lib/src/services/strategies/follow/follow.class.d.ts +2 -2
  190. package/lib/src/services/strategies/follow/follow.shared.js +0 -1
  191. package/lib/src/services/strategies/generate/generate.class.d.ts +2 -2
  192. package/lib/src/services/strategies/generate/generate.schema.d.ts +80 -84
  193. package/lib/src/services/strategies/generate/generate.shared.js +0 -1
  194. package/lib/src/services/strategies/history/history.class.d.ts +2 -2
  195. package/lib/src/services/strategies/history/history.schema.d.ts +152 -152
  196. package/lib/src/services/strategies/history/history.shared.js +0 -1
  197. package/lib/src/services/strategies/hyperopt/hyperopt-generate-exchange-config.hooks.d.ts +0 -6
  198. package/lib/src/services/strategies/hyperopt/hyperopt-populate-exchange.hooks.d.ts +0 -5
  199. package/lib/src/services/strategies/hyperopt/hyperopt-promote-template.hooks.d.ts +0 -7
  200. package/lib/src/services/strategies/hyperopt/hyperopt-validate-exchange-whitelist.hooks.d.ts +0 -8
  201. package/lib/src/services/strategies/hyperopt/hyperopt-validate-historical-data.hooks.d.ts +0 -7
  202. package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-balance.hooks.d.ts +0 -5
  203. package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-currency.hooks.d.ts +0 -7
  204. package/lib/src/services/strategies/hyperopt/hyperopt-validate.hooks.d.ts +0 -5
  205. package/lib/src/services/strategies/hyperopt/hyperopt-verify-subscription-limits.hooks.d.ts +0 -4
  206. package/lib/src/services/strategies/hyperopt/hyperopt.class.d.ts +2 -2
  207. package/lib/src/services/strategies/hyperopt/hyperopt.shared.js +0 -1
  208. package/lib/src/services/strategies/indicators/indicators.class.d.ts +2 -2
  209. package/lib/src/services/strategies/indicators/indicators.shared.js +0 -1
  210. package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +2 -2
  211. package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +0 -4
  212. package/lib/src/services/strategies/indicators/talib/talib.shared.js +0 -1
  213. package/lib/src/services/strategies/research/research.class.d.ts +2 -2
  214. package/lib/src/services/strategies/research/research.schema.d.ts +72 -87
  215. package/lib/src/services/strategies/research/research.shared.js +0 -1
  216. package/lib/src/services/strategies/strategies.class.d.ts +2 -2
  217. package/lib/src/services/strategies/strategies.schema.d.ts +455 -36
  218. package/lib/src/services/strategies/strategies.shared.js +0 -1
  219. package/lib/src/services/strategies/templates/templates.class.d.ts +2 -2
  220. package/lib/src/services/strategies/templates/templates.schema.d.ts +2464 -0
  221. package/lib/src/services/strategies/templates/templates.shared.js +0 -1
  222. package/lib/src/services/stripe/charges/charges.shared.js +0 -1
  223. package/lib/src/services/stripe/customers/cards/cards.shared.js +0 -1
  224. package/lib/src/services/stripe/customers/customers.shared.js +0 -1
  225. package/lib/src/services/stripe/customers/paymentintent/paymentintent.shared.js +0 -1
  226. package/lib/src/services/stripe/customers/paymentmethods/paymentmethods.shared.js +0 -1
  227. package/lib/src/services/stripe/customers/subscriptions/subscriptions.shared.js +0 -1
  228. package/lib/src/services/stripe/products/products.shared.js +0 -1
  229. package/lib/src/services/stripe/webhooks/webhooks.shared.js +0 -1
  230. package/lib/src/services/support/support.shared.js +0 -1
  231. package/lib/src/services/tasks/comments/comments.class.d.ts +2 -2
  232. package/lib/src/services/tasks/comments/comments.shared.js +0 -1
  233. package/lib/src/services/tasks/tasks.class.d.ts +2 -2
  234. package/lib/src/services/tasks/tasks.hooks.d.ts +0 -73
  235. package/lib/src/services/tasks/tasks.shared.js +0 -1
  236. package/lib/src/services/tax/research/research.class.d.ts +2 -2
  237. package/lib/src/services/tax/research/research.shared.js +7 -2
  238. package/lib/src/services/tax/sessions/conversations/conversations.class.d.ts +2 -2
  239. package/lib/src/services/tax/sessions/conversations/conversations.shared.js +0 -1
  240. package/lib/src/services/tax/sessions/sessions.class.d.ts +2 -2
  241. package/lib/src/services/tax/sessions/sessions.schema.d.ts +72 -72
  242. package/lib/src/services/tax/sessions/sessions.shared.js +7 -2
  243. package/lib/src/services/telegram/link/link.class.d.ts +0 -8
  244. package/lib/src/services/telegram/link/link.shared.js +0 -1
  245. package/lib/src/services/telegram/telegram.class.d.ts +0 -5
  246. package/lib/src/services/telegram/telegram.shared.js +0 -1
  247. package/lib/src/services/toggles/toggles.shared.js +0 -1
  248. package/lib/src/services/tokens/tokens.class.d.ts +2 -2
  249. package/lib/src/services/tokens/tokens.schema.d.ts +72 -72
  250. package/lib/src/services/tokens/tokens.shared.js +0 -1
  251. package/lib/src/services/traders/pods/api/api.class.d.ts +2 -2
  252. package/lib/src/services/traders/pods/api/api.schema.d.ts +496 -48
  253. package/lib/src/services/traders/pods/api/api.shared.js +0 -1
  254. package/lib/src/services/traders/pods/blob/blob.shared.js +0 -1
  255. package/lib/src/services/traders/pods/events/events.class.d.ts +2 -2
  256. package/lib/src/services/traders/pods/events/events.schema.d.ts +144 -144
  257. package/lib/src/services/traders/pods/events/events.shared.js +0 -1
  258. package/lib/src/services/traders/pods/pods.class.d.ts +2 -2
  259. package/lib/src/services/traders/pods/pods.schema.d.ts +621 -117
  260. package/lib/src/services/traders/pods/pods.shared.js +0 -1
  261. package/lib/src/services/traders/pods/webhooks/webhooks.class.d.ts +2 -2
  262. package/lib/src/services/traders/pods/webhooks/webhooks.schema.d.ts +144 -144
  263. package/lib/src/services/traders/pods/webhooks/webhooks.shared.js +0 -1
  264. package/lib/src/services/traders/traders.class.d.ts +2 -2
  265. package/lib/src/services/traders/traders.shared.js +0 -1
  266. package/lib/src/services/trades/trades.class.d.ts +2 -2
  267. package/lib/src/services/trades/trades.shared.js +0 -1
  268. package/lib/src/services/users/access/access.class.d.ts +2 -2
  269. package/lib/src/services/users/access/access.schema.d.ts +70 -70
  270. package/lib/src/services/users/access/access.shared.js +7 -2
  271. package/lib/src/services/users/marketing/campaigns/12-bot-no-trades.campaign.d.ts +3 -0
  272. package/lib/src/services/users/marketing/campaigns/13-trial-ending-cold.campaign.d.ts +3 -0
  273. package/lib/src/services/users/marketing/campaigns/14-trial-ending-engaged.campaign.d.ts +3 -0
  274. package/lib/src/services/users/marketing/campaigns/15-eve-followup-14d.campaign.d.ts +3 -0
  275. package/lib/src/services/users/marketing/campaigns/16-eve-followup-30d.campaign.d.ts +3 -0
  276. package/lib/src/services/users/marketing/campaigns/trial.context.d.ts +1 -11
  277. package/lib/src/services/users/marketing/marketing.class.d.ts +2 -6
  278. package/lib/src/services/users/marketing/marketing.engine.d.ts +0 -20
  279. package/lib/src/services/users/marketing/marketing.shared.js +0 -1
  280. package/lib/src/services/users/onboarding/onboarding.class.d.ts +2 -2
  281. package/lib/src/services/users/onboarding/onboarding.hooks.d.ts +0 -38
  282. package/lib/src/services/users/onboarding/onboarding.shared.js +0 -1
  283. package/lib/src/services/users/onboarding/steps/exchanges.processor.d.ts +0 -5
  284. package/lib/src/services/users/onboarding/steps/notifications.processor.d.ts +0 -4
  285. package/lib/src/services/users/onboarding/steps/preferences.processor.d.ts +0 -4
  286. package/lib/src/services/users/onboarding/steps/strategy.processor.d.ts +0 -5
  287. package/lib/src/services/users/onboarding/steps/traders.processor.d.ts +0 -5
  288. package/lib/src/services/users/sessions/sessions.class.d.ts +0 -6
  289. package/lib/src/services/users/sessions/sessions.schema.d.ts +70 -78
  290. package/lib/src/services/users/sessions/sessions.shared.js +0 -1
  291. package/lib/src/services/users/users.class.d.ts +0 -1
  292. package/lib/src/services/users/users.schema.d.ts +0 -13
  293. package/lib/src/services/users/users.shared.d.ts +1 -3
  294. package/lib/src/services/users/users.shared.js +0 -1
  295. package/lib/src/services/version/version.shared.js +0 -1
  296. package/package.json +1 -1
  297. package/lib/src/services/advisor/advisor.hooks.d.ts +0 -9
  298. package/lib/src/services/agents/sessions/conversations/conversations.hooks.d.ts +0 -11
  299. package/lib/src/services/agents/sessions/sessions.hooks.d.ts +0 -11
  300. package/lib/src/services/tax/sessions/conversations/conversations.hooks.d.ts +0 -11
  301. package/lib/src/services/tax/sessions/sessions.hooks.d.ts +0 -11
@@ -3,7 +3,7 @@ import type { HookContext } from '../../declarations';
3
3
  import type { SnapshotService } from './snapshot.class';
4
4
  export declare const snapshotSchema: import("@feathersjs/typebox").TObject<{
5
5
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6
- userId: import("@feathersjs/typebox").TString<string>;
6
+ userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
7
7
  type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"daily">, import("@feathersjs/typebox").TLiteral<"weekly">, import("@feathersjs/typebox").TLiteral<"intraday">]>;
8
8
  timestamp: import("@feathersjs/typebox").TString<"date-time">;
9
9
  account: import("@feathersjs/typebox").TObject<{
@@ -16,9 +16,9 @@ export declare const snapshotSchema: import("@feathersjs/typebox").TObject<{
16
16
  combinedDrawdownPct: import("@feathersjs/typebox").TNumber;
17
17
  }>;
18
18
  traders: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
19
- traderId: import("@feathersjs/typebox").TString<string>;
19
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
20
20
  traderName: import("@feathersjs/typebox").TString<string>;
21
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
21
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
22
22
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
23
23
  exchange: import("@feathersjs/typebox").TString<string>;
24
24
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -85,6 +85,14 @@ export declare const snapshotSchema: import("@feathersjs/typebox").TObject<{
85
85
  relProfit: import("@feathersjs/typebox").TNumber;
86
86
  tradeCount: import("@feathersjs/typebox").TInteger;
87
87
  }>>;
88
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
89
+ pair: import("@feathersjs/typebox").TString<string>;
90
+ profitPct: import("@feathersjs/typebox").TNumber;
91
+ profitAbs: import("@feathersjs/typebox").TNumber;
92
+ openDate: import("@feathersjs/typebox").TString<string>;
93
+ closeDate: import("@feathersjs/typebox").TString<string>;
94
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
95
+ }>>>;
88
96
  }>>;
89
97
  market: import("@feathersjs/typebox").TObject<{
90
98
  regime: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"bull">, import("@feathersjs/typebox").TLiteral<"bear">, import("@feathersjs/typebox").TLiteral<"sideways">, import("@feathersjs/typebox").TLiteral<"unknown">]>;
@@ -129,7 +137,7 @@ export declare const snapshotSchema: import("@feathersjs/typebox").TObject<{
129
137
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
130
138
  type: import("@feathersjs/typebox").TString<string>;
131
139
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
132
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
140
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
133
141
  detail: import("@feathersjs/typebox").TString<string>;
134
142
  severity: import("@feathersjs/typebox").TString<string>;
135
143
  }>>;
@@ -142,7 +150,7 @@ export type Snapshot = Static<typeof snapshotSchema>;
142
150
  export declare const snapshotValidator: import("@feathersjs/schema").Validator<any, any>;
143
151
  export declare const snapshotResolver: import("@feathersjs/schema").Resolver<{
144
152
  _id: string | {};
145
- userId: string;
153
+ userId: string | {};
146
154
  type: "daily" | "intraday" | "weekly";
147
155
  timestamp: string;
148
156
  account: {
@@ -155,9 +163,9 @@ export declare const snapshotResolver: import("@feathersjs/schema").Resolver<{
155
163
  combinedDrawdownPct: number;
156
164
  };
157
165
  traders: {
158
- traderId: string;
166
+ traderId: string | {};
159
167
  traderName: string;
160
- strategyId?: string | undefined;
168
+ strategyId?: string | {} | undefined;
161
169
  strategyName?: string | undefined;
162
170
  exchange: string;
163
171
  stakeCurrency: string;
@@ -224,6 +232,14 @@ export declare const snapshotResolver: import("@feathersjs/schema").Resolver<{
224
232
  relProfit: number;
225
233
  tradeCount: number;
226
234
  }[];
235
+ recentClosedTrades?: {
236
+ pair: string;
237
+ profitPct: number;
238
+ profitAbs: number;
239
+ openDate: string;
240
+ closeDate: string;
241
+ exitReason?: string | undefined;
242
+ }[] | undefined;
227
243
  }[];
228
244
  market: {
229
245
  regime: "bear" | "bull" | "sideways" | "unknown";
@@ -268,7 +284,7 @@ export declare const snapshotResolver: import("@feathersjs/schema").Resolver<{
268
284
  triggers: {
269
285
  type: string;
270
286
  signal?: string | undefined;
271
- traderId?: string | undefined;
287
+ traderId?: string | {} | undefined;
272
288
  detail: string;
273
289
  severity: string;
274
290
  }[];
@@ -279,7 +295,7 @@ export declare const snapshotResolver: import("@feathersjs/schema").Resolver<{
279
295
  }, HookContext<SnapshotService<import("./snapshot.class").SnapshotParams>>>;
280
296
  export declare const snapshotExternalResolver: import("@feathersjs/schema").Resolver<{
281
297
  _id: string | {};
282
- userId: string;
298
+ userId: string | {};
283
299
  type: "daily" | "intraday" | "weekly";
284
300
  timestamp: string;
285
301
  account: {
@@ -292,9 +308,9 @@ export declare const snapshotExternalResolver: import("@feathersjs/schema").Reso
292
308
  combinedDrawdownPct: number;
293
309
  };
294
310
  traders: {
295
- traderId: string;
311
+ traderId: string | {};
296
312
  traderName: string;
297
- strategyId?: string | undefined;
313
+ strategyId?: string | {} | undefined;
298
314
  strategyName?: string | undefined;
299
315
  exchange: string;
300
316
  stakeCurrency: string;
@@ -361,6 +377,14 @@ export declare const snapshotExternalResolver: import("@feathersjs/schema").Reso
361
377
  relProfit: number;
362
378
  tradeCount: number;
363
379
  }[];
380
+ recentClosedTrades?: {
381
+ pair: string;
382
+ profitPct: number;
383
+ profitAbs: number;
384
+ openDate: string;
385
+ closeDate: string;
386
+ exitReason?: string | undefined;
387
+ }[] | undefined;
364
388
  }[];
365
389
  market: {
366
390
  regime: "bear" | "bull" | "sideways" | "unknown";
@@ -405,7 +429,7 @@ export declare const snapshotExternalResolver: import("@feathersjs/schema").Reso
405
429
  triggers: {
406
430
  type: string;
407
431
  signal?: string | undefined;
408
- traderId?: string | undefined;
432
+ traderId?: string | {} | undefined;
409
433
  detail: string;
410
434
  severity: string;
411
435
  }[];
@@ -416,7 +440,7 @@ export declare const snapshotExternalResolver: import("@feathersjs/schema").Reso
416
440
  }, HookContext<SnapshotService<import("./snapshot.class").SnapshotParams>>>;
417
441
  export declare const snapshotDataSchema: import("@feathersjs/typebox").TOmit<import("@feathersjs/typebox").TObject<{
418
442
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
419
- userId: import("@feathersjs/typebox").TString<string>;
443
+ userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
420
444
  type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"daily">, import("@feathersjs/typebox").TLiteral<"weekly">, import("@feathersjs/typebox").TLiteral<"intraday">]>;
421
445
  timestamp: import("@feathersjs/typebox").TString<"date-time">;
422
446
  account: import("@feathersjs/typebox").TObject<{
@@ -429,9 +453,9 @@ export declare const snapshotDataSchema: import("@feathersjs/typebox").TOmit<imp
429
453
  combinedDrawdownPct: import("@feathersjs/typebox").TNumber;
430
454
  }>;
431
455
  traders: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
432
- traderId: import("@feathersjs/typebox").TString<string>;
456
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
433
457
  traderName: import("@feathersjs/typebox").TString<string>;
434
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
458
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
435
459
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
436
460
  exchange: import("@feathersjs/typebox").TString<string>;
437
461
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -498,6 +522,14 @@ export declare const snapshotDataSchema: import("@feathersjs/typebox").TOmit<imp
498
522
  relProfit: import("@feathersjs/typebox").TNumber;
499
523
  tradeCount: import("@feathersjs/typebox").TInteger;
500
524
  }>>;
525
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
526
+ pair: import("@feathersjs/typebox").TString<string>;
527
+ profitPct: import("@feathersjs/typebox").TNumber;
528
+ profitAbs: import("@feathersjs/typebox").TNumber;
529
+ openDate: import("@feathersjs/typebox").TString<string>;
530
+ closeDate: import("@feathersjs/typebox").TString<string>;
531
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
532
+ }>>>;
501
533
  }>>;
502
534
  market: import("@feathersjs/typebox").TObject<{
503
535
  regime: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"bull">, import("@feathersjs/typebox").TLiteral<"bear">, import("@feathersjs/typebox").TLiteral<"sideways">, import("@feathersjs/typebox").TLiteral<"unknown">]>;
@@ -542,7 +574,7 @@ export declare const snapshotDataSchema: import("@feathersjs/typebox").TOmit<imp
542
574
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
543
575
  type: import("@feathersjs/typebox").TString<string>;
544
576
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
545
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
577
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
546
578
  detail: import("@feathersjs/typebox").TString<string>;
547
579
  severity: import("@feathersjs/typebox").TString<string>;
548
580
  }>>;
@@ -555,7 +587,7 @@ export type SnapshotData = Static<typeof snapshotDataSchema>;
555
587
  export declare const snapshotDataValidator: import("@feathersjs/schema").Validator<any, any>;
556
588
  export declare const snapshotDataResolver: import("@feathersjs/schema").Resolver<{
557
589
  _id: string | {};
558
- userId: string;
590
+ userId: string | {};
559
591
  type: "daily" | "intraday" | "weekly";
560
592
  timestamp: string;
561
593
  account: {
@@ -568,9 +600,9 @@ export declare const snapshotDataResolver: import("@feathersjs/schema").Resolver
568
600
  combinedDrawdownPct: number;
569
601
  };
570
602
  traders: {
571
- traderId: string;
603
+ traderId: string | {};
572
604
  traderName: string;
573
- strategyId?: string | undefined;
605
+ strategyId?: string | {} | undefined;
574
606
  strategyName?: string | undefined;
575
607
  exchange: string;
576
608
  stakeCurrency: string;
@@ -637,6 +669,14 @@ export declare const snapshotDataResolver: import("@feathersjs/schema").Resolver
637
669
  relProfit: number;
638
670
  tradeCount: number;
639
671
  }[];
672
+ recentClosedTrades?: {
673
+ pair: string;
674
+ profitPct: number;
675
+ profitAbs: number;
676
+ openDate: string;
677
+ closeDate: string;
678
+ exitReason?: string | undefined;
679
+ }[] | undefined;
640
680
  }[];
641
681
  market: {
642
682
  regime: "bear" | "bull" | "sideways" | "unknown";
@@ -681,7 +721,7 @@ export declare const snapshotDataResolver: import("@feathersjs/schema").Resolver
681
721
  triggers: {
682
722
  type: string;
683
723
  signal?: string | undefined;
684
- traderId?: string | undefined;
724
+ traderId?: string | {} | undefined;
685
725
  detail: string;
686
726
  severity: string;
687
727
  }[];
@@ -692,7 +732,7 @@ export declare const snapshotDataResolver: import("@feathersjs/schema").Resolver
692
732
  }, HookContext<SnapshotService<import("./snapshot.class").SnapshotParams>>>;
693
733
  export declare const snapshotPatchSchema: import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
694
734
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
695
- userId: import("@feathersjs/typebox").TString<string>;
735
+ userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
696
736
  type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"daily">, import("@feathersjs/typebox").TLiteral<"weekly">, import("@feathersjs/typebox").TLiteral<"intraday">]>;
697
737
  timestamp: import("@feathersjs/typebox").TString<"date-time">;
698
738
  account: import("@feathersjs/typebox").TObject<{
@@ -705,9 +745,9 @@ export declare const snapshotPatchSchema: import("@feathersjs/typebox").TPartial
705
745
  combinedDrawdownPct: import("@feathersjs/typebox").TNumber;
706
746
  }>;
707
747
  traders: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
708
- traderId: import("@feathersjs/typebox").TString<string>;
748
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
709
749
  traderName: import("@feathersjs/typebox").TString<string>;
710
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
750
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
711
751
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
712
752
  exchange: import("@feathersjs/typebox").TString<string>;
713
753
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -774,6 +814,14 @@ export declare const snapshotPatchSchema: import("@feathersjs/typebox").TPartial
774
814
  relProfit: import("@feathersjs/typebox").TNumber;
775
815
  tradeCount: import("@feathersjs/typebox").TInteger;
776
816
  }>>;
817
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
818
+ pair: import("@feathersjs/typebox").TString<string>;
819
+ profitPct: import("@feathersjs/typebox").TNumber;
820
+ profitAbs: import("@feathersjs/typebox").TNumber;
821
+ openDate: import("@feathersjs/typebox").TString<string>;
822
+ closeDate: import("@feathersjs/typebox").TString<string>;
823
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
824
+ }>>>;
777
825
  }>>;
778
826
  market: import("@feathersjs/typebox").TObject<{
779
827
  regime: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"bull">, import("@feathersjs/typebox").TLiteral<"bear">, import("@feathersjs/typebox").TLiteral<"sideways">, import("@feathersjs/typebox").TLiteral<"unknown">]>;
@@ -818,7 +866,7 @@ export declare const snapshotPatchSchema: import("@feathersjs/typebox").TPartial
818
866
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
819
867
  type: import("@feathersjs/typebox").TString<string>;
820
868
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
821
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
869
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
822
870
  detail: import("@feathersjs/typebox").TString<string>;
823
871
  severity: import("@feathersjs/typebox").TString<string>;
824
872
  }>>;
@@ -831,7 +879,7 @@ export type SnapshotPatch = Static<typeof snapshotPatchSchema>;
831
879
  export declare const snapshotPatchValidator: import("@feathersjs/schema").Validator<any, any>;
832
880
  export declare const snapshotPatchResolver: import("@feathersjs/schema").Resolver<{
833
881
  _id: string | {};
834
- userId: string;
882
+ userId: string | {};
835
883
  type: "daily" | "intraday" | "weekly";
836
884
  timestamp: string;
837
885
  account: {
@@ -844,9 +892,9 @@ export declare const snapshotPatchResolver: import("@feathersjs/schema").Resolve
844
892
  combinedDrawdownPct: number;
845
893
  };
846
894
  traders: {
847
- traderId: string;
895
+ traderId: string | {};
848
896
  traderName: string;
849
- strategyId?: string | undefined;
897
+ strategyId?: string | {} | undefined;
850
898
  strategyName?: string | undefined;
851
899
  exchange: string;
852
900
  stakeCurrency: string;
@@ -913,6 +961,14 @@ export declare const snapshotPatchResolver: import("@feathersjs/schema").Resolve
913
961
  relProfit: number;
914
962
  tradeCount: number;
915
963
  }[];
964
+ recentClosedTrades?: {
965
+ pair: string;
966
+ profitPct: number;
967
+ profitAbs: number;
968
+ openDate: string;
969
+ closeDate: string;
970
+ exitReason?: string | undefined;
971
+ }[] | undefined;
916
972
  }[];
917
973
  market: {
918
974
  regime: "bear" | "bull" | "sideways" | "unknown";
@@ -957,7 +1013,7 @@ export declare const snapshotPatchResolver: import("@feathersjs/schema").Resolve
957
1013
  triggers: {
958
1014
  type: string;
959
1015
  signal?: string | undefined;
960
- traderId?: string | undefined;
1016
+ traderId?: string | {} | undefined;
961
1017
  detail: string;
962
1018
  severity: string;
963
1019
  }[];
@@ -968,7 +1024,7 @@ export declare const snapshotPatchResolver: import("@feathersjs/schema").Resolve
968
1024
  }, HookContext<SnapshotService<import("./snapshot.class").SnapshotParams>>>;
969
1025
  export declare const snapshotQueryProperties: import("@feathersjs/typebox").TPick<import("@feathersjs/typebox").TObject<{
970
1026
  _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
971
- userId: import("@feathersjs/typebox").TString<string>;
1027
+ userId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
972
1028
  type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"daily">, import("@feathersjs/typebox").TLiteral<"weekly">, import("@feathersjs/typebox").TLiteral<"intraday">]>;
973
1029
  timestamp: import("@feathersjs/typebox").TString<"date-time">;
974
1030
  account: import("@feathersjs/typebox").TObject<{
@@ -981,9 +1037,9 @@ export declare const snapshotQueryProperties: import("@feathersjs/typebox").TPic
981
1037
  combinedDrawdownPct: import("@feathersjs/typebox").TNumber;
982
1038
  }>;
983
1039
  traders: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
984
- traderId: import("@feathersjs/typebox").TString<string>;
1040
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
985
1041
  traderName: import("@feathersjs/typebox").TString<string>;
986
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1042
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
987
1043
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
988
1044
  exchange: import("@feathersjs/typebox").TString<string>;
989
1045
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -1050,6 +1106,14 @@ export declare const snapshotQueryProperties: import("@feathersjs/typebox").TPic
1050
1106
  relProfit: import("@feathersjs/typebox").TNumber;
1051
1107
  tradeCount: import("@feathersjs/typebox").TInteger;
1052
1108
  }>>;
1109
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1110
+ pair: import("@feathersjs/typebox").TString<string>;
1111
+ profitPct: import("@feathersjs/typebox").TNumber;
1112
+ profitAbs: import("@feathersjs/typebox").TNumber;
1113
+ openDate: import("@feathersjs/typebox").TString<string>;
1114
+ closeDate: import("@feathersjs/typebox").TString<string>;
1115
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1116
+ }>>>;
1053
1117
  }>>;
1054
1118
  market: import("@feathersjs/typebox").TObject<{
1055
1119
  regime: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"bull">, import("@feathersjs/typebox").TLiteral<"bear">, import("@feathersjs/typebox").TLiteral<"sideways">, import("@feathersjs/typebox").TLiteral<"unknown">]>;
@@ -1094,7 +1158,7 @@ export declare const snapshotQueryProperties: import("@feathersjs/typebox").TPic
1094
1158
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1095
1159
  type: import("@feathersjs/typebox").TString<string>;
1096
1160
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1097
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1161
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
1098
1162
  detail: import("@feathersjs/typebox").TString<string>;
1099
1163
  severity: import("@feathersjs/typebox").TString<string>;
1100
1164
  }>>;
@@ -1633,9 +1697,9 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
1633
1697
  [key: string]: import("@feathersjs/typebox").TSchema;
1634
1698
  } | undefined>]>>]>>;
1635
1699
  traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1636
- traderId: import("@feathersjs/typebox").TString<string>;
1700
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
1637
1701
  traderName: import("@feathersjs/typebox").TString<string>;
1638
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1702
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
1639
1703
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1640
1704
  exchange: import("@feathersjs/typebox").TString<string>;
1641
1705
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -1702,11 +1766,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
1702
1766
  relProfit: import("@feathersjs/typebox").TNumber;
1703
1767
  tradeCount: import("@feathersjs/typebox").TInteger;
1704
1768
  }>>;
1769
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1770
+ pair: import("@feathersjs/typebox").TString<string>;
1771
+ profitPct: import("@feathersjs/typebox").TNumber;
1772
+ profitAbs: import("@feathersjs/typebox").TNumber;
1773
+ openDate: import("@feathersjs/typebox").TString<string>;
1774
+ closeDate: import("@feathersjs/typebox").TString<string>;
1775
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1776
+ }>>>;
1705
1777
  }>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
1706
1778
  $gt: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1707
- traderId: import("@feathersjs/typebox").TString<string>;
1779
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
1708
1780
  traderName: import("@feathersjs/typebox").TString<string>;
1709
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1781
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
1710
1782
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1711
1783
  exchange: import("@feathersjs/typebox").TString<string>;
1712
1784
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -1773,11 +1845,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
1773
1845
  relProfit: import("@feathersjs/typebox").TNumber;
1774
1846
  tradeCount: import("@feathersjs/typebox").TInteger;
1775
1847
  }>>;
1848
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1849
+ pair: import("@feathersjs/typebox").TString<string>;
1850
+ profitPct: import("@feathersjs/typebox").TNumber;
1851
+ profitAbs: import("@feathersjs/typebox").TNumber;
1852
+ openDate: import("@feathersjs/typebox").TString<string>;
1853
+ closeDate: import("@feathersjs/typebox").TString<string>;
1854
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1855
+ }>>>;
1776
1856
  }>>;
1777
1857
  $gte: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1778
- traderId: import("@feathersjs/typebox").TString<string>;
1858
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
1779
1859
  traderName: import("@feathersjs/typebox").TString<string>;
1780
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1860
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
1781
1861
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1782
1862
  exchange: import("@feathersjs/typebox").TString<string>;
1783
1863
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -1844,11 +1924,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
1844
1924
  relProfit: import("@feathersjs/typebox").TNumber;
1845
1925
  tradeCount: import("@feathersjs/typebox").TInteger;
1846
1926
  }>>;
1927
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1928
+ pair: import("@feathersjs/typebox").TString<string>;
1929
+ profitPct: import("@feathersjs/typebox").TNumber;
1930
+ profitAbs: import("@feathersjs/typebox").TNumber;
1931
+ openDate: import("@feathersjs/typebox").TString<string>;
1932
+ closeDate: import("@feathersjs/typebox").TString<string>;
1933
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1934
+ }>>>;
1847
1935
  }>>;
1848
1936
  $lt: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1849
- traderId: import("@feathersjs/typebox").TString<string>;
1937
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
1850
1938
  traderName: import("@feathersjs/typebox").TString<string>;
1851
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1939
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
1852
1940
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1853
1941
  exchange: import("@feathersjs/typebox").TString<string>;
1854
1942
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -1915,11 +2003,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
1915
2003
  relProfit: import("@feathersjs/typebox").TNumber;
1916
2004
  tradeCount: import("@feathersjs/typebox").TInteger;
1917
2005
  }>>;
2006
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2007
+ pair: import("@feathersjs/typebox").TString<string>;
2008
+ profitPct: import("@feathersjs/typebox").TNumber;
2009
+ profitAbs: import("@feathersjs/typebox").TNumber;
2010
+ openDate: import("@feathersjs/typebox").TString<string>;
2011
+ closeDate: import("@feathersjs/typebox").TString<string>;
2012
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2013
+ }>>>;
1918
2014
  }>>;
1919
2015
  $lte: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1920
- traderId: import("@feathersjs/typebox").TString<string>;
2016
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
1921
2017
  traderName: import("@feathersjs/typebox").TString<string>;
1922
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2018
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
1923
2019
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1924
2020
  exchange: import("@feathersjs/typebox").TString<string>;
1925
2021
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -1986,11 +2082,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
1986
2082
  relProfit: import("@feathersjs/typebox").TNumber;
1987
2083
  tradeCount: import("@feathersjs/typebox").TInteger;
1988
2084
  }>>;
2085
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2086
+ pair: import("@feathersjs/typebox").TString<string>;
2087
+ profitPct: import("@feathersjs/typebox").TNumber;
2088
+ profitAbs: import("@feathersjs/typebox").TNumber;
2089
+ openDate: import("@feathersjs/typebox").TString<string>;
2090
+ closeDate: import("@feathersjs/typebox").TString<string>;
2091
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2092
+ }>>>;
1989
2093
  }>>;
1990
2094
  $ne: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
1991
- traderId: import("@feathersjs/typebox").TString<string>;
2095
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
1992
2096
  traderName: import("@feathersjs/typebox").TString<string>;
1993
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2097
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
1994
2098
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
1995
2099
  exchange: import("@feathersjs/typebox").TString<string>;
1996
2100
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -2057,11 +2161,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2057
2161
  relProfit: import("@feathersjs/typebox").TNumber;
2058
2162
  tradeCount: import("@feathersjs/typebox").TInteger;
2059
2163
  }>>;
2164
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2165
+ pair: import("@feathersjs/typebox").TString<string>;
2166
+ profitPct: import("@feathersjs/typebox").TNumber;
2167
+ profitAbs: import("@feathersjs/typebox").TNumber;
2168
+ openDate: import("@feathersjs/typebox").TString<string>;
2169
+ closeDate: import("@feathersjs/typebox").TString<string>;
2170
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2171
+ }>>>;
2060
2172
  }>>;
2061
2173
  $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2062
- traderId: import("@feathersjs/typebox").TString<string>;
2174
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2063
2175
  traderName: import("@feathersjs/typebox").TString<string>;
2064
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2176
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2065
2177
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2066
2178
  exchange: import("@feathersjs/typebox").TString<string>;
2067
2179
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -2128,10 +2240,18 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2128
2240
  relProfit: import("@feathersjs/typebox").TNumber;
2129
2241
  tradeCount: import("@feathersjs/typebox").TInteger;
2130
2242
  }>>;
2243
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2244
+ pair: import("@feathersjs/typebox").TString<string>;
2245
+ profitPct: import("@feathersjs/typebox").TNumber;
2246
+ profitAbs: import("@feathersjs/typebox").TNumber;
2247
+ openDate: import("@feathersjs/typebox").TString<string>;
2248
+ closeDate: import("@feathersjs/typebox").TString<string>;
2249
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2250
+ }>>>;
2131
2251
  }>>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2132
- traderId: import("@feathersjs/typebox").TString<string>;
2252
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2133
2253
  traderName: import("@feathersjs/typebox").TString<string>;
2134
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2254
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2135
2255
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2136
2256
  exchange: import("@feathersjs/typebox").TString<string>;
2137
2257
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -2198,11 +2318,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2198
2318
  relProfit: import("@feathersjs/typebox").TNumber;
2199
2319
  tradeCount: import("@feathersjs/typebox").TInteger;
2200
2320
  }>>;
2321
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2322
+ pair: import("@feathersjs/typebox").TString<string>;
2323
+ profitPct: import("@feathersjs/typebox").TNumber;
2324
+ profitAbs: import("@feathersjs/typebox").TNumber;
2325
+ openDate: import("@feathersjs/typebox").TString<string>;
2326
+ closeDate: import("@feathersjs/typebox").TString<string>;
2327
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2328
+ }>>>;
2201
2329
  }>>;
2202
2330
  $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2203
- traderId: import("@feathersjs/typebox").TString<string>;
2331
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2204
2332
  traderName: import("@feathersjs/typebox").TString<string>;
2205
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2333
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2206
2334
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2207
2335
  exchange: import("@feathersjs/typebox").TString<string>;
2208
2336
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -2269,10 +2397,18 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2269
2397
  relProfit: import("@feathersjs/typebox").TNumber;
2270
2398
  tradeCount: import("@feathersjs/typebox").TInteger;
2271
2399
  }>>;
2400
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2401
+ pair: import("@feathersjs/typebox").TString<string>;
2402
+ profitPct: import("@feathersjs/typebox").TNumber;
2403
+ profitAbs: import("@feathersjs/typebox").TNumber;
2404
+ openDate: import("@feathersjs/typebox").TString<string>;
2405
+ closeDate: import("@feathersjs/typebox").TString<string>;
2406
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2407
+ }>>>;
2272
2408
  }>>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2273
- traderId: import("@feathersjs/typebox").TString<string>;
2409
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2274
2410
  traderName: import("@feathersjs/typebox").TString<string>;
2275
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2411
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2276
2412
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2277
2413
  exchange: import("@feathersjs/typebox").TString<string>;
2278
2414
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -2339,6 +2475,14 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2339
2475
  relProfit: import("@feathersjs/typebox").TNumber;
2340
2476
  tradeCount: import("@feathersjs/typebox").TInteger;
2341
2477
  }>>;
2478
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2479
+ pair: import("@feathersjs/typebox").TString<string>;
2480
+ profitPct: import("@feathersjs/typebox").TNumber;
2481
+ profitAbs: import("@feathersjs/typebox").TNumber;
2482
+ openDate: import("@feathersjs/typebox").TString<string>;
2483
+ closeDate: import("@feathersjs/typebox").TString<string>;
2484
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2485
+ }>>>;
2342
2486
  }>>;
2343
2487
  }>, import("@feathersjs/typebox").TObject<{
2344
2488
  [key: string]: import("@feathersjs/typebox").TSchema;
@@ -2349,7 +2493,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2349
2493
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2350
2494
  type: import("@feathersjs/typebox").TString<string>;
2351
2495
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2352
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2496
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2353
2497
  detail: import("@feathersjs/typebox").TString<string>;
2354
2498
  severity: import("@feathersjs/typebox").TString<string>;
2355
2499
  }>>;
@@ -2361,7 +2505,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2361
2505
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2362
2506
  type: import("@feathersjs/typebox").TString<string>;
2363
2507
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2364
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2508
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2365
2509
  detail: import("@feathersjs/typebox").TString<string>;
2366
2510
  severity: import("@feathersjs/typebox").TString<string>;
2367
2511
  }>>;
@@ -2373,7 +2517,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2373
2517
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2374
2518
  type: import("@feathersjs/typebox").TString<string>;
2375
2519
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2376
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2520
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2377
2521
  detail: import("@feathersjs/typebox").TString<string>;
2378
2522
  severity: import("@feathersjs/typebox").TString<string>;
2379
2523
  }>>;
@@ -2385,7 +2529,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2385
2529
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2386
2530
  type: import("@feathersjs/typebox").TString<string>;
2387
2531
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2388
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2532
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2389
2533
  detail: import("@feathersjs/typebox").TString<string>;
2390
2534
  severity: import("@feathersjs/typebox").TString<string>;
2391
2535
  }>>;
@@ -2397,7 +2541,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2397
2541
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2398
2542
  type: import("@feathersjs/typebox").TString<string>;
2399
2543
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2400
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2544
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2401
2545
  detail: import("@feathersjs/typebox").TString<string>;
2402
2546
  severity: import("@feathersjs/typebox").TString<string>;
2403
2547
  }>>;
@@ -2409,7 +2553,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2409
2553
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2410
2554
  type: import("@feathersjs/typebox").TString<string>;
2411
2555
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2412
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2556
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2413
2557
  detail: import("@feathersjs/typebox").TString<string>;
2414
2558
  severity: import("@feathersjs/typebox").TString<string>;
2415
2559
  }>>;
@@ -2421,7 +2565,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2421
2565
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2422
2566
  type: import("@feathersjs/typebox").TString<string>;
2423
2567
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2424
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2568
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2425
2569
  detail: import("@feathersjs/typebox").TString<string>;
2426
2570
  severity: import("@feathersjs/typebox").TString<string>;
2427
2571
  }>>;
@@ -2432,7 +2576,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2432
2576
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2433
2577
  type: import("@feathersjs/typebox").TString<string>;
2434
2578
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2435
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2579
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2436
2580
  detail: import("@feathersjs/typebox").TString<string>;
2437
2581
  severity: import("@feathersjs/typebox").TString<string>;
2438
2582
  }>>;
@@ -2444,7 +2588,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2444
2588
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2445
2589
  type: import("@feathersjs/typebox").TString<string>;
2446
2590
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2447
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2591
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2448
2592
  detail: import("@feathersjs/typebox").TString<string>;
2449
2593
  severity: import("@feathersjs/typebox").TString<string>;
2450
2594
  }>>;
@@ -2455,7 +2599,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2455
2599
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2456
2600
  type: import("@feathersjs/typebox").TString<string>;
2457
2601
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2458
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2602
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2459
2603
  detail: import("@feathersjs/typebox").TString<string>;
2460
2604
  severity: import("@feathersjs/typebox").TString<string>;
2461
2605
  }>>;
@@ -2475,14 +2619,14 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2475
2619
  }>, import("@feathersjs/typebox").TObject<{
2476
2620
  [key: string]: import("@feathersjs/typebox").TSchema;
2477
2621
  } | undefined>]>>]>>;
2478
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
2479
- $gt: import("@feathersjs/typebox").TString<string>;
2480
- $gte: import("@feathersjs/typebox").TString<string>;
2481
- $lt: import("@feathersjs/typebox").TString<string>;
2482
- $lte: import("@feathersjs/typebox").TString<string>;
2483
- $ne: import("@feathersjs/typebox").TString<string>;
2484
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
2485
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
2622
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
2623
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2624
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2625
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2626
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2627
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2628
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2629
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2486
2630
  }>, import("@feathersjs/typebox").TObject<{
2487
2631
  [key: string]: import("@feathersjs/typebox").TSchema;
2488
2632
  } | undefined>]>>]>>;
@@ -2998,9 +3142,9 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
2998
3142
  [key: string]: import("@feathersjs/typebox").TSchema;
2999
3143
  } | undefined>]>>]>>;
3000
3144
  traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3001
- traderId: import("@feathersjs/typebox").TString<string>;
3145
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3002
3146
  traderName: import("@feathersjs/typebox").TString<string>;
3003
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3147
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3004
3148
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3005
3149
  exchange: import("@feathersjs/typebox").TString<string>;
3006
3150
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -3067,11 +3211,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3067
3211
  relProfit: import("@feathersjs/typebox").TNumber;
3068
3212
  tradeCount: import("@feathersjs/typebox").TInteger;
3069
3213
  }>>;
3214
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3215
+ pair: import("@feathersjs/typebox").TString<string>;
3216
+ profitPct: import("@feathersjs/typebox").TNumber;
3217
+ profitAbs: import("@feathersjs/typebox").TNumber;
3218
+ openDate: import("@feathersjs/typebox").TString<string>;
3219
+ closeDate: import("@feathersjs/typebox").TString<string>;
3220
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3221
+ }>>>;
3070
3222
  }>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
3071
3223
  $gt: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3072
- traderId: import("@feathersjs/typebox").TString<string>;
3224
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3073
3225
  traderName: import("@feathersjs/typebox").TString<string>;
3074
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3226
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3075
3227
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3076
3228
  exchange: import("@feathersjs/typebox").TString<string>;
3077
3229
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -3138,11 +3290,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3138
3290
  relProfit: import("@feathersjs/typebox").TNumber;
3139
3291
  tradeCount: import("@feathersjs/typebox").TInteger;
3140
3292
  }>>;
3293
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3294
+ pair: import("@feathersjs/typebox").TString<string>;
3295
+ profitPct: import("@feathersjs/typebox").TNumber;
3296
+ profitAbs: import("@feathersjs/typebox").TNumber;
3297
+ openDate: import("@feathersjs/typebox").TString<string>;
3298
+ closeDate: import("@feathersjs/typebox").TString<string>;
3299
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3300
+ }>>>;
3141
3301
  }>>;
3142
3302
  $gte: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3143
- traderId: import("@feathersjs/typebox").TString<string>;
3303
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3144
3304
  traderName: import("@feathersjs/typebox").TString<string>;
3145
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3305
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3146
3306
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3147
3307
  exchange: import("@feathersjs/typebox").TString<string>;
3148
3308
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -3209,11 +3369,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3209
3369
  relProfit: import("@feathersjs/typebox").TNumber;
3210
3370
  tradeCount: import("@feathersjs/typebox").TInteger;
3211
3371
  }>>;
3372
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3373
+ pair: import("@feathersjs/typebox").TString<string>;
3374
+ profitPct: import("@feathersjs/typebox").TNumber;
3375
+ profitAbs: import("@feathersjs/typebox").TNumber;
3376
+ openDate: import("@feathersjs/typebox").TString<string>;
3377
+ closeDate: import("@feathersjs/typebox").TString<string>;
3378
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3379
+ }>>>;
3212
3380
  }>>;
3213
3381
  $lt: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3214
- traderId: import("@feathersjs/typebox").TString<string>;
3382
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3215
3383
  traderName: import("@feathersjs/typebox").TString<string>;
3216
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3384
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3217
3385
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3218
3386
  exchange: import("@feathersjs/typebox").TString<string>;
3219
3387
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -3280,11 +3448,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3280
3448
  relProfit: import("@feathersjs/typebox").TNumber;
3281
3449
  tradeCount: import("@feathersjs/typebox").TInteger;
3282
3450
  }>>;
3451
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3452
+ pair: import("@feathersjs/typebox").TString<string>;
3453
+ profitPct: import("@feathersjs/typebox").TNumber;
3454
+ profitAbs: import("@feathersjs/typebox").TNumber;
3455
+ openDate: import("@feathersjs/typebox").TString<string>;
3456
+ closeDate: import("@feathersjs/typebox").TString<string>;
3457
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3458
+ }>>>;
3283
3459
  }>>;
3284
3460
  $lte: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3285
- traderId: import("@feathersjs/typebox").TString<string>;
3461
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3286
3462
  traderName: import("@feathersjs/typebox").TString<string>;
3287
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3463
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3288
3464
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3289
3465
  exchange: import("@feathersjs/typebox").TString<string>;
3290
3466
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -3351,11 +3527,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3351
3527
  relProfit: import("@feathersjs/typebox").TNumber;
3352
3528
  tradeCount: import("@feathersjs/typebox").TInteger;
3353
3529
  }>>;
3530
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3531
+ pair: import("@feathersjs/typebox").TString<string>;
3532
+ profitPct: import("@feathersjs/typebox").TNumber;
3533
+ profitAbs: import("@feathersjs/typebox").TNumber;
3534
+ openDate: import("@feathersjs/typebox").TString<string>;
3535
+ closeDate: import("@feathersjs/typebox").TString<string>;
3536
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3537
+ }>>>;
3354
3538
  }>>;
3355
3539
  $ne: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3356
- traderId: import("@feathersjs/typebox").TString<string>;
3540
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3357
3541
  traderName: import("@feathersjs/typebox").TString<string>;
3358
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3542
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3359
3543
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3360
3544
  exchange: import("@feathersjs/typebox").TString<string>;
3361
3545
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -3422,11 +3606,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3422
3606
  relProfit: import("@feathersjs/typebox").TNumber;
3423
3607
  tradeCount: import("@feathersjs/typebox").TInteger;
3424
3608
  }>>;
3609
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3610
+ pair: import("@feathersjs/typebox").TString<string>;
3611
+ profitPct: import("@feathersjs/typebox").TNumber;
3612
+ profitAbs: import("@feathersjs/typebox").TNumber;
3613
+ openDate: import("@feathersjs/typebox").TString<string>;
3614
+ closeDate: import("@feathersjs/typebox").TString<string>;
3615
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3616
+ }>>>;
3425
3617
  }>>;
3426
3618
  $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3427
- traderId: import("@feathersjs/typebox").TString<string>;
3619
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3428
3620
  traderName: import("@feathersjs/typebox").TString<string>;
3429
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3621
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3430
3622
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3431
3623
  exchange: import("@feathersjs/typebox").TString<string>;
3432
3624
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -3493,10 +3685,18 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3493
3685
  relProfit: import("@feathersjs/typebox").TNumber;
3494
3686
  tradeCount: import("@feathersjs/typebox").TInteger;
3495
3687
  }>>;
3688
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3689
+ pair: import("@feathersjs/typebox").TString<string>;
3690
+ profitPct: import("@feathersjs/typebox").TNumber;
3691
+ profitAbs: import("@feathersjs/typebox").TNumber;
3692
+ openDate: import("@feathersjs/typebox").TString<string>;
3693
+ closeDate: import("@feathersjs/typebox").TString<string>;
3694
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3695
+ }>>>;
3496
3696
  }>>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3497
- traderId: import("@feathersjs/typebox").TString<string>;
3697
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3498
3698
  traderName: import("@feathersjs/typebox").TString<string>;
3499
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3699
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3500
3700
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3501
3701
  exchange: import("@feathersjs/typebox").TString<string>;
3502
3702
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -3563,11 +3763,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3563
3763
  relProfit: import("@feathersjs/typebox").TNumber;
3564
3764
  tradeCount: import("@feathersjs/typebox").TInteger;
3565
3765
  }>>;
3766
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3767
+ pair: import("@feathersjs/typebox").TString<string>;
3768
+ profitPct: import("@feathersjs/typebox").TNumber;
3769
+ profitAbs: import("@feathersjs/typebox").TNumber;
3770
+ openDate: import("@feathersjs/typebox").TString<string>;
3771
+ closeDate: import("@feathersjs/typebox").TString<string>;
3772
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3773
+ }>>>;
3566
3774
  }>>;
3567
3775
  $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3568
- traderId: import("@feathersjs/typebox").TString<string>;
3776
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3569
3777
  traderName: import("@feathersjs/typebox").TString<string>;
3570
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3778
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3571
3779
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3572
3780
  exchange: import("@feathersjs/typebox").TString<string>;
3573
3781
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -3634,10 +3842,18 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3634
3842
  relProfit: import("@feathersjs/typebox").TNumber;
3635
3843
  tradeCount: import("@feathersjs/typebox").TInteger;
3636
3844
  }>>;
3845
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3846
+ pair: import("@feathersjs/typebox").TString<string>;
3847
+ profitPct: import("@feathersjs/typebox").TNumber;
3848
+ profitAbs: import("@feathersjs/typebox").TNumber;
3849
+ openDate: import("@feathersjs/typebox").TString<string>;
3850
+ closeDate: import("@feathersjs/typebox").TString<string>;
3851
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3852
+ }>>>;
3637
3853
  }>>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3638
- traderId: import("@feathersjs/typebox").TString<string>;
3854
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3639
3855
  traderName: import("@feathersjs/typebox").TString<string>;
3640
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3856
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3641
3857
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3642
3858
  exchange: import("@feathersjs/typebox").TString<string>;
3643
3859
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -3704,6 +3920,14 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3704
3920
  relProfit: import("@feathersjs/typebox").TNumber;
3705
3921
  tradeCount: import("@feathersjs/typebox").TInteger;
3706
3922
  }>>;
3923
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3924
+ pair: import("@feathersjs/typebox").TString<string>;
3925
+ profitPct: import("@feathersjs/typebox").TNumber;
3926
+ profitAbs: import("@feathersjs/typebox").TNumber;
3927
+ openDate: import("@feathersjs/typebox").TString<string>;
3928
+ closeDate: import("@feathersjs/typebox").TString<string>;
3929
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3930
+ }>>>;
3707
3931
  }>>;
3708
3932
  }>, import("@feathersjs/typebox").TObject<{
3709
3933
  [key: string]: import("@feathersjs/typebox").TSchema;
@@ -3714,7 +3938,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3714
3938
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3715
3939
  type: import("@feathersjs/typebox").TString<string>;
3716
3940
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3717
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3941
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3718
3942
  detail: import("@feathersjs/typebox").TString<string>;
3719
3943
  severity: import("@feathersjs/typebox").TString<string>;
3720
3944
  }>>;
@@ -3726,7 +3950,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3726
3950
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3727
3951
  type: import("@feathersjs/typebox").TString<string>;
3728
3952
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3729
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3953
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3730
3954
  detail: import("@feathersjs/typebox").TString<string>;
3731
3955
  severity: import("@feathersjs/typebox").TString<string>;
3732
3956
  }>>;
@@ -3738,7 +3962,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3738
3962
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3739
3963
  type: import("@feathersjs/typebox").TString<string>;
3740
3964
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3741
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3965
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3742
3966
  detail: import("@feathersjs/typebox").TString<string>;
3743
3967
  severity: import("@feathersjs/typebox").TString<string>;
3744
3968
  }>>;
@@ -3750,7 +3974,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3750
3974
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3751
3975
  type: import("@feathersjs/typebox").TString<string>;
3752
3976
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3753
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3977
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3754
3978
  detail: import("@feathersjs/typebox").TString<string>;
3755
3979
  severity: import("@feathersjs/typebox").TString<string>;
3756
3980
  }>>;
@@ -3762,7 +3986,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3762
3986
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3763
3987
  type: import("@feathersjs/typebox").TString<string>;
3764
3988
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3765
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3989
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3766
3990
  detail: import("@feathersjs/typebox").TString<string>;
3767
3991
  severity: import("@feathersjs/typebox").TString<string>;
3768
3992
  }>>;
@@ -3774,7 +3998,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3774
3998
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3775
3999
  type: import("@feathersjs/typebox").TString<string>;
3776
4000
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3777
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4001
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3778
4002
  detail: import("@feathersjs/typebox").TString<string>;
3779
4003
  severity: import("@feathersjs/typebox").TString<string>;
3780
4004
  }>>;
@@ -3786,7 +4010,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3786
4010
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3787
4011
  type: import("@feathersjs/typebox").TString<string>;
3788
4012
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3789
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4013
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3790
4014
  detail: import("@feathersjs/typebox").TString<string>;
3791
4015
  severity: import("@feathersjs/typebox").TString<string>;
3792
4016
  }>>;
@@ -3797,7 +4021,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3797
4021
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3798
4022
  type: import("@feathersjs/typebox").TString<string>;
3799
4023
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3800
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4024
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3801
4025
  detail: import("@feathersjs/typebox").TString<string>;
3802
4026
  severity: import("@feathersjs/typebox").TString<string>;
3803
4027
  }>>;
@@ -3809,7 +4033,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3809
4033
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3810
4034
  type: import("@feathersjs/typebox").TString<string>;
3811
4035
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3812
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4036
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3813
4037
  detail: import("@feathersjs/typebox").TString<string>;
3814
4038
  severity: import("@feathersjs/typebox").TString<string>;
3815
4039
  }>>;
@@ -3820,7 +4044,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3820
4044
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3821
4045
  type: import("@feathersjs/typebox").TString<string>;
3822
4046
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3823
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4047
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3824
4048
  detail: import("@feathersjs/typebox").TString<string>;
3825
4049
  severity: import("@feathersjs/typebox").TString<string>;
3826
4050
  }>>;
@@ -3840,14 +4064,14 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
3840
4064
  }>, import("@feathersjs/typebox").TObject<{
3841
4065
  [key: string]: import("@feathersjs/typebox").TSchema;
3842
4066
  } | undefined>]>>]>>;
3843
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
3844
- $gt: import("@feathersjs/typebox").TString<string>;
3845
- $gte: import("@feathersjs/typebox").TString<string>;
3846
- $lt: import("@feathersjs/typebox").TString<string>;
3847
- $lte: import("@feathersjs/typebox").TString<string>;
3848
- $ne: import("@feathersjs/typebox").TString<string>;
3849
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
3850
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
4067
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
4068
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4069
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4070
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4071
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4072
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4073
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4074
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3851
4075
  }>, import("@feathersjs/typebox").TObject<{
3852
4076
  [key: string]: import("@feathersjs/typebox").TSchema;
3853
4077
  } | undefined>]>>]>>;
@@ -4364,9 +4588,9 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
4364
4588
  [key: string]: import("@feathersjs/typebox").TSchema;
4365
4589
  } | undefined>]>>]>>;
4366
4590
  traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4367
- traderId: import("@feathersjs/typebox").TString<string>;
4591
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4368
4592
  traderName: import("@feathersjs/typebox").TString<string>;
4369
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4593
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4370
4594
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4371
4595
  exchange: import("@feathersjs/typebox").TString<string>;
4372
4596
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -4433,11 +4657,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
4433
4657
  relProfit: import("@feathersjs/typebox").TNumber;
4434
4658
  tradeCount: import("@feathersjs/typebox").TInteger;
4435
4659
  }>>;
4660
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4661
+ pair: import("@feathersjs/typebox").TString<string>;
4662
+ profitPct: import("@feathersjs/typebox").TNumber;
4663
+ profitAbs: import("@feathersjs/typebox").TNumber;
4664
+ openDate: import("@feathersjs/typebox").TString<string>;
4665
+ closeDate: import("@feathersjs/typebox").TString<string>;
4666
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4667
+ }>>>;
4436
4668
  }>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
4437
4669
  $gt: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4438
- traderId: import("@feathersjs/typebox").TString<string>;
4670
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4439
4671
  traderName: import("@feathersjs/typebox").TString<string>;
4440
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4672
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4441
4673
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4442
4674
  exchange: import("@feathersjs/typebox").TString<string>;
4443
4675
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -4504,11 +4736,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
4504
4736
  relProfit: import("@feathersjs/typebox").TNumber;
4505
4737
  tradeCount: import("@feathersjs/typebox").TInteger;
4506
4738
  }>>;
4739
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4740
+ pair: import("@feathersjs/typebox").TString<string>;
4741
+ profitPct: import("@feathersjs/typebox").TNumber;
4742
+ profitAbs: import("@feathersjs/typebox").TNumber;
4743
+ openDate: import("@feathersjs/typebox").TString<string>;
4744
+ closeDate: import("@feathersjs/typebox").TString<string>;
4745
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4746
+ }>>>;
4507
4747
  }>>;
4508
4748
  $gte: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4509
- traderId: import("@feathersjs/typebox").TString<string>;
4749
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4510
4750
  traderName: import("@feathersjs/typebox").TString<string>;
4511
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4751
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4512
4752
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4513
4753
  exchange: import("@feathersjs/typebox").TString<string>;
4514
4754
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -4575,11 +4815,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
4575
4815
  relProfit: import("@feathersjs/typebox").TNumber;
4576
4816
  tradeCount: import("@feathersjs/typebox").TInteger;
4577
4817
  }>>;
4818
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4819
+ pair: import("@feathersjs/typebox").TString<string>;
4820
+ profitPct: import("@feathersjs/typebox").TNumber;
4821
+ profitAbs: import("@feathersjs/typebox").TNumber;
4822
+ openDate: import("@feathersjs/typebox").TString<string>;
4823
+ closeDate: import("@feathersjs/typebox").TString<string>;
4824
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4825
+ }>>>;
4578
4826
  }>>;
4579
4827
  $lt: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4580
- traderId: import("@feathersjs/typebox").TString<string>;
4828
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4581
4829
  traderName: import("@feathersjs/typebox").TString<string>;
4582
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4830
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4583
4831
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4584
4832
  exchange: import("@feathersjs/typebox").TString<string>;
4585
4833
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -4646,11 +4894,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
4646
4894
  relProfit: import("@feathersjs/typebox").TNumber;
4647
4895
  tradeCount: import("@feathersjs/typebox").TInteger;
4648
4896
  }>>;
4897
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4898
+ pair: import("@feathersjs/typebox").TString<string>;
4899
+ profitPct: import("@feathersjs/typebox").TNumber;
4900
+ profitAbs: import("@feathersjs/typebox").TNumber;
4901
+ openDate: import("@feathersjs/typebox").TString<string>;
4902
+ closeDate: import("@feathersjs/typebox").TString<string>;
4903
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4904
+ }>>>;
4649
4905
  }>>;
4650
4906
  $lte: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4651
- traderId: import("@feathersjs/typebox").TString<string>;
4907
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4652
4908
  traderName: import("@feathersjs/typebox").TString<string>;
4653
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4909
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4654
4910
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4655
4911
  exchange: import("@feathersjs/typebox").TString<string>;
4656
4912
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -4717,11 +4973,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
4717
4973
  relProfit: import("@feathersjs/typebox").TNumber;
4718
4974
  tradeCount: import("@feathersjs/typebox").TInteger;
4719
4975
  }>>;
4976
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4977
+ pair: import("@feathersjs/typebox").TString<string>;
4978
+ profitPct: import("@feathersjs/typebox").TNumber;
4979
+ profitAbs: import("@feathersjs/typebox").TNumber;
4980
+ openDate: import("@feathersjs/typebox").TString<string>;
4981
+ closeDate: import("@feathersjs/typebox").TString<string>;
4982
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4983
+ }>>>;
4720
4984
  }>>;
4721
4985
  $ne: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4722
- traderId: import("@feathersjs/typebox").TString<string>;
4986
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4723
4987
  traderName: import("@feathersjs/typebox").TString<string>;
4724
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4988
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4725
4989
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4726
4990
  exchange: import("@feathersjs/typebox").TString<string>;
4727
4991
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -4788,11 +5052,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
4788
5052
  relProfit: import("@feathersjs/typebox").TNumber;
4789
5053
  tradeCount: import("@feathersjs/typebox").TInteger;
4790
5054
  }>>;
5055
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5056
+ pair: import("@feathersjs/typebox").TString<string>;
5057
+ profitPct: import("@feathersjs/typebox").TNumber;
5058
+ profitAbs: import("@feathersjs/typebox").TNumber;
5059
+ openDate: import("@feathersjs/typebox").TString<string>;
5060
+ closeDate: import("@feathersjs/typebox").TString<string>;
5061
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5062
+ }>>>;
4791
5063
  }>>;
4792
5064
  $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4793
- traderId: import("@feathersjs/typebox").TString<string>;
5065
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4794
5066
  traderName: import("@feathersjs/typebox").TString<string>;
4795
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5067
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4796
5068
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4797
5069
  exchange: import("@feathersjs/typebox").TString<string>;
4798
5070
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -4859,10 +5131,18 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
4859
5131
  relProfit: import("@feathersjs/typebox").TNumber;
4860
5132
  tradeCount: import("@feathersjs/typebox").TInteger;
4861
5133
  }>>;
5134
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5135
+ pair: import("@feathersjs/typebox").TString<string>;
5136
+ profitPct: import("@feathersjs/typebox").TNumber;
5137
+ profitAbs: import("@feathersjs/typebox").TNumber;
5138
+ openDate: import("@feathersjs/typebox").TString<string>;
5139
+ closeDate: import("@feathersjs/typebox").TString<string>;
5140
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5141
+ }>>>;
4862
5142
  }>>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4863
- traderId: import("@feathersjs/typebox").TString<string>;
5143
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4864
5144
  traderName: import("@feathersjs/typebox").TString<string>;
4865
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5145
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4866
5146
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4867
5147
  exchange: import("@feathersjs/typebox").TString<string>;
4868
5148
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -4929,11 +5209,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
4929
5209
  relProfit: import("@feathersjs/typebox").TNumber;
4930
5210
  tradeCount: import("@feathersjs/typebox").TInteger;
4931
5211
  }>>;
5212
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5213
+ pair: import("@feathersjs/typebox").TString<string>;
5214
+ profitPct: import("@feathersjs/typebox").TNumber;
5215
+ profitAbs: import("@feathersjs/typebox").TNumber;
5216
+ openDate: import("@feathersjs/typebox").TString<string>;
5217
+ closeDate: import("@feathersjs/typebox").TString<string>;
5218
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5219
+ }>>>;
4932
5220
  }>>;
4933
5221
  $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4934
- traderId: import("@feathersjs/typebox").TString<string>;
5222
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4935
5223
  traderName: import("@feathersjs/typebox").TString<string>;
4936
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5224
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4937
5225
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4938
5226
  exchange: import("@feathersjs/typebox").TString<string>;
4939
5227
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -5000,10 +5288,18 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5000
5288
  relProfit: import("@feathersjs/typebox").TNumber;
5001
5289
  tradeCount: import("@feathersjs/typebox").TInteger;
5002
5290
  }>>;
5291
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5292
+ pair: import("@feathersjs/typebox").TString<string>;
5293
+ profitPct: import("@feathersjs/typebox").TNumber;
5294
+ profitAbs: import("@feathersjs/typebox").TNumber;
5295
+ openDate: import("@feathersjs/typebox").TString<string>;
5296
+ closeDate: import("@feathersjs/typebox").TString<string>;
5297
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5298
+ }>>>;
5003
5299
  }>>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5004
- traderId: import("@feathersjs/typebox").TString<string>;
5300
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5005
5301
  traderName: import("@feathersjs/typebox").TString<string>;
5006
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5302
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5007
5303
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5008
5304
  exchange: import("@feathersjs/typebox").TString<string>;
5009
5305
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -5070,6 +5366,14 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5070
5366
  relProfit: import("@feathersjs/typebox").TNumber;
5071
5367
  tradeCount: import("@feathersjs/typebox").TInteger;
5072
5368
  }>>;
5369
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5370
+ pair: import("@feathersjs/typebox").TString<string>;
5371
+ profitPct: import("@feathersjs/typebox").TNumber;
5372
+ profitAbs: import("@feathersjs/typebox").TNumber;
5373
+ openDate: import("@feathersjs/typebox").TString<string>;
5374
+ closeDate: import("@feathersjs/typebox").TString<string>;
5375
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5376
+ }>>>;
5073
5377
  }>>;
5074
5378
  }>, import("@feathersjs/typebox").TObject<{
5075
5379
  [key: string]: import("@feathersjs/typebox").TSchema;
@@ -5080,7 +5384,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5080
5384
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5081
5385
  type: import("@feathersjs/typebox").TString<string>;
5082
5386
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5083
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5387
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5084
5388
  detail: import("@feathersjs/typebox").TString<string>;
5085
5389
  severity: import("@feathersjs/typebox").TString<string>;
5086
5390
  }>>;
@@ -5092,7 +5396,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5092
5396
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5093
5397
  type: import("@feathersjs/typebox").TString<string>;
5094
5398
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5095
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5399
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5096
5400
  detail: import("@feathersjs/typebox").TString<string>;
5097
5401
  severity: import("@feathersjs/typebox").TString<string>;
5098
5402
  }>>;
@@ -5104,7 +5408,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5104
5408
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5105
5409
  type: import("@feathersjs/typebox").TString<string>;
5106
5410
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5107
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5411
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5108
5412
  detail: import("@feathersjs/typebox").TString<string>;
5109
5413
  severity: import("@feathersjs/typebox").TString<string>;
5110
5414
  }>>;
@@ -5116,7 +5420,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5116
5420
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5117
5421
  type: import("@feathersjs/typebox").TString<string>;
5118
5422
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5119
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5423
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5120
5424
  detail: import("@feathersjs/typebox").TString<string>;
5121
5425
  severity: import("@feathersjs/typebox").TString<string>;
5122
5426
  }>>;
@@ -5128,7 +5432,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5128
5432
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5129
5433
  type: import("@feathersjs/typebox").TString<string>;
5130
5434
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5131
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5435
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5132
5436
  detail: import("@feathersjs/typebox").TString<string>;
5133
5437
  severity: import("@feathersjs/typebox").TString<string>;
5134
5438
  }>>;
@@ -5140,7 +5444,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5140
5444
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5141
5445
  type: import("@feathersjs/typebox").TString<string>;
5142
5446
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5143
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5447
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5144
5448
  detail: import("@feathersjs/typebox").TString<string>;
5145
5449
  severity: import("@feathersjs/typebox").TString<string>;
5146
5450
  }>>;
@@ -5152,7 +5456,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5152
5456
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5153
5457
  type: import("@feathersjs/typebox").TString<string>;
5154
5458
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5155
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5459
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5156
5460
  detail: import("@feathersjs/typebox").TString<string>;
5157
5461
  severity: import("@feathersjs/typebox").TString<string>;
5158
5462
  }>>;
@@ -5163,7 +5467,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5163
5467
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5164
5468
  type: import("@feathersjs/typebox").TString<string>;
5165
5469
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5166
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5470
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5167
5471
  detail: import("@feathersjs/typebox").TString<string>;
5168
5472
  severity: import("@feathersjs/typebox").TString<string>;
5169
5473
  }>>;
@@ -5175,7 +5479,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5175
5479
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5176
5480
  type: import("@feathersjs/typebox").TString<string>;
5177
5481
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5178
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5482
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5179
5483
  detail: import("@feathersjs/typebox").TString<string>;
5180
5484
  severity: import("@feathersjs/typebox").TString<string>;
5181
5485
  }>>;
@@ -5186,7 +5490,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5186
5490
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5187
5491
  type: import("@feathersjs/typebox").TString<string>;
5188
5492
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5189
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5493
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5190
5494
  detail: import("@feathersjs/typebox").TString<string>;
5191
5495
  severity: import("@feathersjs/typebox").TString<string>;
5192
5496
  }>>;
@@ -5206,14 +5510,14 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5206
5510
  }>, import("@feathersjs/typebox").TObject<{
5207
5511
  [key: string]: import("@feathersjs/typebox").TSchema;
5208
5512
  } | undefined>]>>]>>;
5209
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
5210
- $gt: import("@feathersjs/typebox").TString<string>;
5211
- $gte: import("@feathersjs/typebox").TString<string>;
5212
- $lt: import("@feathersjs/typebox").TString<string>;
5213
- $lte: import("@feathersjs/typebox").TString<string>;
5214
- $ne: import("@feathersjs/typebox").TString<string>;
5215
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
5216
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
5513
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
5514
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5515
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5516
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5517
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5518
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5519
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5520
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5217
5521
  }>, import("@feathersjs/typebox").TObject<{
5218
5522
  [key: string]: import("@feathersjs/typebox").TSchema;
5219
5523
  } | undefined>]>>]>>;
@@ -5729,9 +6033,9 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5729
6033
  [key: string]: import("@feathersjs/typebox").TSchema;
5730
6034
  } | undefined>]>>]>>;
5731
6035
  traders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5732
- traderId: import("@feathersjs/typebox").TString<string>;
6036
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5733
6037
  traderName: import("@feathersjs/typebox").TString<string>;
5734
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6038
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5735
6039
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5736
6040
  exchange: import("@feathersjs/typebox").TString<string>;
5737
6041
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -5798,11 +6102,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5798
6102
  relProfit: import("@feathersjs/typebox").TNumber;
5799
6103
  tradeCount: import("@feathersjs/typebox").TInteger;
5800
6104
  }>>;
6105
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6106
+ pair: import("@feathersjs/typebox").TString<string>;
6107
+ profitPct: import("@feathersjs/typebox").TNumber;
6108
+ profitAbs: import("@feathersjs/typebox").TNumber;
6109
+ openDate: import("@feathersjs/typebox").TString<string>;
6110
+ closeDate: import("@feathersjs/typebox").TString<string>;
6111
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6112
+ }>>>;
5801
6113
  }>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
5802
6114
  $gt: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5803
- traderId: import("@feathersjs/typebox").TString<string>;
6115
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5804
6116
  traderName: import("@feathersjs/typebox").TString<string>;
5805
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6117
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5806
6118
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5807
6119
  exchange: import("@feathersjs/typebox").TString<string>;
5808
6120
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -5869,11 +6181,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5869
6181
  relProfit: import("@feathersjs/typebox").TNumber;
5870
6182
  tradeCount: import("@feathersjs/typebox").TInteger;
5871
6183
  }>>;
6184
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6185
+ pair: import("@feathersjs/typebox").TString<string>;
6186
+ profitPct: import("@feathersjs/typebox").TNumber;
6187
+ profitAbs: import("@feathersjs/typebox").TNumber;
6188
+ openDate: import("@feathersjs/typebox").TString<string>;
6189
+ closeDate: import("@feathersjs/typebox").TString<string>;
6190
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6191
+ }>>>;
5872
6192
  }>>;
5873
6193
  $gte: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5874
- traderId: import("@feathersjs/typebox").TString<string>;
6194
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5875
6195
  traderName: import("@feathersjs/typebox").TString<string>;
5876
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6196
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5877
6197
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5878
6198
  exchange: import("@feathersjs/typebox").TString<string>;
5879
6199
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -5940,11 +6260,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
5940
6260
  relProfit: import("@feathersjs/typebox").TNumber;
5941
6261
  tradeCount: import("@feathersjs/typebox").TInteger;
5942
6262
  }>>;
6263
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6264
+ pair: import("@feathersjs/typebox").TString<string>;
6265
+ profitPct: import("@feathersjs/typebox").TNumber;
6266
+ profitAbs: import("@feathersjs/typebox").TNumber;
6267
+ openDate: import("@feathersjs/typebox").TString<string>;
6268
+ closeDate: import("@feathersjs/typebox").TString<string>;
6269
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6270
+ }>>>;
5943
6271
  }>>;
5944
6272
  $lt: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5945
- traderId: import("@feathersjs/typebox").TString<string>;
6273
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5946
6274
  traderName: import("@feathersjs/typebox").TString<string>;
5947
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6275
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5948
6276
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5949
6277
  exchange: import("@feathersjs/typebox").TString<string>;
5950
6278
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -6011,11 +6339,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6011
6339
  relProfit: import("@feathersjs/typebox").TNumber;
6012
6340
  tradeCount: import("@feathersjs/typebox").TInteger;
6013
6341
  }>>;
6342
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6343
+ pair: import("@feathersjs/typebox").TString<string>;
6344
+ profitPct: import("@feathersjs/typebox").TNumber;
6345
+ profitAbs: import("@feathersjs/typebox").TNumber;
6346
+ openDate: import("@feathersjs/typebox").TString<string>;
6347
+ closeDate: import("@feathersjs/typebox").TString<string>;
6348
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6349
+ }>>>;
6014
6350
  }>>;
6015
6351
  $lte: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6016
- traderId: import("@feathersjs/typebox").TString<string>;
6352
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6017
6353
  traderName: import("@feathersjs/typebox").TString<string>;
6018
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6354
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6019
6355
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6020
6356
  exchange: import("@feathersjs/typebox").TString<string>;
6021
6357
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -6082,11 +6418,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6082
6418
  relProfit: import("@feathersjs/typebox").TNumber;
6083
6419
  tradeCount: import("@feathersjs/typebox").TInteger;
6084
6420
  }>>;
6421
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6422
+ pair: import("@feathersjs/typebox").TString<string>;
6423
+ profitPct: import("@feathersjs/typebox").TNumber;
6424
+ profitAbs: import("@feathersjs/typebox").TNumber;
6425
+ openDate: import("@feathersjs/typebox").TString<string>;
6426
+ closeDate: import("@feathersjs/typebox").TString<string>;
6427
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6428
+ }>>>;
6085
6429
  }>>;
6086
6430
  $ne: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6087
- traderId: import("@feathersjs/typebox").TString<string>;
6431
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6088
6432
  traderName: import("@feathersjs/typebox").TString<string>;
6089
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6433
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6090
6434
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6091
6435
  exchange: import("@feathersjs/typebox").TString<string>;
6092
6436
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -6153,11 +6497,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6153
6497
  relProfit: import("@feathersjs/typebox").TNumber;
6154
6498
  tradeCount: import("@feathersjs/typebox").TInteger;
6155
6499
  }>>;
6500
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6501
+ pair: import("@feathersjs/typebox").TString<string>;
6502
+ profitPct: import("@feathersjs/typebox").TNumber;
6503
+ profitAbs: import("@feathersjs/typebox").TNumber;
6504
+ openDate: import("@feathersjs/typebox").TString<string>;
6505
+ closeDate: import("@feathersjs/typebox").TString<string>;
6506
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6507
+ }>>>;
6156
6508
  }>>;
6157
6509
  $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6158
- traderId: import("@feathersjs/typebox").TString<string>;
6510
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6159
6511
  traderName: import("@feathersjs/typebox").TString<string>;
6160
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6512
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6161
6513
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6162
6514
  exchange: import("@feathersjs/typebox").TString<string>;
6163
6515
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -6224,10 +6576,18 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6224
6576
  relProfit: import("@feathersjs/typebox").TNumber;
6225
6577
  tradeCount: import("@feathersjs/typebox").TInteger;
6226
6578
  }>>;
6579
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6580
+ pair: import("@feathersjs/typebox").TString<string>;
6581
+ profitPct: import("@feathersjs/typebox").TNumber;
6582
+ profitAbs: import("@feathersjs/typebox").TNumber;
6583
+ openDate: import("@feathersjs/typebox").TString<string>;
6584
+ closeDate: import("@feathersjs/typebox").TString<string>;
6585
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6586
+ }>>>;
6227
6587
  }>>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6228
- traderId: import("@feathersjs/typebox").TString<string>;
6588
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6229
6589
  traderName: import("@feathersjs/typebox").TString<string>;
6230
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6590
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6231
6591
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6232
6592
  exchange: import("@feathersjs/typebox").TString<string>;
6233
6593
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -6294,11 +6654,19 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6294
6654
  relProfit: import("@feathersjs/typebox").TNumber;
6295
6655
  tradeCount: import("@feathersjs/typebox").TInteger;
6296
6656
  }>>;
6657
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6658
+ pair: import("@feathersjs/typebox").TString<string>;
6659
+ profitPct: import("@feathersjs/typebox").TNumber;
6660
+ profitAbs: import("@feathersjs/typebox").TNumber;
6661
+ openDate: import("@feathersjs/typebox").TString<string>;
6662
+ closeDate: import("@feathersjs/typebox").TString<string>;
6663
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6664
+ }>>>;
6297
6665
  }>>;
6298
6666
  $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6299
- traderId: import("@feathersjs/typebox").TString<string>;
6667
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6300
6668
  traderName: import("@feathersjs/typebox").TString<string>;
6301
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6669
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6302
6670
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6303
6671
  exchange: import("@feathersjs/typebox").TString<string>;
6304
6672
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -6365,10 +6733,18 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6365
6733
  relProfit: import("@feathersjs/typebox").TNumber;
6366
6734
  tradeCount: import("@feathersjs/typebox").TInteger;
6367
6735
  }>>;
6736
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6737
+ pair: import("@feathersjs/typebox").TString<string>;
6738
+ profitPct: import("@feathersjs/typebox").TNumber;
6739
+ profitAbs: import("@feathersjs/typebox").TNumber;
6740
+ openDate: import("@feathersjs/typebox").TString<string>;
6741
+ closeDate: import("@feathersjs/typebox").TString<string>;
6742
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6743
+ }>>>;
6368
6744
  }>>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6369
- traderId: import("@feathersjs/typebox").TString<string>;
6745
+ traderId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6370
6746
  traderName: import("@feathersjs/typebox").TString<string>;
6371
- strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6747
+ strategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6372
6748
  strategyName: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6373
6749
  exchange: import("@feathersjs/typebox").TString<string>;
6374
6750
  stakeCurrency: import("@feathersjs/typebox").TString<string>;
@@ -6435,6 +6811,14 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6435
6811
  relProfit: import("@feathersjs/typebox").TNumber;
6436
6812
  tradeCount: import("@feathersjs/typebox").TInteger;
6437
6813
  }>>;
6814
+ recentClosedTrades: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6815
+ pair: import("@feathersjs/typebox").TString<string>;
6816
+ profitPct: import("@feathersjs/typebox").TNumber;
6817
+ profitAbs: import("@feathersjs/typebox").TNumber;
6818
+ openDate: import("@feathersjs/typebox").TString<string>;
6819
+ closeDate: import("@feathersjs/typebox").TString<string>;
6820
+ exitReason: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6821
+ }>>>;
6438
6822
  }>>;
6439
6823
  }>, import("@feathersjs/typebox").TObject<{
6440
6824
  [key: string]: import("@feathersjs/typebox").TSchema;
@@ -6445,7 +6829,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6445
6829
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6446
6830
  type: import("@feathersjs/typebox").TString<string>;
6447
6831
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6448
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6832
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6449
6833
  detail: import("@feathersjs/typebox").TString<string>;
6450
6834
  severity: import("@feathersjs/typebox").TString<string>;
6451
6835
  }>>;
@@ -6457,7 +6841,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6457
6841
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6458
6842
  type: import("@feathersjs/typebox").TString<string>;
6459
6843
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6460
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6844
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6461
6845
  detail: import("@feathersjs/typebox").TString<string>;
6462
6846
  severity: import("@feathersjs/typebox").TString<string>;
6463
6847
  }>>;
@@ -6469,7 +6853,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6469
6853
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6470
6854
  type: import("@feathersjs/typebox").TString<string>;
6471
6855
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6472
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6856
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6473
6857
  detail: import("@feathersjs/typebox").TString<string>;
6474
6858
  severity: import("@feathersjs/typebox").TString<string>;
6475
6859
  }>>;
@@ -6481,7 +6865,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6481
6865
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6482
6866
  type: import("@feathersjs/typebox").TString<string>;
6483
6867
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6484
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6868
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6485
6869
  detail: import("@feathersjs/typebox").TString<string>;
6486
6870
  severity: import("@feathersjs/typebox").TString<string>;
6487
6871
  }>>;
@@ -6493,7 +6877,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6493
6877
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6494
6878
  type: import("@feathersjs/typebox").TString<string>;
6495
6879
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6496
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6880
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6497
6881
  detail: import("@feathersjs/typebox").TString<string>;
6498
6882
  severity: import("@feathersjs/typebox").TString<string>;
6499
6883
  }>>;
@@ -6505,7 +6889,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6505
6889
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6506
6890
  type: import("@feathersjs/typebox").TString<string>;
6507
6891
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6508
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6892
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6509
6893
  detail: import("@feathersjs/typebox").TString<string>;
6510
6894
  severity: import("@feathersjs/typebox").TString<string>;
6511
6895
  }>>;
@@ -6517,7 +6901,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6517
6901
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6518
6902
  type: import("@feathersjs/typebox").TString<string>;
6519
6903
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6520
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6904
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6521
6905
  detail: import("@feathersjs/typebox").TString<string>;
6522
6906
  severity: import("@feathersjs/typebox").TString<string>;
6523
6907
  }>>;
@@ -6528,7 +6912,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6528
6912
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6529
6913
  type: import("@feathersjs/typebox").TString<string>;
6530
6914
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6531
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6915
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6532
6916
  detail: import("@feathersjs/typebox").TString<string>;
6533
6917
  severity: import("@feathersjs/typebox").TString<string>;
6534
6918
  }>>;
@@ -6540,7 +6924,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6540
6924
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6541
6925
  type: import("@feathersjs/typebox").TString<string>;
6542
6926
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6543
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6927
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6544
6928
  detail: import("@feathersjs/typebox").TString<string>;
6545
6929
  severity: import("@feathersjs/typebox").TString<string>;
6546
6930
  }>>;
@@ -6551,7 +6935,7 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6551
6935
  triggers: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6552
6936
  type: import("@feathersjs/typebox").TString<string>;
6553
6937
  signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6554
- traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6938
+ traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6555
6939
  detail: import("@feathersjs/typebox").TString<string>;
6556
6940
  severity: import("@feathersjs/typebox").TString<string>;
6557
6941
  }>>;
@@ -6571,14 +6955,14 @@ export declare const snapshotQuerySchema: import("@feathersjs/typebox").TInterse
6571
6955
  }>, import("@feathersjs/typebox").TObject<{
6572
6956
  [key: string]: import("@feathersjs/typebox").TSchema;
6573
6957
  } | undefined>]>>]>>;
6574
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
6575
- $gt: import("@feathersjs/typebox").TString<string>;
6576
- $gte: import("@feathersjs/typebox").TString<string>;
6577
- $lt: import("@feathersjs/typebox").TString<string>;
6578
- $lte: import("@feathersjs/typebox").TString<string>;
6579
- $ne: import("@feathersjs/typebox").TString<string>;
6580
- $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
6581
- $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TString<string>;
6958
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
6959
+ $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6960
+ $gte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6961
+ $lt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6962
+ $lte: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6963
+ $ne: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6964
+ $in: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6965
+ $nin: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>> | import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
6582
6966
  }>, import("@feathersjs/typebox").TObject<{
6583
6967
  [key: string]: import("@feathersjs/typebox").TSchema;
6584
6968
  } | undefined>]>>]>>;
@@ -7097,9 +7481,9 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7097
7481
  $nin: string | string[];
7098
7482
  } & {}> | undefined;
7099
7483
  traders?: {
7100
- traderId: string;
7484
+ traderId: string | {};
7101
7485
  traderName: string;
7102
- strategyId?: string | undefined;
7486
+ strategyId?: string | {} | undefined;
7103
7487
  strategyName?: string | undefined;
7104
7488
  exchange: string;
7105
7489
  stakeCurrency: string;
@@ -7166,11 +7550,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7166
7550
  relProfit: number;
7167
7551
  tradeCount: number;
7168
7552
  }[];
7553
+ recentClosedTrades?: {
7554
+ pair: string;
7555
+ profitPct: number;
7556
+ profitAbs: number;
7557
+ openDate: string;
7558
+ closeDate: string;
7559
+ exitReason?: string | undefined;
7560
+ }[] | undefined;
7169
7561
  }[] | Partial<{
7170
7562
  $gt: {
7171
- traderId: string;
7563
+ traderId: string | {};
7172
7564
  traderName: string;
7173
- strategyId?: string | undefined;
7565
+ strategyId?: string | {} | undefined;
7174
7566
  strategyName?: string | undefined;
7175
7567
  exchange: string;
7176
7568
  stakeCurrency: string;
@@ -7237,11 +7629,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7237
7629
  relProfit: number;
7238
7630
  tradeCount: number;
7239
7631
  }[];
7632
+ recentClosedTrades?: {
7633
+ pair: string;
7634
+ profitPct: number;
7635
+ profitAbs: number;
7636
+ openDate: string;
7637
+ closeDate: string;
7638
+ exitReason?: string | undefined;
7639
+ }[] | undefined;
7240
7640
  }[];
7241
7641
  $gte: {
7242
- traderId: string;
7642
+ traderId: string | {};
7243
7643
  traderName: string;
7244
- strategyId?: string | undefined;
7644
+ strategyId?: string | {} | undefined;
7245
7645
  strategyName?: string | undefined;
7246
7646
  exchange: string;
7247
7647
  stakeCurrency: string;
@@ -7308,11 +7708,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7308
7708
  relProfit: number;
7309
7709
  tradeCount: number;
7310
7710
  }[];
7711
+ recentClosedTrades?: {
7712
+ pair: string;
7713
+ profitPct: number;
7714
+ profitAbs: number;
7715
+ openDate: string;
7716
+ closeDate: string;
7717
+ exitReason?: string | undefined;
7718
+ }[] | undefined;
7311
7719
  }[];
7312
7720
  $lt: {
7313
- traderId: string;
7721
+ traderId: string | {};
7314
7722
  traderName: string;
7315
- strategyId?: string | undefined;
7723
+ strategyId?: string | {} | undefined;
7316
7724
  strategyName?: string | undefined;
7317
7725
  exchange: string;
7318
7726
  stakeCurrency: string;
@@ -7379,11 +7787,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7379
7787
  relProfit: number;
7380
7788
  tradeCount: number;
7381
7789
  }[];
7790
+ recentClosedTrades?: {
7791
+ pair: string;
7792
+ profitPct: number;
7793
+ profitAbs: number;
7794
+ openDate: string;
7795
+ closeDate: string;
7796
+ exitReason?: string | undefined;
7797
+ }[] | undefined;
7382
7798
  }[];
7383
7799
  $lte: {
7384
- traderId: string;
7800
+ traderId: string | {};
7385
7801
  traderName: string;
7386
- strategyId?: string | undefined;
7802
+ strategyId?: string | {} | undefined;
7387
7803
  strategyName?: string | undefined;
7388
7804
  exchange: string;
7389
7805
  stakeCurrency: string;
@@ -7450,11 +7866,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7450
7866
  relProfit: number;
7451
7867
  tradeCount: number;
7452
7868
  }[];
7869
+ recentClosedTrades?: {
7870
+ pair: string;
7871
+ profitPct: number;
7872
+ profitAbs: number;
7873
+ openDate: string;
7874
+ closeDate: string;
7875
+ exitReason?: string | undefined;
7876
+ }[] | undefined;
7453
7877
  }[];
7454
7878
  $ne: {
7455
- traderId: string;
7879
+ traderId: string | {};
7456
7880
  traderName: string;
7457
- strategyId?: string | undefined;
7881
+ strategyId?: string | {} | undefined;
7458
7882
  strategyName?: string | undefined;
7459
7883
  exchange: string;
7460
7884
  stakeCurrency: string;
@@ -7521,11 +7945,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7521
7945
  relProfit: number;
7522
7946
  tradeCount: number;
7523
7947
  }[];
7948
+ recentClosedTrades?: {
7949
+ pair: string;
7950
+ profitPct: number;
7951
+ profitAbs: number;
7952
+ openDate: string;
7953
+ closeDate: string;
7954
+ exitReason?: string | undefined;
7955
+ }[] | undefined;
7524
7956
  }[];
7525
7957
  $in: {
7526
- traderId: string;
7958
+ traderId: string | {};
7527
7959
  traderName: string;
7528
- strategyId?: string | undefined;
7960
+ strategyId?: string | {} | undefined;
7529
7961
  strategyName?: string | undefined;
7530
7962
  exchange: string;
7531
7963
  stakeCurrency: string;
@@ -7592,10 +8024,18 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7592
8024
  relProfit: number;
7593
8025
  tradeCount: number;
7594
8026
  }[];
8027
+ recentClosedTrades?: {
8028
+ pair: string;
8029
+ profitPct: number;
8030
+ profitAbs: number;
8031
+ openDate: string;
8032
+ closeDate: string;
8033
+ exitReason?: string | undefined;
8034
+ }[] | undefined;
7595
8035
  }[][] | {
7596
- traderId: string;
8036
+ traderId: string | {};
7597
8037
  traderName: string;
7598
- strategyId?: string | undefined;
8038
+ strategyId?: string | {} | undefined;
7599
8039
  strategyName?: string | undefined;
7600
8040
  exchange: string;
7601
8041
  stakeCurrency: string;
@@ -7662,11 +8102,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7662
8102
  relProfit: number;
7663
8103
  tradeCount: number;
7664
8104
  }[];
8105
+ recentClosedTrades?: {
8106
+ pair: string;
8107
+ profitPct: number;
8108
+ profitAbs: number;
8109
+ openDate: string;
8110
+ closeDate: string;
8111
+ exitReason?: string | undefined;
8112
+ }[] | undefined;
7665
8113
  }[];
7666
8114
  $nin: {
7667
- traderId: string;
8115
+ traderId: string | {};
7668
8116
  traderName: string;
7669
- strategyId?: string | undefined;
8117
+ strategyId?: string | {} | undefined;
7670
8118
  strategyName?: string | undefined;
7671
8119
  exchange: string;
7672
8120
  stakeCurrency: string;
@@ -7733,10 +8181,18 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7733
8181
  relProfit: number;
7734
8182
  tradeCount: number;
7735
8183
  }[];
8184
+ recentClosedTrades?: {
8185
+ pair: string;
8186
+ profitPct: number;
8187
+ profitAbs: number;
8188
+ openDate: string;
8189
+ closeDate: string;
8190
+ exitReason?: string | undefined;
8191
+ }[] | undefined;
7736
8192
  }[][] | {
7737
- traderId: string;
8193
+ traderId: string | {};
7738
8194
  traderName: string;
7739
- strategyId?: string | undefined;
8195
+ strategyId?: string | {} | undefined;
7740
8196
  strategyName?: string | undefined;
7741
8197
  exchange: string;
7742
8198
  stakeCurrency: string;
@@ -7803,6 +8259,14 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7803
8259
  relProfit: number;
7804
8260
  tradeCount: number;
7805
8261
  }[];
8262
+ recentClosedTrades?: {
8263
+ pair: string;
8264
+ profitPct: number;
8265
+ profitAbs: number;
8266
+ openDate: string;
8267
+ closeDate: string;
8268
+ exitReason?: string | undefined;
8269
+ }[] | undefined;
7806
8270
  }[];
7807
8271
  } & {}> | undefined;
7808
8272
  triage?: Partial<{
@@ -7812,7 +8276,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7812
8276
  triggers: {
7813
8277
  type: string;
7814
8278
  signal?: string | undefined;
7815
- traderId?: string | undefined;
8279
+ traderId?: string | {} | undefined;
7816
8280
  detail: string;
7817
8281
  severity: string;
7818
8282
  }[];
@@ -7824,7 +8288,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7824
8288
  triggers: {
7825
8289
  type: string;
7826
8290
  signal?: string | undefined;
7827
- traderId?: string | undefined;
8291
+ traderId?: string | {} | undefined;
7828
8292
  detail: string;
7829
8293
  severity: string;
7830
8294
  }[];
@@ -7836,7 +8300,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7836
8300
  triggers: {
7837
8301
  type: string;
7838
8302
  signal?: string | undefined;
7839
- traderId?: string | undefined;
8303
+ traderId?: string | {} | undefined;
7840
8304
  detail: string;
7841
8305
  severity: string;
7842
8306
  }[];
@@ -7848,7 +8312,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7848
8312
  triggers: {
7849
8313
  type: string;
7850
8314
  signal?: string | undefined;
7851
- traderId?: string | undefined;
8315
+ traderId?: string | {} | undefined;
7852
8316
  detail: string;
7853
8317
  severity: string;
7854
8318
  }[];
@@ -7860,7 +8324,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7860
8324
  triggers: {
7861
8325
  type: string;
7862
8326
  signal?: string | undefined;
7863
- traderId?: string | undefined;
8327
+ traderId?: string | {} | undefined;
7864
8328
  detail: string;
7865
8329
  severity: string;
7866
8330
  }[];
@@ -7872,7 +8336,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7872
8336
  triggers: {
7873
8337
  type: string;
7874
8338
  signal?: string | undefined;
7875
- traderId?: string | undefined;
8339
+ traderId?: string | {} | undefined;
7876
8340
  detail: string;
7877
8341
  severity: string;
7878
8342
  }[];
@@ -7883,7 +8347,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7883
8347
  triggers: {
7884
8348
  type: string;
7885
8349
  signal?: string | undefined;
7886
- traderId?: string | undefined;
8350
+ traderId?: string | {} | undefined;
7887
8351
  detail: string;
7888
8352
  severity: string;
7889
8353
  }[];
@@ -7895,7 +8359,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7895
8359
  triggers: {
7896
8360
  type: string;
7897
8361
  signal?: string | undefined;
7898
- traderId?: string | undefined;
8362
+ traderId?: string | {} | undefined;
7899
8363
  detail: string;
7900
8364
  severity: string;
7901
8365
  }[];
@@ -7906,7 +8370,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7906
8370
  triggers: {
7907
8371
  type: string;
7908
8372
  signal?: string | undefined;
7909
- traderId?: string | undefined;
8373
+ traderId?: string | {} | undefined;
7910
8374
  detail: string;
7911
8375
  severity: string;
7912
8376
  }[];
@@ -7918,7 +8382,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7918
8382
  triggers: {
7919
8383
  type: string;
7920
8384
  signal?: string | undefined;
7921
- traderId?: string | undefined;
8385
+ traderId?: string | {} | undefined;
7922
8386
  detail: string;
7923
8387
  severity: string;
7924
8388
  }[];
@@ -7934,14 +8398,14 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
7934
8398
  $nin: "daily" | "intraday" | "weekly" | ("daily" | "intraday" | "weekly")[];
7935
8399
  } & {}> | undefined;
7936
8400
  userId?: string | Partial<{
7937
- $gt: string;
7938
- $gte: string;
7939
- $lt: string;
7940
- $lte: string;
7941
- $ne: string;
7942
- $in: string | string[];
7943
- $nin: string | string[];
7944
- } & {}> | undefined;
8401
+ $gt: string | {};
8402
+ $gte: string | {};
8403
+ $lt: string | {};
8404
+ $lte: string | {};
8405
+ $ne: string | {};
8406
+ $in: string | (string | {})[] | {};
8407
+ $nin: string | (string | {})[] | {};
8408
+ } & {}> | {} | undefined;
7945
8409
  } | {
7946
8410
  $or: {
7947
8411
  _id?: string | Partial<{
@@ -8436,9 +8900,9 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
8436
8900
  $nin: string | string[];
8437
8901
  } & {}> | undefined;
8438
8902
  traders?: {
8439
- traderId: string;
8903
+ traderId: string | {};
8440
8904
  traderName: string;
8441
- strategyId?: string | undefined;
8905
+ strategyId?: string | {} | undefined;
8442
8906
  strategyName?: string | undefined;
8443
8907
  exchange: string;
8444
8908
  stakeCurrency: string;
@@ -8505,11 +8969,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
8505
8969
  relProfit: number;
8506
8970
  tradeCount: number;
8507
8971
  }[];
8972
+ recentClosedTrades?: {
8973
+ pair: string;
8974
+ profitPct: number;
8975
+ profitAbs: number;
8976
+ openDate: string;
8977
+ closeDate: string;
8978
+ exitReason?: string | undefined;
8979
+ }[] | undefined;
8508
8980
  }[] | Partial<{
8509
8981
  $gt: {
8510
- traderId: string;
8982
+ traderId: string | {};
8511
8983
  traderName: string;
8512
- strategyId?: string | undefined;
8984
+ strategyId?: string | {} | undefined;
8513
8985
  strategyName?: string | undefined;
8514
8986
  exchange: string;
8515
8987
  stakeCurrency: string;
@@ -8576,11 +9048,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
8576
9048
  relProfit: number;
8577
9049
  tradeCount: number;
8578
9050
  }[];
9051
+ recentClosedTrades?: {
9052
+ pair: string;
9053
+ profitPct: number;
9054
+ profitAbs: number;
9055
+ openDate: string;
9056
+ closeDate: string;
9057
+ exitReason?: string | undefined;
9058
+ }[] | undefined;
8579
9059
  }[];
8580
9060
  $gte: {
8581
- traderId: string;
9061
+ traderId: string | {};
8582
9062
  traderName: string;
8583
- strategyId?: string | undefined;
9063
+ strategyId?: string | {} | undefined;
8584
9064
  strategyName?: string | undefined;
8585
9065
  exchange: string;
8586
9066
  stakeCurrency: string;
@@ -8647,11 +9127,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
8647
9127
  relProfit: number;
8648
9128
  tradeCount: number;
8649
9129
  }[];
9130
+ recentClosedTrades?: {
9131
+ pair: string;
9132
+ profitPct: number;
9133
+ profitAbs: number;
9134
+ openDate: string;
9135
+ closeDate: string;
9136
+ exitReason?: string | undefined;
9137
+ }[] | undefined;
8650
9138
  }[];
8651
9139
  $lt: {
8652
- traderId: string;
9140
+ traderId: string | {};
8653
9141
  traderName: string;
8654
- strategyId?: string | undefined;
9142
+ strategyId?: string | {} | undefined;
8655
9143
  strategyName?: string | undefined;
8656
9144
  exchange: string;
8657
9145
  stakeCurrency: string;
@@ -8718,11 +9206,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
8718
9206
  relProfit: number;
8719
9207
  tradeCount: number;
8720
9208
  }[];
9209
+ recentClosedTrades?: {
9210
+ pair: string;
9211
+ profitPct: number;
9212
+ profitAbs: number;
9213
+ openDate: string;
9214
+ closeDate: string;
9215
+ exitReason?: string | undefined;
9216
+ }[] | undefined;
8721
9217
  }[];
8722
9218
  $lte: {
8723
- traderId: string;
9219
+ traderId: string | {};
8724
9220
  traderName: string;
8725
- strategyId?: string | undefined;
9221
+ strategyId?: string | {} | undefined;
8726
9222
  strategyName?: string | undefined;
8727
9223
  exchange: string;
8728
9224
  stakeCurrency: string;
@@ -8789,11 +9285,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
8789
9285
  relProfit: number;
8790
9286
  tradeCount: number;
8791
9287
  }[];
9288
+ recentClosedTrades?: {
9289
+ pair: string;
9290
+ profitPct: number;
9291
+ profitAbs: number;
9292
+ openDate: string;
9293
+ closeDate: string;
9294
+ exitReason?: string | undefined;
9295
+ }[] | undefined;
8792
9296
  }[];
8793
9297
  $ne: {
8794
- traderId: string;
9298
+ traderId: string | {};
8795
9299
  traderName: string;
8796
- strategyId?: string | undefined;
9300
+ strategyId?: string | {} | undefined;
8797
9301
  strategyName?: string | undefined;
8798
9302
  exchange: string;
8799
9303
  stakeCurrency: string;
@@ -8860,11 +9364,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
8860
9364
  relProfit: number;
8861
9365
  tradeCount: number;
8862
9366
  }[];
9367
+ recentClosedTrades?: {
9368
+ pair: string;
9369
+ profitPct: number;
9370
+ profitAbs: number;
9371
+ openDate: string;
9372
+ closeDate: string;
9373
+ exitReason?: string | undefined;
9374
+ }[] | undefined;
8863
9375
  }[];
8864
9376
  $in: {
8865
- traderId: string;
9377
+ traderId: string | {};
8866
9378
  traderName: string;
8867
- strategyId?: string | undefined;
9379
+ strategyId?: string | {} | undefined;
8868
9380
  strategyName?: string | undefined;
8869
9381
  exchange: string;
8870
9382
  stakeCurrency: string;
@@ -8931,10 +9443,18 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
8931
9443
  relProfit: number;
8932
9444
  tradeCount: number;
8933
9445
  }[];
9446
+ recentClosedTrades?: {
9447
+ pair: string;
9448
+ profitPct: number;
9449
+ profitAbs: number;
9450
+ openDate: string;
9451
+ closeDate: string;
9452
+ exitReason?: string | undefined;
9453
+ }[] | undefined;
8934
9454
  }[][] | {
8935
- traderId: string;
9455
+ traderId: string | {};
8936
9456
  traderName: string;
8937
- strategyId?: string | undefined;
9457
+ strategyId?: string | {} | undefined;
8938
9458
  strategyName?: string | undefined;
8939
9459
  exchange: string;
8940
9460
  stakeCurrency: string;
@@ -9001,11 +9521,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9001
9521
  relProfit: number;
9002
9522
  tradeCount: number;
9003
9523
  }[];
9524
+ recentClosedTrades?: {
9525
+ pair: string;
9526
+ profitPct: number;
9527
+ profitAbs: number;
9528
+ openDate: string;
9529
+ closeDate: string;
9530
+ exitReason?: string | undefined;
9531
+ }[] | undefined;
9004
9532
  }[];
9005
9533
  $nin: {
9006
- traderId: string;
9534
+ traderId: string | {};
9007
9535
  traderName: string;
9008
- strategyId?: string | undefined;
9536
+ strategyId?: string | {} | undefined;
9009
9537
  strategyName?: string | undefined;
9010
9538
  exchange: string;
9011
9539
  stakeCurrency: string;
@@ -9072,10 +9600,18 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9072
9600
  relProfit: number;
9073
9601
  tradeCount: number;
9074
9602
  }[];
9603
+ recentClosedTrades?: {
9604
+ pair: string;
9605
+ profitPct: number;
9606
+ profitAbs: number;
9607
+ openDate: string;
9608
+ closeDate: string;
9609
+ exitReason?: string | undefined;
9610
+ }[] | undefined;
9075
9611
  }[][] | {
9076
- traderId: string;
9612
+ traderId: string | {};
9077
9613
  traderName: string;
9078
- strategyId?: string | undefined;
9614
+ strategyId?: string | {} | undefined;
9079
9615
  strategyName?: string | undefined;
9080
9616
  exchange: string;
9081
9617
  stakeCurrency: string;
@@ -9142,6 +9678,14 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9142
9678
  relProfit: number;
9143
9679
  tradeCount: number;
9144
9680
  }[];
9681
+ recentClosedTrades?: {
9682
+ pair: string;
9683
+ profitPct: number;
9684
+ profitAbs: number;
9685
+ openDate: string;
9686
+ closeDate: string;
9687
+ exitReason?: string | undefined;
9688
+ }[] | undefined;
9145
9689
  }[];
9146
9690
  } & {}> | undefined;
9147
9691
  triage?: Partial<{
@@ -9151,7 +9695,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9151
9695
  triggers: {
9152
9696
  type: string;
9153
9697
  signal?: string | undefined;
9154
- traderId?: string | undefined;
9698
+ traderId?: string | {} | undefined;
9155
9699
  detail: string;
9156
9700
  severity: string;
9157
9701
  }[];
@@ -9163,7 +9707,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9163
9707
  triggers: {
9164
9708
  type: string;
9165
9709
  signal?: string | undefined;
9166
- traderId?: string | undefined;
9710
+ traderId?: string | {} | undefined;
9167
9711
  detail: string;
9168
9712
  severity: string;
9169
9713
  }[];
@@ -9175,7 +9719,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9175
9719
  triggers: {
9176
9720
  type: string;
9177
9721
  signal?: string | undefined;
9178
- traderId?: string | undefined;
9722
+ traderId?: string | {} | undefined;
9179
9723
  detail: string;
9180
9724
  severity: string;
9181
9725
  }[];
@@ -9187,7 +9731,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9187
9731
  triggers: {
9188
9732
  type: string;
9189
9733
  signal?: string | undefined;
9190
- traderId?: string | undefined;
9734
+ traderId?: string | {} | undefined;
9191
9735
  detail: string;
9192
9736
  severity: string;
9193
9737
  }[];
@@ -9199,7 +9743,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9199
9743
  triggers: {
9200
9744
  type: string;
9201
9745
  signal?: string | undefined;
9202
- traderId?: string | undefined;
9746
+ traderId?: string | {} | undefined;
9203
9747
  detail: string;
9204
9748
  severity: string;
9205
9749
  }[];
@@ -9211,7 +9755,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9211
9755
  triggers: {
9212
9756
  type: string;
9213
9757
  signal?: string | undefined;
9214
- traderId?: string | undefined;
9758
+ traderId?: string | {} | undefined;
9215
9759
  detail: string;
9216
9760
  severity: string;
9217
9761
  }[];
@@ -9222,7 +9766,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9222
9766
  triggers: {
9223
9767
  type: string;
9224
9768
  signal?: string | undefined;
9225
- traderId?: string | undefined;
9769
+ traderId?: string | {} | undefined;
9226
9770
  detail: string;
9227
9771
  severity: string;
9228
9772
  }[];
@@ -9234,7 +9778,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9234
9778
  triggers: {
9235
9779
  type: string;
9236
9780
  signal?: string | undefined;
9237
- traderId?: string | undefined;
9781
+ traderId?: string | {} | undefined;
9238
9782
  detail: string;
9239
9783
  severity: string;
9240
9784
  }[];
@@ -9245,7 +9789,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9245
9789
  triggers: {
9246
9790
  type: string;
9247
9791
  signal?: string | undefined;
9248
- traderId?: string | undefined;
9792
+ traderId?: string | {} | undefined;
9249
9793
  detail: string;
9250
9794
  severity: string;
9251
9795
  }[];
@@ -9257,7 +9801,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9257
9801
  triggers: {
9258
9802
  type: string;
9259
9803
  signal?: string | undefined;
9260
- traderId?: string | undefined;
9804
+ traderId?: string | {} | undefined;
9261
9805
  detail: string;
9262
9806
  severity: string;
9263
9807
  }[];
@@ -9273,14 +9817,14 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9273
9817
  $nin: "daily" | "intraday" | "weekly" | ("daily" | "intraday" | "weekly")[];
9274
9818
  } & {}> | undefined;
9275
9819
  userId?: string | Partial<{
9276
- $gt: string;
9277
- $gte: string;
9278
- $lt: string;
9279
- $lte: string;
9280
- $ne: string;
9281
- $in: string | string[];
9282
- $nin: string | string[];
9283
- } & {}> | undefined;
9820
+ $gt: string | {};
9821
+ $gte: string | {};
9822
+ $lt: string | {};
9823
+ $lte: string | {};
9824
+ $ne: string | {};
9825
+ $in: string | (string | {})[] | {};
9826
+ $nin: string | (string | {})[] | {};
9827
+ } & {}> | {} | undefined;
9284
9828
  }[];
9285
9829
  })[];
9286
9830
  $or: {
@@ -9776,9 +10320,9 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9776
10320
  $nin: string | string[];
9777
10321
  } & {}> | undefined;
9778
10322
  traders?: {
9779
- traderId: string;
10323
+ traderId: string | {};
9780
10324
  traderName: string;
9781
- strategyId?: string | undefined;
10325
+ strategyId?: string | {} | undefined;
9782
10326
  strategyName?: string | undefined;
9783
10327
  exchange: string;
9784
10328
  stakeCurrency: string;
@@ -9845,11 +10389,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9845
10389
  relProfit: number;
9846
10390
  tradeCount: number;
9847
10391
  }[];
10392
+ recentClosedTrades?: {
10393
+ pair: string;
10394
+ profitPct: number;
10395
+ profitAbs: number;
10396
+ openDate: string;
10397
+ closeDate: string;
10398
+ exitReason?: string | undefined;
10399
+ }[] | undefined;
9848
10400
  }[] | Partial<{
9849
10401
  $gt: {
9850
- traderId: string;
10402
+ traderId: string | {};
9851
10403
  traderName: string;
9852
- strategyId?: string | undefined;
10404
+ strategyId?: string | {} | undefined;
9853
10405
  strategyName?: string | undefined;
9854
10406
  exchange: string;
9855
10407
  stakeCurrency: string;
@@ -9916,11 +10468,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9916
10468
  relProfit: number;
9917
10469
  tradeCount: number;
9918
10470
  }[];
10471
+ recentClosedTrades?: {
10472
+ pair: string;
10473
+ profitPct: number;
10474
+ profitAbs: number;
10475
+ openDate: string;
10476
+ closeDate: string;
10477
+ exitReason?: string | undefined;
10478
+ }[] | undefined;
9919
10479
  }[];
9920
10480
  $gte: {
9921
- traderId: string;
10481
+ traderId: string | {};
9922
10482
  traderName: string;
9923
- strategyId?: string | undefined;
10483
+ strategyId?: string | {} | undefined;
9924
10484
  strategyName?: string | undefined;
9925
10485
  exchange: string;
9926
10486
  stakeCurrency: string;
@@ -9987,11 +10547,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
9987
10547
  relProfit: number;
9988
10548
  tradeCount: number;
9989
10549
  }[];
10550
+ recentClosedTrades?: {
10551
+ pair: string;
10552
+ profitPct: number;
10553
+ profitAbs: number;
10554
+ openDate: string;
10555
+ closeDate: string;
10556
+ exitReason?: string | undefined;
10557
+ }[] | undefined;
9990
10558
  }[];
9991
10559
  $lt: {
9992
- traderId: string;
10560
+ traderId: string | {};
9993
10561
  traderName: string;
9994
- strategyId?: string | undefined;
10562
+ strategyId?: string | {} | undefined;
9995
10563
  strategyName?: string | undefined;
9996
10564
  exchange: string;
9997
10565
  stakeCurrency: string;
@@ -10058,11 +10626,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10058
10626
  relProfit: number;
10059
10627
  tradeCount: number;
10060
10628
  }[];
10629
+ recentClosedTrades?: {
10630
+ pair: string;
10631
+ profitPct: number;
10632
+ profitAbs: number;
10633
+ openDate: string;
10634
+ closeDate: string;
10635
+ exitReason?: string | undefined;
10636
+ }[] | undefined;
10061
10637
  }[];
10062
10638
  $lte: {
10063
- traderId: string;
10639
+ traderId: string | {};
10064
10640
  traderName: string;
10065
- strategyId?: string | undefined;
10641
+ strategyId?: string | {} | undefined;
10066
10642
  strategyName?: string | undefined;
10067
10643
  exchange: string;
10068
10644
  stakeCurrency: string;
@@ -10129,11 +10705,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10129
10705
  relProfit: number;
10130
10706
  tradeCount: number;
10131
10707
  }[];
10708
+ recentClosedTrades?: {
10709
+ pair: string;
10710
+ profitPct: number;
10711
+ profitAbs: number;
10712
+ openDate: string;
10713
+ closeDate: string;
10714
+ exitReason?: string | undefined;
10715
+ }[] | undefined;
10132
10716
  }[];
10133
10717
  $ne: {
10134
- traderId: string;
10718
+ traderId: string | {};
10135
10719
  traderName: string;
10136
- strategyId?: string | undefined;
10720
+ strategyId?: string | {} | undefined;
10137
10721
  strategyName?: string | undefined;
10138
10722
  exchange: string;
10139
10723
  stakeCurrency: string;
@@ -10200,11 +10784,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10200
10784
  relProfit: number;
10201
10785
  tradeCount: number;
10202
10786
  }[];
10787
+ recentClosedTrades?: {
10788
+ pair: string;
10789
+ profitPct: number;
10790
+ profitAbs: number;
10791
+ openDate: string;
10792
+ closeDate: string;
10793
+ exitReason?: string | undefined;
10794
+ }[] | undefined;
10203
10795
  }[];
10204
10796
  $in: {
10205
- traderId: string;
10797
+ traderId: string | {};
10206
10798
  traderName: string;
10207
- strategyId?: string | undefined;
10799
+ strategyId?: string | {} | undefined;
10208
10800
  strategyName?: string | undefined;
10209
10801
  exchange: string;
10210
10802
  stakeCurrency: string;
@@ -10271,10 +10863,18 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10271
10863
  relProfit: number;
10272
10864
  tradeCount: number;
10273
10865
  }[];
10866
+ recentClosedTrades?: {
10867
+ pair: string;
10868
+ profitPct: number;
10869
+ profitAbs: number;
10870
+ openDate: string;
10871
+ closeDate: string;
10872
+ exitReason?: string | undefined;
10873
+ }[] | undefined;
10274
10874
  }[][] | {
10275
- traderId: string;
10875
+ traderId: string | {};
10276
10876
  traderName: string;
10277
- strategyId?: string | undefined;
10877
+ strategyId?: string | {} | undefined;
10278
10878
  strategyName?: string | undefined;
10279
10879
  exchange: string;
10280
10880
  stakeCurrency: string;
@@ -10341,11 +10941,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10341
10941
  relProfit: number;
10342
10942
  tradeCount: number;
10343
10943
  }[];
10944
+ recentClosedTrades?: {
10945
+ pair: string;
10946
+ profitPct: number;
10947
+ profitAbs: number;
10948
+ openDate: string;
10949
+ closeDate: string;
10950
+ exitReason?: string | undefined;
10951
+ }[] | undefined;
10344
10952
  }[];
10345
10953
  $nin: {
10346
- traderId: string;
10954
+ traderId: string | {};
10347
10955
  traderName: string;
10348
- strategyId?: string | undefined;
10956
+ strategyId?: string | {} | undefined;
10349
10957
  strategyName?: string | undefined;
10350
10958
  exchange: string;
10351
10959
  stakeCurrency: string;
@@ -10412,10 +11020,18 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10412
11020
  relProfit: number;
10413
11021
  tradeCount: number;
10414
11022
  }[];
11023
+ recentClosedTrades?: {
11024
+ pair: string;
11025
+ profitPct: number;
11026
+ profitAbs: number;
11027
+ openDate: string;
11028
+ closeDate: string;
11029
+ exitReason?: string | undefined;
11030
+ }[] | undefined;
10415
11031
  }[][] | {
10416
- traderId: string;
11032
+ traderId: string | {};
10417
11033
  traderName: string;
10418
- strategyId?: string | undefined;
11034
+ strategyId?: string | {} | undefined;
10419
11035
  strategyName?: string | undefined;
10420
11036
  exchange: string;
10421
11037
  stakeCurrency: string;
@@ -10482,6 +11098,14 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10482
11098
  relProfit: number;
10483
11099
  tradeCount: number;
10484
11100
  }[];
11101
+ recentClosedTrades?: {
11102
+ pair: string;
11103
+ profitPct: number;
11104
+ profitAbs: number;
11105
+ openDate: string;
11106
+ closeDate: string;
11107
+ exitReason?: string | undefined;
11108
+ }[] | undefined;
10485
11109
  }[];
10486
11110
  } & {}> | undefined;
10487
11111
  triage?: Partial<{
@@ -10491,7 +11115,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10491
11115
  triggers: {
10492
11116
  type: string;
10493
11117
  signal?: string | undefined;
10494
- traderId?: string | undefined;
11118
+ traderId?: string | {} | undefined;
10495
11119
  detail: string;
10496
11120
  severity: string;
10497
11121
  }[];
@@ -10503,7 +11127,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10503
11127
  triggers: {
10504
11128
  type: string;
10505
11129
  signal?: string | undefined;
10506
- traderId?: string | undefined;
11130
+ traderId?: string | {} | undefined;
10507
11131
  detail: string;
10508
11132
  severity: string;
10509
11133
  }[];
@@ -10515,7 +11139,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10515
11139
  triggers: {
10516
11140
  type: string;
10517
11141
  signal?: string | undefined;
10518
- traderId?: string | undefined;
11142
+ traderId?: string | {} | undefined;
10519
11143
  detail: string;
10520
11144
  severity: string;
10521
11145
  }[];
@@ -10527,7 +11151,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10527
11151
  triggers: {
10528
11152
  type: string;
10529
11153
  signal?: string | undefined;
10530
- traderId?: string | undefined;
11154
+ traderId?: string | {} | undefined;
10531
11155
  detail: string;
10532
11156
  severity: string;
10533
11157
  }[];
@@ -10539,7 +11163,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10539
11163
  triggers: {
10540
11164
  type: string;
10541
11165
  signal?: string | undefined;
10542
- traderId?: string | undefined;
11166
+ traderId?: string | {} | undefined;
10543
11167
  detail: string;
10544
11168
  severity: string;
10545
11169
  }[];
@@ -10551,7 +11175,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10551
11175
  triggers: {
10552
11176
  type: string;
10553
11177
  signal?: string | undefined;
10554
- traderId?: string | undefined;
11178
+ traderId?: string | {} | undefined;
10555
11179
  detail: string;
10556
11180
  severity: string;
10557
11181
  }[];
@@ -10562,7 +11186,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10562
11186
  triggers: {
10563
11187
  type: string;
10564
11188
  signal?: string | undefined;
10565
- traderId?: string | undefined;
11189
+ traderId?: string | {} | undefined;
10566
11190
  detail: string;
10567
11191
  severity: string;
10568
11192
  }[];
@@ -10574,7 +11198,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10574
11198
  triggers: {
10575
11199
  type: string;
10576
11200
  signal?: string | undefined;
10577
- traderId?: string | undefined;
11201
+ traderId?: string | {} | undefined;
10578
11202
  detail: string;
10579
11203
  severity: string;
10580
11204
  }[];
@@ -10585,7 +11209,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10585
11209
  triggers: {
10586
11210
  type: string;
10587
11211
  signal?: string | undefined;
10588
- traderId?: string | undefined;
11212
+ traderId?: string | {} | undefined;
10589
11213
  detail: string;
10590
11214
  severity: string;
10591
11215
  }[];
@@ -10597,7 +11221,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10597
11221
  triggers: {
10598
11222
  type: string;
10599
11223
  signal?: string | undefined;
10600
- traderId?: string | undefined;
11224
+ traderId?: string | {} | undefined;
10601
11225
  detail: string;
10602
11226
  severity: string;
10603
11227
  }[];
@@ -10613,14 +11237,14 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
10613
11237
  $nin: "daily" | "intraday" | "weekly" | ("daily" | "intraday" | "weekly")[];
10614
11238
  } & {}> | undefined;
10615
11239
  userId?: string | Partial<{
10616
- $gt: string;
10617
- $gte: string;
10618
- $lt: string;
10619
- $lte: string;
10620
- $ne: string;
10621
- $in: string | string[];
10622
- $nin: string | string[];
10623
- } & {}> | undefined;
11240
+ $gt: string | {};
11241
+ $gte: string | {};
11242
+ $lt: string | {};
11243
+ $lte: string | {};
11244
+ $ne: string | {};
11245
+ $in: string | (string | {})[] | {};
11246
+ $nin: string | (string | {})[] | {};
11247
+ } & {}> | {} | undefined;
10624
11248
  }[];
10625
11249
  }> & {
10626
11250
  _id?: string | Partial<{
@@ -11115,9 +11739,9 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11115
11739
  $nin: string | string[];
11116
11740
  } & {}> | undefined;
11117
11741
  traders?: {
11118
- traderId: string;
11742
+ traderId: string | {};
11119
11743
  traderName: string;
11120
- strategyId?: string | undefined;
11744
+ strategyId?: string | {} | undefined;
11121
11745
  strategyName?: string | undefined;
11122
11746
  exchange: string;
11123
11747
  stakeCurrency: string;
@@ -11184,11 +11808,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11184
11808
  relProfit: number;
11185
11809
  tradeCount: number;
11186
11810
  }[];
11811
+ recentClosedTrades?: {
11812
+ pair: string;
11813
+ profitPct: number;
11814
+ profitAbs: number;
11815
+ openDate: string;
11816
+ closeDate: string;
11817
+ exitReason?: string | undefined;
11818
+ }[] | undefined;
11187
11819
  }[] | Partial<{
11188
11820
  $gt: {
11189
- traderId: string;
11821
+ traderId: string | {};
11190
11822
  traderName: string;
11191
- strategyId?: string | undefined;
11823
+ strategyId?: string | {} | undefined;
11192
11824
  strategyName?: string | undefined;
11193
11825
  exchange: string;
11194
11826
  stakeCurrency: string;
@@ -11255,11 +11887,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11255
11887
  relProfit: number;
11256
11888
  tradeCount: number;
11257
11889
  }[];
11890
+ recentClosedTrades?: {
11891
+ pair: string;
11892
+ profitPct: number;
11893
+ profitAbs: number;
11894
+ openDate: string;
11895
+ closeDate: string;
11896
+ exitReason?: string | undefined;
11897
+ }[] | undefined;
11258
11898
  }[];
11259
11899
  $gte: {
11260
- traderId: string;
11900
+ traderId: string | {};
11261
11901
  traderName: string;
11262
- strategyId?: string | undefined;
11902
+ strategyId?: string | {} | undefined;
11263
11903
  strategyName?: string | undefined;
11264
11904
  exchange: string;
11265
11905
  stakeCurrency: string;
@@ -11326,11 +11966,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11326
11966
  relProfit: number;
11327
11967
  tradeCount: number;
11328
11968
  }[];
11969
+ recentClosedTrades?: {
11970
+ pair: string;
11971
+ profitPct: number;
11972
+ profitAbs: number;
11973
+ openDate: string;
11974
+ closeDate: string;
11975
+ exitReason?: string | undefined;
11976
+ }[] | undefined;
11329
11977
  }[];
11330
11978
  $lt: {
11331
- traderId: string;
11979
+ traderId: string | {};
11332
11980
  traderName: string;
11333
- strategyId?: string | undefined;
11981
+ strategyId?: string | {} | undefined;
11334
11982
  strategyName?: string | undefined;
11335
11983
  exchange: string;
11336
11984
  stakeCurrency: string;
@@ -11397,11 +12045,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11397
12045
  relProfit: number;
11398
12046
  tradeCount: number;
11399
12047
  }[];
12048
+ recentClosedTrades?: {
12049
+ pair: string;
12050
+ profitPct: number;
12051
+ profitAbs: number;
12052
+ openDate: string;
12053
+ closeDate: string;
12054
+ exitReason?: string | undefined;
12055
+ }[] | undefined;
11400
12056
  }[];
11401
12057
  $lte: {
11402
- traderId: string;
12058
+ traderId: string | {};
11403
12059
  traderName: string;
11404
- strategyId?: string | undefined;
12060
+ strategyId?: string | {} | undefined;
11405
12061
  strategyName?: string | undefined;
11406
12062
  exchange: string;
11407
12063
  stakeCurrency: string;
@@ -11468,11 +12124,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11468
12124
  relProfit: number;
11469
12125
  tradeCount: number;
11470
12126
  }[];
12127
+ recentClosedTrades?: {
12128
+ pair: string;
12129
+ profitPct: number;
12130
+ profitAbs: number;
12131
+ openDate: string;
12132
+ closeDate: string;
12133
+ exitReason?: string | undefined;
12134
+ }[] | undefined;
11471
12135
  }[];
11472
12136
  $ne: {
11473
- traderId: string;
12137
+ traderId: string | {};
11474
12138
  traderName: string;
11475
- strategyId?: string | undefined;
12139
+ strategyId?: string | {} | undefined;
11476
12140
  strategyName?: string | undefined;
11477
12141
  exchange: string;
11478
12142
  stakeCurrency: string;
@@ -11539,11 +12203,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11539
12203
  relProfit: number;
11540
12204
  tradeCount: number;
11541
12205
  }[];
12206
+ recentClosedTrades?: {
12207
+ pair: string;
12208
+ profitPct: number;
12209
+ profitAbs: number;
12210
+ openDate: string;
12211
+ closeDate: string;
12212
+ exitReason?: string | undefined;
12213
+ }[] | undefined;
11542
12214
  }[];
11543
12215
  $in: {
11544
- traderId: string;
12216
+ traderId: string | {};
11545
12217
  traderName: string;
11546
- strategyId?: string | undefined;
12218
+ strategyId?: string | {} | undefined;
11547
12219
  strategyName?: string | undefined;
11548
12220
  exchange: string;
11549
12221
  stakeCurrency: string;
@@ -11610,10 +12282,18 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11610
12282
  relProfit: number;
11611
12283
  tradeCount: number;
11612
12284
  }[];
12285
+ recentClosedTrades?: {
12286
+ pair: string;
12287
+ profitPct: number;
12288
+ profitAbs: number;
12289
+ openDate: string;
12290
+ closeDate: string;
12291
+ exitReason?: string | undefined;
12292
+ }[] | undefined;
11613
12293
  }[][] | {
11614
- traderId: string;
12294
+ traderId: string | {};
11615
12295
  traderName: string;
11616
- strategyId?: string | undefined;
12296
+ strategyId?: string | {} | undefined;
11617
12297
  strategyName?: string | undefined;
11618
12298
  exchange: string;
11619
12299
  stakeCurrency: string;
@@ -11680,11 +12360,19 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11680
12360
  relProfit: number;
11681
12361
  tradeCount: number;
11682
12362
  }[];
12363
+ recentClosedTrades?: {
12364
+ pair: string;
12365
+ profitPct: number;
12366
+ profitAbs: number;
12367
+ openDate: string;
12368
+ closeDate: string;
12369
+ exitReason?: string | undefined;
12370
+ }[] | undefined;
11683
12371
  }[];
11684
12372
  $nin: {
11685
- traderId: string;
12373
+ traderId: string | {};
11686
12374
  traderName: string;
11687
- strategyId?: string | undefined;
12375
+ strategyId?: string | {} | undefined;
11688
12376
  strategyName?: string | undefined;
11689
12377
  exchange: string;
11690
12378
  stakeCurrency: string;
@@ -11751,10 +12439,18 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11751
12439
  relProfit: number;
11752
12440
  tradeCount: number;
11753
12441
  }[];
12442
+ recentClosedTrades?: {
12443
+ pair: string;
12444
+ profitPct: number;
12445
+ profitAbs: number;
12446
+ openDate: string;
12447
+ closeDate: string;
12448
+ exitReason?: string | undefined;
12449
+ }[] | undefined;
11754
12450
  }[][] | {
11755
- traderId: string;
12451
+ traderId: string | {};
11756
12452
  traderName: string;
11757
- strategyId?: string | undefined;
12453
+ strategyId?: string | {} | undefined;
11758
12454
  strategyName?: string | undefined;
11759
12455
  exchange: string;
11760
12456
  stakeCurrency: string;
@@ -11821,6 +12517,14 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11821
12517
  relProfit: number;
11822
12518
  tradeCount: number;
11823
12519
  }[];
12520
+ recentClosedTrades?: {
12521
+ pair: string;
12522
+ profitPct: number;
12523
+ profitAbs: number;
12524
+ openDate: string;
12525
+ closeDate: string;
12526
+ exitReason?: string | undefined;
12527
+ }[] | undefined;
11824
12528
  }[];
11825
12529
  } & {}> | undefined;
11826
12530
  triage?: Partial<{
@@ -11830,7 +12534,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11830
12534
  triggers: {
11831
12535
  type: string;
11832
12536
  signal?: string | undefined;
11833
- traderId?: string | undefined;
12537
+ traderId?: string | {} | undefined;
11834
12538
  detail: string;
11835
12539
  severity: string;
11836
12540
  }[];
@@ -11842,7 +12546,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11842
12546
  triggers: {
11843
12547
  type: string;
11844
12548
  signal?: string | undefined;
11845
- traderId?: string | undefined;
12549
+ traderId?: string | {} | undefined;
11846
12550
  detail: string;
11847
12551
  severity: string;
11848
12552
  }[];
@@ -11854,7 +12558,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11854
12558
  triggers: {
11855
12559
  type: string;
11856
12560
  signal?: string | undefined;
11857
- traderId?: string | undefined;
12561
+ traderId?: string | {} | undefined;
11858
12562
  detail: string;
11859
12563
  severity: string;
11860
12564
  }[];
@@ -11866,7 +12570,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11866
12570
  triggers: {
11867
12571
  type: string;
11868
12572
  signal?: string | undefined;
11869
- traderId?: string | undefined;
12573
+ traderId?: string | {} | undefined;
11870
12574
  detail: string;
11871
12575
  severity: string;
11872
12576
  }[];
@@ -11878,7 +12582,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11878
12582
  triggers: {
11879
12583
  type: string;
11880
12584
  signal?: string | undefined;
11881
- traderId?: string | undefined;
12585
+ traderId?: string | {} | undefined;
11882
12586
  detail: string;
11883
12587
  severity: string;
11884
12588
  }[];
@@ -11890,7 +12594,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11890
12594
  triggers: {
11891
12595
  type: string;
11892
12596
  signal?: string | undefined;
11893
- traderId?: string | undefined;
12597
+ traderId?: string | {} | undefined;
11894
12598
  detail: string;
11895
12599
  severity: string;
11896
12600
  }[];
@@ -11901,7 +12605,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11901
12605
  triggers: {
11902
12606
  type: string;
11903
12607
  signal?: string | undefined;
11904
- traderId?: string | undefined;
12608
+ traderId?: string | {} | undefined;
11905
12609
  detail: string;
11906
12610
  severity: string;
11907
12611
  }[];
@@ -11913,7 +12617,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11913
12617
  triggers: {
11914
12618
  type: string;
11915
12619
  signal?: string | undefined;
11916
- traderId?: string | undefined;
12620
+ traderId?: string | {} | undefined;
11917
12621
  detail: string;
11918
12622
  severity: string;
11919
12623
  }[];
@@ -11924,7 +12628,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11924
12628
  triggers: {
11925
12629
  type: string;
11926
12630
  signal?: string | undefined;
11927
- traderId?: string | undefined;
12631
+ traderId?: string | {} | undefined;
11928
12632
  detail: string;
11929
12633
  severity: string;
11930
12634
  }[];
@@ -11936,7 +12640,7 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11936
12640
  triggers: {
11937
12641
  type: string;
11938
12642
  signal?: string | undefined;
11939
- traderId?: string | undefined;
12643
+ traderId?: string | {} | undefined;
11940
12644
  detail: string;
11941
12645
  severity: string;
11942
12646
  }[];
@@ -11952,12 +12656,12 @@ export declare const snapshotQueryResolver: import("@feathersjs/schema").Resolve
11952
12656
  $nin: "daily" | "intraday" | "weekly" | ("daily" | "intraday" | "weekly")[];
11953
12657
  } & {}> | undefined;
11954
12658
  userId?: string | Partial<{
11955
- $gt: string;
11956
- $gte: string;
11957
- $lt: string;
11958
- $lte: string;
11959
- $ne: string;
11960
- $in: string | string[];
11961
- $nin: string | string[];
11962
- } & {}> | undefined;
12659
+ $gt: string | {};
12660
+ $gte: string | {};
12661
+ $lt: string | {};
12662
+ $lte: string | {};
12663
+ $ne: string | {};
12664
+ $in: string | (string | {})[] | {};
12665
+ $nin: string | (string | {})[] | {};
12666
+ } & {}> | {} | undefined;
11963
12667
  } & {}, HookContext<SnapshotService<import("./snapshot.class").SnapshotParams>>>;