@cryptorobot.ai/client 1.26.0-dev.1003 → 1.26.0-dev.1005

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 (192) 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.hooks.d.ts +0 -6
  4. package/lib/src/services/advisor/advisor.shared.js +0 -1
  5. package/lib/src/services/advisor/messages/messages.shared.js +0 -1
  6. package/lib/src/services/affiliates/affiliates.class.d.ts +0 -3
  7. package/lib/src/services/affiliates/affiliates.shared.js +0 -1
  8. package/lib/src/services/affiliates/clicks/clicks.shared.js +0 -1
  9. package/lib/src/services/affiliates/comissions/comissions.shared.js +0 -1
  10. package/lib/src/services/affiliates/contracts/contracts.shared.js +0 -1
  11. package/lib/src/services/affiliates/coupons/coupons.shared.js +0 -1
  12. package/lib/src/services/affiliates/links/links.shared.js +0 -1
  13. package/lib/src/services/affiliates/payouts/payouts.shared.js +0 -1
  14. package/lib/src/services/agents/agents.shared.js +0 -1
  15. package/lib/src/services/agents/delete-agent-triggers.hooks.d.ts +0 -3
  16. package/lib/src/services/agents/prepare/prepare.shared.js +0 -1
  17. package/lib/src/services/agents/sessions/conversations/conversations.hooks.d.ts +0 -8
  18. package/lib/src/services/agents/sessions/conversations/conversations.shared.js +0 -1
  19. package/lib/src/services/agents/sessions/sessions.hooks.d.ts +0 -8
  20. package/lib/src/services/agents/sessions/sessions.shared.js +0 -1
  21. package/lib/src/services/agents/update-trigger-rules-with-agent-info.hooks.d.ts +0 -3
  22. package/lib/src/services/auth-management/auth-management.shared.js +0 -2
  23. package/lib/src/services/autotune/apply-params.d.ts +0 -39
  24. package/lib/src/services/autotune/optuna-bridge.d.ts +0 -3
  25. package/lib/src/services/autotune/score.d.ts +0 -25
  26. package/lib/src/services/autotune/storage.d.ts +0 -2
  27. package/lib/src/services/autotune/studies/studies.shared.js +0 -1
  28. package/lib/src/services/autotune/trials/trials.shared.js +0 -1
  29. package/lib/src/services/autotune/usage/usage.shared.js +0 -1
  30. package/lib/src/services/blog/actions/actions.shared.js +0 -1
  31. package/lib/src/services/blog/calendar/calendar.shared.js +0 -1
  32. package/lib/src/services/blog/integrations/integrations.shared.js +0 -1
  33. package/lib/src/services/blog/posts/posts.shared.js +0 -1
  34. package/lib/src/services/blog/queries/queries.shared.js +0 -1
  35. package/lib/src/services/blog/sitemaps/pages/pages.shared.js +0 -1
  36. package/lib/src/services/blog/sitemaps/sitemaps.shared.js +0 -1
  37. package/lib/src/services/blog/suggestions/suggestions.shared.js +0 -1
  38. package/lib/src/services/changelog/changelog.class.d.ts +0 -3
  39. package/lib/src/services/changelog/changelog.helper.d.ts +0 -27
  40. package/lib/src/services/changelog/changelog.shared.js +0 -1
  41. package/lib/src/services/changelog/hooks/parse-from-file.d.ts +0 -4
  42. package/lib/src/services/config/config.shared.js +0 -1
  43. package/lib/src/services/copilot/concerns/concerns.shared.js +0 -1
  44. package/lib/src/services/copilot/decisions/decisions.shared.js +0 -1
  45. package/lib/src/services/copilot/help/help.shared.js +0 -1
  46. package/lib/src/services/copilot/recommendations/recommendations.shared.js +0 -1
  47. package/lib/src/services/currencies/currencies.shared.js +0 -1
  48. package/lib/src/services/custom/custom.shared.js +0 -1
  49. package/lib/src/services/emails/emails.shared.js +0 -1
  50. package/lib/src/services/events/events.shared.js +0 -1
  51. package/lib/src/services/events/triggers/triggers.shared.js +0 -1
  52. package/lib/src/services/events/types/types.shared.js +0 -1
  53. package/lib/src/services/exchanges/arb-signals/arb-signals.class.d.ts +0 -10
  54. package/lib/src/services/exchanges/arb-signals/arb-signals.shared.js +0 -1
  55. package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.class.d.ts +0 -10
  56. package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.shared.js +0 -1
  57. package/lib/src/services/exchanges/balance/balance.shared.js +0 -1
  58. package/lib/src/services/exchanges/deposits/deposits.shared.js +0 -1
  59. package/lib/src/services/exchanges/deposits/sync/sync.shared.js +0 -1
  60. package/lib/src/services/exchanges/download/download.shared.js +0 -1
  61. package/lib/src/services/exchanges/download/webhooks/webhooks.shared.js +0 -1
  62. package/lib/src/services/exchanges/exchanges.shared.js +0 -1
  63. package/lib/src/services/exchanges/ledger/ledger.shared.js +0 -1
  64. package/lib/src/services/exchanges/ledger/sync/sync.shared.js +0 -1
  65. package/lib/src/services/exchanges/markets-stats/markets-stats.class.d.ts +0 -5
  66. package/lib/src/services/exchanges/markets-stats/markets-stats.shared.js +0 -1
  67. package/lib/src/services/exchanges/ohlcv/history/history.shared.js +0 -1
  68. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +0 -1
  69. package/lib/src/services/exchanges/orderbook/orderbook.class.d.ts +0 -11
  70. package/lib/src/services/exchanges/orderbook/orderbook.shared.js +0 -1
  71. package/lib/src/services/exchanges/ticker/ticker.shared.js +0 -1
  72. package/lib/src/services/exchanges/transactions/sync/sync.shared.js +0 -1
  73. package/lib/src/services/exchanges/transactions/transactions.shared.js +0 -1
  74. package/lib/src/services/extensions/extensions.shared.js +0 -1
  75. package/lib/src/services/homepage/homepage.shared.js +0 -1
  76. package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.class.d.ts +0 -12
  77. package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.shared.js +0 -1
  78. package/lib/src/services/insights/etf-flow/etf-flow.shared.js +0 -1
  79. package/lib/src/services/insights/fear-and-greed/fear-and-greed.shared.js +0 -1
  80. package/lib/src/services/insights/global/global.shared.js +0 -1
  81. package/lib/src/services/insights/insights.hooks.d.ts +0 -11
  82. package/lib/src/services/insights/insights.shared.js +0 -1
  83. package/lib/src/services/insights/news/news.class.d.ts +0 -3
  84. package/lib/src/services/insights/news/news.shared.js +0 -1
  85. package/lib/src/services/keys/keys.shared.js +0 -1
  86. package/lib/src/services/knowledges/knowledges.class.d.ts +0 -15
  87. package/lib/src/services/knowledges/knowledges.shared.js +0 -1
  88. package/lib/src/services/mailer/mailer.shared.js +0 -1
  89. package/lib/src/services/marketplaces/marketplaces.shared.js +0 -1
  90. package/lib/src/services/markets/markets.shared.js +0 -1
  91. package/lib/src/services/messages/messages.shared.js +0 -1
  92. package/lib/src/services/models/pods/events/events.shared.js +0 -1
  93. package/lib/src/services/models/pods/pods.shared.js +0 -1
  94. package/lib/src/services/models/presets/presets.shared.js +0 -1
  95. package/lib/src/services/models/signals/history/history.shared.js +0 -1
  96. package/lib/src/services/models/signals/signals-proxy-router.d.ts +0 -19
  97. package/lib/src/services/models/signals/signals.shared.js +0 -1
  98. package/lib/src/services/models/signals/subscriptions/subscriptions.shared.js +0 -3
  99. package/lib/src/services/objectives/objectives.hooks.d.ts +0 -9
  100. package/lib/src/services/objectives/objectives.shared.js +0 -1
  101. package/lib/src/services/plans/plans.shared.js +0 -1
  102. package/lib/src/services/referrals/referrals.shared.js +0 -1
  103. package/lib/src/services/restricted/restricted.d.ts +0 -11
  104. package/lib/src/services/restricted/restricted.shared.js +0 -1
  105. package/lib/src/services/security/events/security-events.shared.js +0 -1
  106. package/lib/src/services/series/balance/balance.shared.js +0 -1
  107. package/lib/src/services/series/performance/performance.shared.js +0 -1
  108. package/lib/src/services/series/performance/performance.usage.examples.d.ts +0 -6
  109. package/lib/src/services/snapshot/snapshot.shared.js +0 -2
  110. package/lib/src/services/store/items/items.shared.js +0 -1
  111. package/lib/src/services/strategies/ai/ai.shared.js +0 -1
  112. package/lib/src/services/strategies/ai/stream/stream.shared.js +0 -1
  113. package/lib/src/services/strategies/backtest/backtest.shared.js +0 -1
  114. package/lib/src/services/strategies/backtest/preflight/preflight.class.d.ts +0 -23
  115. package/lib/src/services/strategies/backtest/preflight/preflight.shared.js +0 -1
  116. package/lib/src/services/strategies/backtest/results/results.shared.js +0 -1
  117. package/lib/src/services/strategies/blob/blob.shared.js +0 -1
  118. package/lib/src/services/strategies/follow/follow.shared.js +0 -1
  119. package/lib/src/services/strategies/generate/generate.schema.d.ts +0 -4
  120. package/lib/src/services/strategies/generate/generate.shared.js +0 -1
  121. package/lib/src/services/strategies/history/history.shared.js +0 -1
  122. package/lib/src/services/strategies/hyperopt/hyperopt-generate-exchange-config.hooks.d.ts +0 -6
  123. package/lib/src/services/strategies/hyperopt/hyperopt-populate-exchange.hooks.d.ts +0 -5
  124. package/lib/src/services/strategies/hyperopt/hyperopt-promote-template.hooks.d.ts +0 -7
  125. package/lib/src/services/strategies/hyperopt/hyperopt-validate-exchange-whitelist.hooks.d.ts +0 -8
  126. package/lib/src/services/strategies/hyperopt/hyperopt-validate-historical-data.hooks.d.ts +0 -7
  127. package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-balance.hooks.d.ts +0 -5
  128. package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-currency.hooks.d.ts +0 -7
  129. package/lib/src/services/strategies/hyperopt/hyperopt-validate.hooks.d.ts +0 -5
  130. package/lib/src/services/strategies/hyperopt/hyperopt-verify-subscription-limits.hooks.d.ts +0 -4
  131. package/lib/src/services/strategies/hyperopt/hyperopt.shared.js +0 -1
  132. package/lib/src/services/strategies/indicators/indicators.shared.js +0 -1
  133. package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +0 -4
  134. package/lib/src/services/strategies/indicators/talib/talib.shared.js +0 -1
  135. package/lib/src/services/strategies/research/research.schema.d.ts +0 -15
  136. package/lib/src/services/strategies/research/research.shared.js +0 -1
  137. package/lib/src/services/strategies/strategies.schema.d.ts +8 -8
  138. package/lib/src/services/strategies/strategies.shared.js +0 -1
  139. package/lib/src/services/strategies/templates/templates.shared.js +0 -1
  140. package/lib/src/services/stripe/charges/charges.shared.js +0 -1
  141. package/lib/src/services/stripe/customers/cards/cards.shared.js +0 -1
  142. package/lib/src/services/stripe/customers/customers.shared.js +0 -1
  143. package/lib/src/services/stripe/customers/paymentintent/paymentintent.shared.js +0 -1
  144. package/lib/src/services/stripe/customers/paymentmethods/paymentmethods.shared.js +0 -1
  145. package/lib/src/services/stripe/customers/subscriptions/subscriptions.shared.js +0 -1
  146. package/lib/src/services/stripe/products/products.shared.js +0 -1
  147. package/lib/src/services/stripe/webhooks/webhooks.shared.js +0 -1
  148. package/lib/src/services/support/support.shared.js +0 -1
  149. package/lib/src/services/tasks/comments/comments.shared.js +0 -1
  150. package/lib/src/services/tasks/tasks.hooks.d.ts +0 -71
  151. package/lib/src/services/tasks/tasks.shared.js +0 -1
  152. package/lib/src/services/tax/research/research.shared.js +0 -1
  153. package/lib/src/services/tax/sessions/conversations/conversations.hooks.d.ts +0 -8
  154. package/lib/src/services/tax/sessions/conversations/conversations.shared.js +0 -1
  155. package/lib/src/services/tax/sessions/sessions.hooks.d.ts +0 -8
  156. package/lib/src/services/tax/sessions/sessions.shared.js +0 -1
  157. package/lib/src/services/telegram/link/link.class.d.ts +0 -8
  158. package/lib/src/services/telegram/link/link.shared.js +0 -1
  159. package/lib/src/services/telegram/telegram.class.d.ts +0 -5
  160. package/lib/src/services/telegram/telegram.shared.js +0 -1
  161. package/lib/src/services/toggles/toggles.shared.js +0 -1
  162. package/lib/src/services/tokens/tokens.shared.js +0 -1
  163. package/lib/src/services/traders/pods/api/api.schema.d.ts +8 -8
  164. package/lib/src/services/traders/pods/api/api.shared.js +0 -1
  165. package/lib/src/services/traders/pods/blob/blob.shared.js +0 -1
  166. package/lib/src/services/traders/pods/events/events.shared.js +0 -1
  167. package/lib/src/services/traders/pods/pods.schema.d.ts +8 -8
  168. package/lib/src/services/traders/pods/pods.shared.js +0 -1
  169. package/lib/src/services/traders/pods/webhooks/webhooks.shared.js +0 -1
  170. package/lib/src/services/traders/traders.shared.js +0 -1
  171. package/lib/src/services/trades/trades.shared.js +0 -1
  172. package/lib/src/services/users/access/access.shared.js +0 -1
  173. package/lib/src/services/users/marketing/campaigns/trial.context.d.ts +0 -11
  174. package/lib/src/services/users/marketing/marketing.class.d.ts +0 -4
  175. package/lib/src/services/users/marketing/marketing.engine.d.ts +0 -20
  176. package/lib/src/services/users/marketing/marketing.shared.js +0 -1
  177. package/lib/src/services/users/onboarding/onboarding.hooks.d.ts +0 -38
  178. package/lib/src/services/users/onboarding/onboarding.shared.js +0 -1
  179. package/lib/src/services/users/onboarding/steps/exchanges.processor.d.ts +0 -5
  180. package/lib/src/services/users/onboarding/steps/notifications.processor.d.ts +0 -4
  181. package/lib/src/services/users/onboarding/steps/preferences.processor.d.ts +0 -4
  182. package/lib/src/services/users/onboarding/steps/strategy.processor.d.ts +0 -5
  183. package/lib/src/services/users/onboarding/steps/traders.processor.d.ts +0 -5
  184. package/lib/src/services/users/sessions/sessions.class.d.ts +0 -6
  185. package/lib/src/services/users/sessions/sessions.schema.d.ts +0 -8
  186. package/lib/src/services/users/sessions/sessions.shared.js +0 -1
  187. package/lib/src/services/users/users.class.d.ts +0 -1
  188. package/lib/src/services/users/users.schema.d.ts +0 -13
  189. package/lib/src/services/users/users.shared.d.ts +1 -3
  190. package/lib/src/services/users/users.shared.js +0 -1
  191. package/lib/src/services/version/version.shared.js +0 -1
  192. package/package.json +1 -1
@@ -249,12 +249,4 @@ export interface Configuration {
249
249
  export interface ServiceTypes {
250
250
  }
251
251
  export type ClientApplication = Application<ServiceTypes, Configuration>;
252
- /**
253
- * Returns a typed client for the backend app.
254
- *
255
- * @param connection The REST or Socket.io Feathers client connection
256
- * @param authenticationOptions Additional settings for the authentication client
257
- * @returns The Feathers client application
258
- * @see https://dove.feathersjs.com/api/client.html
259
- */
260
252
  export declare const createClient: <Configuration = any>(connection: TransportConnection<ServiceTypes>, authenticationOptions?: Partial<AuthenticationClientOptions>) => ClientApplication;
package/lib/src/client.js CHANGED
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- /* istanbul ignore file */
3
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
4
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
5
4
  };
@@ -128,14 +127,6 @@ const exchanges_shared_1 = require("./services/exchanges/exchanges.shared");
128
127
  const custom_shared_1 = require("./services/custom/custom.shared");
129
128
  const messages_shared_2 = require("./services/messages/messages.shared");
130
129
  const users_shared_1 = require("./services/users/users.shared");
131
- /**
132
- * Returns a typed client for the backend app.
133
- *
134
- * @param connection The REST or Socket.io Feathers client connection
135
- * @param authenticationOptions Additional settings for the authentication client
136
- * @returns The Feathers client application
137
- * @see https://dove.feathersjs.com/api/client.html
138
- */
139
130
  const createClient = (connection, authenticationOptions = {}) => {
140
131
  const client = (0, feathers_1.feathers)();
141
132
  client.configure(connection);
@@ -266,4 +257,3 @@ const createClient = (connection, authenticationOptions = {}) => {
266
257
  return client;
267
258
  };
268
259
  exports.createClient = createClient;
269
- //# sourceMappingURL=client.js.map
@@ -1,9 +1,3 @@
1
1
  import type { HookContext } from '../../declarations';
2
- /**
3
- * Convert ObjectId instances to strings in data to match schema expectations
4
- */
5
2
  export declare const convertObjectIdsInData: (context: HookContext) => Promise<HookContext>;
6
- /**
7
- * Convert ObjectId instances to strings in query parameters
8
- */
9
3
  export declare const convertObjectIdsInQuery: (context: HookContext) => Promise<HookContext>;
@@ -10,4 +10,3 @@ const advisorClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.advisorClient = advisorClient;
13
- //# sourceMappingURL=advisor.shared.js.map
@@ -10,4 +10,3 @@ const advisorMessagesClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.advisorMessagesClient = advisorMessagesClient;
13
- //# sourceMappingURL=messages.shared.js.map
@@ -10,9 +10,6 @@ export interface AffiliatesParams extends MongoDBAdapterParams<AffiliatesQuery>
10
10
  export declare class AffiliatesService<ServiceParams extends Params = AffiliatesParams> extends FlexibleMongoDBService<Affiliates, AffiliatesData, AffiliatesParams, AffiliatesPatch> {
11
11
  app: Application;
12
12
  setup(app: Application): void;
13
- /**
14
- * Dashboard endpoint: aggregates clicks, referrals, commissions and payouts for an affiliate
15
- */
16
13
  dashboard(affiliateId: Id, params?: ServiceParams): Promise<any>;
17
14
  }
18
15
  export declare const getOptions: (app: Application) => MongoDBAdapterOptions;
@@ -17,4 +17,3 @@ const affiliatesClient = (client) => {
17
17
  });
18
18
  };
19
19
  exports.affiliatesClient = affiliatesClient;
20
- //# sourceMappingURL=affiliates.shared.js.map
@@ -16,4 +16,3 @@ const affiliatesClicksClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.affiliatesClicksClient = affiliatesClicksClient;
19
- //# sourceMappingURL=clicks.shared.js.map
@@ -16,4 +16,3 @@ const affiliatesComissionsClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.affiliatesComissionsClient = affiliatesComissionsClient;
19
- //# sourceMappingURL=comissions.shared.js.map
@@ -16,4 +16,3 @@ const affiliatesContractsClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.affiliatesContractsClient = affiliatesContractsClient;
19
- //# sourceMappingURL=contracts.shared.js.map
@@ -16,4 +16,3 @@ const affiliatesCouponsClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.affiliatesCouponsClient = affiliatesCouponsClient;
19
- //# sourceMappingURL=coupons.shared.js.map
@@ -10,4 +10,3 @@ const affiliatesLinksClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.affiliatesLinksClient = affiliatesLinksClient;
13
- //# sourceMappingURL=links.shared.js.map
@@ -16,4 +16,3 @@ const affiliatesPayoutsClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.affiliatesPayoutsClient = affiliatesPayoutsClient;
19
- //# sourceMappingURL=payouts.shared.js.map
@@ -10,4 +10,3 @@ const agentsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.agentsClient = agentsClient;
13
- //# sourceMappingURL=agents.shared.js.map
@@ -1,5 +1,2 @@
1
1
  import type { HookContext } from '../../declarations';
2
- /**
3
- * Delete all triggers associated with an agent when the agent is removed
4
- */
5
2
  export declare const deleteAgentTriggers: (context: HookContext<any>) => Promise<HookContext<any>>;
@@ -10,4 +10,3 @@ const agentsPrepareClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.agentsPrepareClient = agentsPrepareClient;
13
- //# sourceMappingURL=prepare.shared.js.map
@@ -1,11 +1,3 @@
1
1
  import type { HookContext } from '@feathersjs/feathers';
2
- /**
3
- * Convert ObjectId fields to strings in query parameters
4
- * This ensures ObjectIds are converted to strings before schema validation
5
- */
6
2
  export declare const convertObjectIdsInQuery: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
7
- /**
8
- * Convert ObjectId fields to strings in data (userId and agentId)
9
- * This ensures ObjectIds are converted to strings before schema validation
10
- */
11
3
  export declare const convertObjectIdsInData: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
@@ -10,4 +10,3 @@ const agentsSessionsConversationsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.agentsSessionsConversationsClient = agentsSessionsConversationsClient;
13
- //# sourceMappingURL=conversations.shared.js.map
@@ -1,11 +1,3 @@
1
1
  import type { HookContext } from '@feathersjs/feathers';
2
- /**
3
- * Convert ObjectId fields to strings in query parameters
4
- * This ensures ObjectIds are converted to strings before schema validation
5
- */
6
2
  export declare const convertObjectIdsInQuery: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
7
- /**
8
- * Convert ObjectId fields to strings in data (agentId)
9
- * This ensures ObjectIds are converted to strings before schema validation
10
- */
11
3
  export declare const convertObjectIdsInData: () => (context: HookContext) => Promise<HookContext<import("@feathersjs/feathers").Application<any, any>, any>>;
@@ -10,4 +10,3 @@ const agentsSessionsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.agentsSessionsClient = agentsSessionsClient;
13
- //# sourceMappingURL=sessions.shared.js.map
@@ -1,5 +1,2 @@
1
1
  import type { HookContext } from '../../declarations';
2
- /**
3
- * Update EventBridge rules with agent information when an agent is created or updated with triggers
4
- */
5
2
  export declare const updateTriggerRulesWithAgentInfo: (context: HookContext<any>) => Promise<HookContext<any>>;
@@ -1,6 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.authManagementPath = void 0;
4
- // For more information about this file see https://dove.feathersjs.com/guides/cli/service.shared.html
5
4
  exports.authManagementPath = 'auth-management';
6
- //# sourceMappingURL=auth-management.shared.js.map
@@ -1,42 +1,3 @@
1
- /**
2
- * Map Optuna trial.params onto a preset template before models/presets.create.
3
- *
4
- * Supported param keys:
5
- * train_period_days → trainingWindow
6
- * backtest_period_days → backtestPeriodDays (FreqAI walk-forward retrain cadence)
7
- * label_period_candles → labelPeriodCandles
8
- * include_shifted_candles → includeShiftedCandles
9
- * entry_threshold → entryThreshold
10
- * exit_threshold → exitThreshold
11
- * model → model (categorical: lightgbm|xgboost|catboost)
12
- * Strongly recommended to PIN model per study
13
- * rather than search across families — see
14
- * buildModelHyperparamSpace() in the create-study
15
- * dialog. Cross-family search pollutes the score:
16
- * num_leaves applied to catboost is silently
17
- * ignored.
18
- * timeframe → timeframes: [val] (legacy single tf, categorical: 5m|15m|1h)
19
- * timeframes → timeframes: val (multi-tf combinations, e.g. ['5m','15m'])
20
- * stoploss → stoploss (negative float, strategy class var)
21
- * trailing_stop → trailingStop (boolean)
22
- * trailing_stop_positive → trailingStopPositive
23
- * trailing_stop_positive_offset → trailingStopPositiveOffset
24
- * roi_0 / roi_decay_minutes → roi0 / roiDecayMinutes (minimal_roi table)
25
- * max_open_trades → maxOpenTrades (top-level FT config)
26
- * DI_threshold / di_threshold → freqaiDIThreshold (drift-detection cutoff)
27
- * weight_factor → freqaiWeightFactor (recency weighting)
28
- * noise_standard_deviation → freqaiNoiseStd (regularization)
29
- * principal_component_analysis → freqaiPCA (boolean)
30
- * test_size → freqaiTestSize (validation split fraction)
31
- * fit_live_predictions_candles → fitLivePredictionsCandles
32
- * use_<indicator> → indicators[] (booleans collected, e.g. use_rsi=true)
33
- * <anything else> → modelTrainingParameters[<key>] (lightgbm/xgb hyperparams)
34
- *
35
- * Throws `InsufficientIndicatorsError` when the trial picked fewer than 2
36
- * indicators *and* the search space contained at least one `use_*` flag.
37
- * Caller (autotune/trials) catches this and marks the trial PRUNED so Optuna
38
- * doesn't learn a fake score against a substituted indicator set.
39
- */
40
1
  export declare class InsufficientIndicatorsError extends Error {
41
2
  readonly picked: string[];
42
3
  constructor(picked: string[]);
@@ -2,9 +2,6 @@ export interface OptunaTrialSuggestion {
2
2
  trialNumber: number;
3
3
  params: Record<string, any>;
4
4
  }
5
- /** Idempotent: creates the study if it doesn't exist (load_if_exists=True). */
6
5
  export declare function optunaInit(storage: string, studyName: string, searchSpace: any[]): Promise<void>;
7
- /** Asks Optuna for N new trial suggestions. */
8
6
  export declare function optunaAsk(storage: string, studyName: string, n: number): Promise<OptunaTrialSuggestion[]>;
9
- /** Reports a trial score back to Optuna. Use score=null/undefined to mark a trial as failed/pruned. */
10
7
  export declare function optunaTell(storage: string, studyName: string, trialNumber: number, score: number | null): Promise<void>;
@@ -1,36 +1,11 @@
1
- /**
2
- * Composite score for a backtest result — signed so Optuna can rank both winners and losers.
3
- *
4
- * Formula: totalReturn × (0.5 + 0.5·PSR) × ddPenalty × modelQualityWeight
5
- * - totalReturn (signed): captures direction (win/loss) and magnitude
6
- * - PSR (Probabilistic Sharpe Ratio) ∈ [0,1]: trade-quality weight; floors at 0 for negative sharpe
7
- * The (0.5 + 0.5·PSR) blend keeps losing strategies on a comparable scale (50% weight floor)
8
- * so Optuna can still differentiate between "less bad" and "worse" losers.
9
- * - ddPenalty = 1 / (1 + |maxDrawdown|): extra discount for drawdown
10
- * - modelQualityWeight ∈ [0.5, 1.5]: optional, only applied when caller passes a
11
- * FreqAI training metric (validation R² or similar). Catches "lucky backtest,
12
- * terrible model" trials that would otherwise score high. Default 1.0 (no-op)
13
- * keeps the function backwards-compatible with callers that don't have access
14
- * to the model metadata.
15
- *
16
- * Higher is better. Returns null when results are insufficient to score.
17
- */
18
1
  export interface BacktestResults {
19
2
  sharpe?: number;
20
3
  totalReturn?: number;
21
4
  maxDrawdown?: number;
22
5
  tradesCount?: number;
23
- /** Alternate spelling produced by ModelPresetHelper.parseResults — accept both. */
24
6
  tradeCount?: number;
25
7
  profitFactor?: number;
26
8
  winRate?: number;
27
- /**
28
- * Optional FreqAI training-time validation metric averaged across pairs.
29
- * Typically a proxy for R² on the held-out validation split (the
30
- * `data_split_parameters.test_size` slice). Values in [0,1] are interpreted
31
- * as fractions; values outside are clamped before being mapped to a weight.
32
- * When absent or non-finite, the score is unchanged (weight = 1.0).
33
- */
34
9
  modelValidationScore?: number;
35
10
  [key: string]: any;
36
11
  }
@@ -1,6 +1,4 @@
1
1
  import type { Application } from '../../declarations';
2
2
  export declare const AUTOTUNE_DB_FILENAME = "optuna.db";
3
- /** Returns the absolute filesystem path to the shared sqlite db, ensuring the parent dir exists. */
4
3
  export declare function getAutotuneDbPath(app: Application): string;
5
- /** Returns the Optuna RDB storage URL (sqlite:///<absolute path>). */
6
4
  export declare function getAutotuneOptunaUrl(app: Application): string;
@@ -10,4 +10,3 @@ const autotuneStudiesClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.autotuneStudiesClient = autotuneStudiesClient;
13
- //# sourceMappingURL=studies.shared.js.map
@@ -10,4 +10,3 @@ const autotuneTrialsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.autotuneTrialsClient = autotuneTrialsClient;
13
- //# sourceMappingURL=trials.shared.js.map
@@ -10,4 +10,3 @@ const autotuneUsageClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.autotuneUsageClient = autotuneUsageClient;
13
- //# sourceMappingURL=usage.shared.js.map
@@ -10,4 +10,3 @@ const blogActionsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.blogActionsClient = blogActionsClient;
13
- //# sourceMappingURL=actions.shared.js.map
@@ -10,4 +10,3 @@ const blogCalendarClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.blogCalendarClient = blogCalendarClient;
13
- //# sourceMappingURL=calendar.shared.js.map
@@ -16,4 +16,3 @@ const blogIntegrationsClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.blogIntegrationsClient = blogIntegrationsClient;
19
- //# sourceMappingURL=integrations.shared.js.map
@@ -10,4 +10,3 @@ const blogPostsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.blogPostsClient = blogPostsClient;
13
- //# sourceMappingURL=posts.shared.js.map
@@ -10,4 +10,3 @@ const blogQueriesClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.blogQueriesClient = blogQueriesClient;
13
- //# sourceMappingURL=queries.shared.js.map
@@ -10,4 +10,3 @@ const blogSitemapsPagesClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.blogSitemapsPagesClient = blogSitemapsPagesClient;
13
- //# sourceMappingURL=pages.shared.js.map
@@ -10,4 +10,3 @@ const blogSitemapsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.blogSitemapsClient = blogSitemapsClient;
13
- //# sourceMappingURL=sitemaps.shared.js.map
@@ -10,4 +10,3 @@ const blogSuggestionsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.blogSuggestionsClient = blogSuggestionsClient;
13
- //# sourceMappingURL=suggestions.shared.js.map
@@ -18,9 +18,6 @@ export declare class ChangelogService<ServiceParams extends ChangelogParams = Ch
18
18
  options: ChangelogServiceOptions;
19
19
  constructor(options: ChangelogServiceOptions);
20
20
  find(params?: ServiceParams): Promise<Changelog[]>;
21
- /**
22
- * Parse changelog content from markdown string using remark
23
- */
24
21
  private parseChangelogContent;
25
22
  get(id: Id, _params?: ServiceParams): Promise<Changelog>;
26
23
  create(data: ChangelogData, params?: ServiceParams): Promise<Changelog>;
@@ -1,27 +1,9 @@
1
1
  import type { Changelog } from './changelog.schema';
2
- /**
3
- * Helper functions for working with changelog data
4
- */
5
2
  export declare class ChangelogHelper {
6
- /**
7
- * Format changelog data for display in frontend
8
- */
9
3
  static formatForDisplay(releases: Changelog[]): any[];
10
- /**
11
- * Filter releases by type
12
- */
13
4
  static filterByReleaseType(releases: Changelog[], releaseType: 'major' | 'minor' | 'patch'): Changelog[];
14
- /**
15
- * Filter releases by date range
16
- */
17
5
  static filterByDateRange(releases: Changelog[], startDate: Date, endDate: Date): Changelog[];
18
- /**
19
- * Get releases by scope (e.g., all releases that affect 'traders' scope)
20
- */
21
6
  static filterByScope(releases: Changelog[], scope: string): Changelog[];
22
- /**
23
- * Get statistics about releases
24
- */
25
7
  static getStatistics(releases: Changelog[]): {
26
8
  total: number;
27
9
  major: number;
@@ -32,17 +14,8 @@ export declare class ChangelogHelper {
32
14
  commitsByScope: Record<string, number>;
33
15
  averageCommitsPerRelease: number;
34
16
  };
35
- /**
36
- * Search releases by text (in commit messages or scopes)
37
- */
38
17
  static searchReleases(releases: Changelog[], searchTerm: string): Changelog[];
39
- /**
40
- * Generate markdown summary from changelog data
41
- */
42
18
  static generateMarkdownSummary(releases: Changelog[], maxReleases?: number): string;
43
- /**
44
- * Validate changelog data structure
45
- */
46
19
  static validateChangelog(data: any): {
47
20
  isValid: boolean;
48
21
  errors: string[];
@@ -10,4 +10,3 @@ const changelogClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.changelogClient = changelogClient;
13
- //# sourceMappingURL=changelog.shared.js.map
@@ -1,8 +1,4 @@
1
1
  import { HookContext } from '@feathersjs/feathers';
2
2
  import type { Application } from '../../../declarations';
3
3
  import type { ChangelogService } from '../changelog.class';
4
- /**
5
- * Hook to handle parsing CHANGELOG.md file when parseFromFile query parameter is used
6
- * This hook will skip the normal database operation and return parsed markdown data
7
- */
8
4
  export declare const parseChangelogFromFile: (context: HookContext<Application, ChangelogService>) => Promise<HookContext<Application, ChangelogService<import("../changelog.class").ChangelogParams>>>;
@@ -10,4 +10,3 @@ const configClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.configClient = configClient;
13
- //# sourceMappingURL=config.shared.js.map
@@ -10,4 +10,3 @@ const copilotConcernsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.copilotConcernsClient = copilotConcernsClient;
13
- //# sourceMappingURL=concerns.shared.js.map
@@ -16,4 +16,3 @@ const copilotDecisionsClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.copilotDecisionsClient = copilotDecisionsClient;
19
- //# sourceMappingURL=decisions.shared.js.map
@@ -10,4 +10,3 @@ const copilotHelpClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.copilotHelpClient = copilotHelpClient;
13
- //# sourceMappingURL=help.shared.js.map
@@ -16,4 +16,3 @@ const copilotRecommendationsClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.copilotRecommendationsClient = copilotRecommendationsClient;
19
- //# sourceMappingURL=recommendations.shared.js.map
@@ -10,4 +10,3 @@ const currenciesClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.currenciesClient = currenciesClient;
13
- //# sourceMappingURL=currencies.shared.js.map
@@ -10,4 +10,3 @@ const customClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.customClient = customClient;
13
- //# sourceMappingURL=custom.shared.js.map
@@ -10,4 +10,3 @@ const emailsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.emailsClient = emailsClient;
13
- //# sourceMappingURL=emails.shared.js.map
@@ -10,4 +10,3 @@ const eventsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.eventsClient = eventsClient;
13
- //# sourceMappingURL=events.shared.js.map
@@ -10,4 +10,3 @@ const eventsTriggersClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.eventsTriggersClient = eventsTriggersClient;
13
- //# sourceMappingURL=triggers.shared.js.map
@@ -10,4 +10,3 @@ const eventsTypesClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.eventsTypesClient = eventsTypesClient;
13
- //# sourceMappingURL=types.shared.js.map
@@ -10,18 +10,8 @@ export interface ExchangesArbSignalsParams extends Params<ExchangesArbSignalsQue
10
10
  export declare class ExchangesArbSignalsService<ServiceParams extends ExchangesArbSignalsParams = ExchangesArbSignalsParams> implements ServiceInterface<ExchangesArbSignals, ExchangesArbSignalsData, ServiceParams> {
11
11
  options: ExchangesArbSignalsServiceOptions;
12
12
  constructor(options: ExchangesArbSignalsServiceOptions);
13
- /**
14
- * find() — returns the latest arb signals snapshot from the analysis worker.
15
- */
16
13
  find(_params?: ServiceParams): Promise<ExchangesArbSignals>;
17
- /**
18
- * create() — subscribe to the arb:signals Feathers channel.
19
- * Joins the Socket.IO connection so it receives real-time push updates.
20
- */
21
14
  create(_data: ExchangesArbSignalsData, params?: ServiceParams): Promise<any>;
22
- /**
23
- * remove() — unsubscribe from the arb:signals channel.
24
- */
25
15
  remove(_id: NullableId, params?: ServiceParams): Promise<any>;
26
16
  }
27
17
  export declare const getOptions: (app: Application) => {
@@ -10,4 +10,3 @@ const exchangesArbSignalsClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.exchangesArbSignalsClient = exchangesArbSignalsClient;
13
- //# sourceMappingURL=arb-signals.shared.js.map
@@ -7,19 +7,9 @@ export interface ExchangesArbitrageOpportunitiesServiceOptions {
7
7
  }
8
8
  export interface ExchangesArbitrageOpportunitiesParams extends Params<ExchangesArbitrageOpportunitiesQuery> {
9
9
  }
10
- /**
11
- * Reads closed paper-trade opportunities from the Valkey sorted set.
12
- * Supports: find() with optional `since` (epoch ms) and `$limit` query params.
13
- */
14
10
  export declare class ExchangesArbitrageOpportunitiesService<ServiceParams extends ExchangesArbitrageOpportunitiesParams = ExchangesArbitrageOpportunitiesParams> implements ServiceInterface<ExchangesArbitrageOpportunities, ExchangesArbitrageOpportunitiesData, ServiceParams> {
15
11
  options: ExchangesArbitrageOpportunitiesServiceOptions;
16
12
  constructor(options: ExchangesArbitrageOpportunitiesServiceOptions);
17
- /**
18
- * find() — return closed paper trades from Valkey.
19
- * Query params:
20
- * since — epoch ms (default: 7 days ago)
21
- * $limit — max results (default 500, max 2000)
22
- */
23
13
  find(params?: ServiceParams): Promise<ExchangesArbitrageOpportunities>;
24
14
  }
25
15
  export declare const getOptions: (app: Application) => {
@@ -10,4 +10,3 @@ const exchangesArbitrageOpportunitiesClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.exchangesArbitrageOpportunitiesClient = exchangesArbitrageOpportunitiesClient;
13
- //# sourceMappingURL=opportunities.shared.js.map
@@ -10,4 +10,3 @@ const exchangesBalanceClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.exchangesBalanceClient = exchangesBalanceClient;
13
- //# sourceMappingURL=balance.shared.js.map
@@ -16,4 +16,3 @@ const exchangesDepositsClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.exchangesDepositsClient = exchangesDepositsClient;
19
- //# sourceMappingURL=deposits.shared.js.map
@@ -16,4 +16,3 @@ const exchangesDepositsSyncClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.exchangesDepositsSyncClient = exchangesDepositsSyncClient;
19
- //# sourceMappingURL=sync.shared.js.map
@@ -10,4 +10,3 @@ const exchangesDownloadClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.exchangesDownloadClient = exchangesDownloadClient;
13
- //# sourceMappingURL=download.shared.js.map
@@ -10,4 +10,3 @@ const exchangesDownloadWebhooksClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.exchangesDownloadWebhooksClient = exchangesDownloadWebhooksClient;
13
- //# sourceMappingURL=webhooks.shared.js.map
@@ -10,4 +10,3 @@ const exchangesClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.exchangesClient = exchangesClient;
13
- //# sourceMappingURL=exchanges.shared.js.map
@@ -10,4 +10,3 @@ const exchangesLedgerClient = (client) => {
10
10
  });
11
11
  };
12
12
  exports.exchangesLedgerClient = exchangesLedgerClient;
13
- //# sourceMappingURL=ledger.shared.js.map
@@ -16,4 +16,3 @@ const exchangesLedgerSyncClient = (client) => {
16
16
  });
17
17
  };
18
18
  exports.exchangesLedgerSyncClient = exchangesLedgerSyncClient;
19
- //# sourceMappingURL=sync.shared.js.map
@@ -10,11 +10,6 @@ export interface ExchangesMarketsStatsParams extends Params<ExchangesMarketsStat
10
10
  export declare class ExchangesMarketsStatsService<ServiceParams extends ExchangesMarketsStatsParams = ExchangesMarketsStatsParams> implements ServiceInterface<ExchangesMarketsStats, ExchangesMarketsStatsData, ServiceParams> {
11
11
  options: ExchangesMarketsStatsServiceOptions;
12
12
  constructor(options: ExchangesMarketsStatsServiceOptions);
13
- /**
14
- * find() — returns realtime per-symbol stats (24h volume + listing date) for the
15
- * requested exchange. Wrapped through the shared cache helper so we hit CCXT at
16
- * most once per `CACHE_TTL_MS` per exchange across all instances.
17
- */
18
13
  find(params?: ServiceParams): Promise<ExchangesMarketsStats>;
19
14
  private _fetch;
20
15
  }