@cryptorobot.ai/client 1.26.0-dev.998 → 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.
- package/lib/src/client.d.ts +0 -8
- package/lib/src/client.js +0 -10
- package/lib/src/services/advisor/advisor.class.d.ts +2 -2
- package/lib/src/services/advisor/advisor.schema.d.ts +1 -1
- package/lib/src/services/advisor/advisor.shared.js +0 -1
- package/lib/src/services/advisor/messages/messages.class.d.ts +2 -2
- package/lib/src/services/advisor/messages/messages.schema.d.ts +144 -144
- package/lib/src/services/advisor/messages/messages.shared.js +0 -1
- package/lib/src/services/affiliates/affiliates.class.d.ts +2 -5
- package/lib/src/services/affiliates/affiliates.shared.js +0 -1
- package/lib/src/services/affiliates/clicks/clicks.class.d.ts +2 -2
- package/lib/src/services/affiliates/clicks/clicks.shared.js +0 -1
- package/lib/src/services/affiliates/comissions/comissions.class.d.ts +2 -2
- package/lib/src/services/affiliates/comissions/comissions.shared.js +0 -1
- package/lib/src/services/affiliates/contracts/contracts.class.d.ts +2 -2
- package/lib/src/services/affiliates/contracts/contracts.shared.js +0 -1
- package/lib/src/services/affiliates/coupons/coupons.class.d.ts +2 -2
- package/lib/src/services/affiliates/coupons/coupons.shared.js +0 -1
- package/lib/src/services/affiliates/links/links.class.d.ts +2 -2
- package/lib/src/services/affiliates/links/links.shared.js +7 -2
- package/lib/src/services/affiliates/payouts/payouts.class.d.ts +2 -2
- package/lib/src/services/affiliates/payouts/payouts.shared.js +0 -1
- package/lib/src/services/agents/agents.class.d.ts +2 -2
- package/lib/src/services/agents/agents.schema.d.ts +1 -1
- package/lib/src/services/agents/agents.shared.js +0 -1
- package/lib/src/services/agents/delete-agent-triggers.hooks.d.ts +0 -3
- package/lib/src/services/agents/prepare/prepare.shared.js +0 -1
- package/lib/src/services/agents/sessions/conversations/conversations.class.d.ts +2 -2
- package/lib/src/services/agents/sessions/conversations/conversations.schema.d.ts +85 -3
- package/lib/src/services/agents/sessions/conversations/conversations.shared.js +0 -1
- package/lib/src/services/agents/sessions/sessions.class.d.ts +2 -2
- package/lib/src/services/agents/sessions/sessions.schema.d.ts +143 -143
- package/lib/src/services/agents/sessions/sessions.shared.js +0 -1
- package/lib/src/services/agents/update-trigger-rules-with-agent-info.hooks.d.ts +0 -3
- package/lib/src/services/auth-management/auth-management.shared.js +0 -2
- package/lib/src/services/autotune/apply-params.d.ts +0 -39
- package/lib/src/services/autotune/optuna-bridge.d.ts +0 -3
- package/lib/src/services/autotune/score.d.ts +0 -25
- package/lib/src/services/autotune/storage.d.ts +0 -2
- package/lib/src/services/autotune/studies/studies.class.d.ts +2 -2
- package/lib/src/services/autotune/studies/studies.shared.js +0 -1
- package/lib/src/services/autotune/trials/trials.class.d.ts +2 -2
- package/lib/src/services/autotune/trials/trials.shared.js +0 -1
- package/lib/src/services/autotune/usage/usage.class.d.ts +2 -2
- package/lib/src/services/autotune/usage/usage.schema.d.ts +3 -3
- package/lib/src/services/autotune/usage/usage.shared.js +0 -1
- package/lib/src/services/blog/actions/actions.shared.js +0 -1
- package/lib/src/services/blog/calendar/calendar.shared.js +0 -1
- package/lib/src/services/blog/integrations/integrations.shared.js +0 -1
- package/lib/src/services/blog/posts/posts.shared.js +0 -1
- package/lib/src/services/blog/queries/queries.shared.js +0 -1
- package/lib/src/services/blog/sitemaps/pages/pages.shared.js +0 -1
- package/lib/src/services/blog/sitemaps/sitemaps.shared.js +0 -1
- package/lib/src/services/blog/suggestions/suggestions.shared.js +0 -1
- package/lib/src/services/changelog/changelog.class.d.ts +0 -3
- package/lib/src/services/changelog/changelog.helper.d.ts +0 -27
- package/lib/src/services/changelog/changelog.shared.js +0 -1
- package/lib/src/services/changelog/hooks/parse-from-file.d.ts +0 -4
- package/lib/src/services/config/config.class.d.ts +2 -2
- package/lib/src/services/config/config.shared.js +0 -1
- package/lib/src/services/copilot/concerns/concerns.class.d.ts +2 -2
- package/lib/src/services/copilot/concerns/concerns.schema.d.ts +8 -8
- package/lib/src/services/copilot/concerns/concerns.shared.js +7 -2
- package/lib/src/services/copilot/decisions/decisions.class.d.ts +2 -2
- package/lib/src/services/copilot/decisions/decisions.shared.js +0 -1
- package/lib/src/services/copilot/help/help.shared.js +0 -1
- package/lib/src/services/copilot/recommendations/recommendations.class.d.ts +2 -2
- package/lib/src/services/copilot/recommendations/recommendations.hooks.d.ts +4 -0
- package/lib/src/services/copilot/recommendations/recommendations.shared.js +0 -1
- package/lib/src/services/currencies/currencies.class.d.ts +2 -2
- package/lib/src/services/currencies/currencies.shared.js +0 -1
- package/lib/src/services/custom/custom.shared.js +0 -1
- package/lib/src/services/emails/emails.class.d.ts +2 -2
- package/lib/src/services/emails/emails.shared.js +0 -1
- package/lib/src/services/events/events.class.d.ts +2 -2
- package/lib/src/services/events/events.shared.js +0 -1
- package/lib/src/services/events/triggers/triggers.class.d.ts +2 -2
- package/lib/src/services/events/triggers/triggers.shared.js +0 -1
- package/lib/src/services/events/types/types.class.d.ts +2 -2
- package/lib/src/services/events/types/types.shared.js +0 -1
- package/lib/src/services/exchanges/arb-signals/arb-signals.class.d.ts +0 -10
- package/lib/src/services/exchanges/arb-signals/arb-signals.shared.js +0 -1
- package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.class.d.ts +0 -10
- package/lib/src/services/exchanges/arbitrage/opportunities/opportunities.shared.js +0 -1
- package/lib/src/services/exchanges/balance/balance.class.d.ts +2 -2
- package/lib/src/services/exchanges/balance/balance.shared.js +0 -1
- package/lib/src/services/exchanges/deposits/deposits.class.d.ts +2 -2
- package/lib/src/services/exchanges/deposits/deposits.shared.js +0 -1
- package/lib/src/services/exchanges/deposits/sync/sync.class.d.ts +2 -2
- package/lib/src/services/exchanges/deposits/sync/sync.shared.js +1 -8
- package/lib/src/services/exchanges/download/download.class.d.ts +2 -2
- package/lib/src/services/exchanges/download/download.shared.js +0 -1
- package/lib/src/services/exchanges/download/webhooks/webhooks.class.d.ts +2 -2
- package/lib/src/services/exchanges/download/webhooks/webhooks.shared.js +0 -1
- package/lib/src/services/exchanges/exchanges.class.d.ts +2 -2
- package/lib/src/services/exchanges/exchanges.shared.js +0 -1
- package/lib/src/services/exchanges/ledger/ledger.class.d.ts +2 -2
- package/lib/src/services/exchanges/ledger/ledger.shared.js +7 -2
- package/lib/src/services/exchanges/ledger/sync/sync.class.d.ts +2 -2
- package/lib/src/services/exchanges/ledger/sync/sync.shared.js +0 -1
- package/lib/src/services/exchanges/markets-stats/markets-stats.class.d.ts +0 -5
- package/lib/src/services/exchanges/markets-stats/markets-stats.shared.js +0 -1
- package/lib/src/services/exchanges/ohlcv/history/history.class.d.ts +2 -2
- package/lib/src/services/exchanges/ohlcv/history/history.shared.js +0 -1
- package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +0 -1
- package/lib/src/services/exchanges/orderbook/orderbook.class.d.ts +0 -11
- package/lib/src/services/exchanges/orderbook/orderbook.shared.js +0 -1
- package/lib/src/services/exchanges/ticker/ticker.class.d.ts +2 -2
- package/lib/src/services/exchanges/ticker/ticker.shared.js +0 -1
- package/lib/src/services/exchanges/transactions/sync/sync.class.d.ts +2 -2
- package/lib/src/services/exchanges/transactions/sync/sync.shared.js +0 -1
- package/lib/src/services/exchanges/transactions/transactions.class.d.ts +2 -2
- package/lib/src/services/exchanges/transactions/transactions.shared.js +0 -1
- package/lib/src/services/extensions/extensions.class.d.ts +2 -2
- package/lib/src/services/extensions/extensions.shared.js +0 -1
- package/lib/src/services/homepage/homepage.shared.d.ts +2 -1
- package/lib/src/services/homepage/homepage.shared.js +0 -1
- package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.class.d.ts +2 -14
- package/lib/src/services/insights/crypto-stress-index/crypto-stress-index.shared.js +0 -1
- package/lib/src/services/insights/etf-flow/etf-flow.class.d.ts +2 -2
- package/lib/src/services/insights/etf-flow/etf-flow.shared.js +7 -2
- package/lib/src/services/insights/fear-and-greed/fear-and-greed.class.d.ts +2 -2
- package/lib/src/services/insights/fear-and-greed/fear-and-greed.shared.js +0 -1
- package/lib/src/services/insights/global/global.class.d.ts +2 -2
- package/lib/src/services/insights/global/global.shared.js +0 -1
- package/lib/src/services/insights/insights.class.d.ts +2 -2
- package/lib/src/services/insights/insights.hooks.d.ts +0 -11
- package/lib/src/services/insights/insights.shared.js +0 -1
- package/lib/src/services/insights/news/news.class.d.ts +2 -5
- package/lib/src/services/insights/news/news.shared.js +0 -1
- package/lib/src/services/keys/KeysService.d.ts +2 -2
- package/lib/src/services/keys/keys.class.d.ts +2 -2
- package/lib/src/services/keys/keys.shared.js +0 -1
- package/lib/src/services/knowledges/knowledges.class.d.ts +0 -15
- package/lib/src/services/knowledges/knowledges.shared.js +0 -1
- package/lib/src/services/mailer/mailer.shared.js +0 -1
- package/lib/src/services/marketplaces/marketplaces.class.d.ts +2 -2
- package/lib/src/services/marketplaces/marketplaces.shared.js +0 -1
- package/lib/src/services/markets/markets.class.d.ts +2 -2
- package/lib/src/services/markets/markets.shared.js +0 -1
- package/lib/src/services/messages/messages.class.d.ts +2 -2
- package/lib/src/services/messages/messages.shared.js +0 -1
- package/lib/src/services/models/pods/events/events.class.d.ts +2 -2
- package/lib/src/services/models/pods/events/events.schema.d.ts +3 -3
- package/lib/src/services/models/pods/events/events.shared.js +0 -1
- package/lib/src/services/models/pods/pods.class.d.ts +2 -2
- package/lib/src/services/models/pods/pods.shared.js +0 -1
- package/lib/src/services/models/presets/presets.class.d.ts +2 -2
- package/lib/src/services/models/presets/presets.shared.js +0 -1
- package/lib/src/services/models/signals/history/history.class.d.ts +2 -2
- package/lib/src/services/models/signals/history/history.shared.js +0 -1
- package/lib/src/services/models/signals/signals-proxy-router.d.ts +0 -19
- package/lib/src/services/models/signals/signals.class.d.ts +2 -2
- package/lib/src/services/models/signals/signals.shared.js +0 -1
- package/lib/src/services/models/signals/subscriptions/subscriptions.class.d.ts +2 -2
- package/lib/src/services/models/signals/subscriptions/subscriptions.schema.d.ts +3 -3
- package/lib/src/services/models/signals/subscriptions/subscriptions.shared.js +0 -3
- package/lib/src/services/objectives/objectives.class.d.ts +2 -2
- package/lib/src/services/objectives/objectives.hooks.d.ts +0 -9
- package/lib/src/services/objectives/objectives.shared.js +0 -1
- package/lib/src/services/plans/plans.shared.js +0 -1
- package/lib/src/services/referrals/referrals.class.d.ts +2 -2
- package/lib/src/services/referrals/referrals.shared.js +0 -1
- package/lib/src/services/restricted/restricted.d.ts +0 -11
- package/lib/src/services/restricted/restricted.shared.js +0 -1
- package/lib/src/services/security/events/security-events.schema.d.ts +71 -71
- package/lib/src/services/security/events/security-events.shared.js +0 -1
- package/lib/src/services/series/balance/balance.class.d.ts +2 -2
- package/lib/src/services/series/balance/balance.shared.js +7 -2
- package/lib/src/services/series/performance/performance.class.d.ts +2 -2
- package/lib/src/services/series/performance/performance.shared.js +0 -1
- package/lib/src/services/series/performance/performance.usage.examples.d.ts +0 -6
- package/lib/src/services/snapshot/snapshot.class.d.ts +2 -2
- package/lib/src/services/snapshot/snapshot.schema.d.ts +1040 -336
- package/lib/src/services/snapshot/snapshot.shared.js +0 -2
- package/lib/src/services/store/items/items.class.d.ts +2 -2
- package/lib/src/services/store/items/items.shared.js +0 -1
- package/lib/src/services/strategies/ai/ai.class.d.ts +2 -2
- package/lib/src/services/strategies/ai/ai.shared.js +0 -1
- package/lib/src/services/strategies/ai/stream/stream.shared.js +0 -1
- package/lib/src/services/strategies/backtest/backtest.class.d.ts +2 -2
- package/lib/src/services/strategies/backtest/backtest.schema.d.ts +234 -134
- package/lib/src/services/strategies/backtest/backtest.shared.js +0 -1
- package/lib/src/services/strategies/backtest/preflight/preflight.class.d.ts +0 -23
- package/lib/src/services/strategies/backtest/preflight/preflight.shared.js +0 -1
- package/lib/src/services/strategies/backtest/results/results.class.d.ts +2 -2
- package/lib/src/services/strategies/backtest/results/results.shared.js +0 -1
- package/lib/src/services/strategies/blob/blob.shared.js +0 -1
- package/lib/src/services/strategies/follow/follow.class.d.ts +2 -2
- package/lib/src/services/strategies/follow/follow.shared.js +0 -1
- package/lib/src/services/strategies/generate/generate.class.d.ts +2 -2
- package/lib/src/services/strategies/generate/generate.schema.d.ts +80 -84
- package/lib/src/services/strategies/generate/generate.shared.js +0 -1
- package/lib/src/services/strategies/history/history.class.d.ts +2 -2
- package/lib/src/services/strategies/history/history.schema.d.ts +152 -152
- package/lib/src/services/strategies/history/history.shared.js +0 -1
- package/lib/src/services/strategies/hyperopt/hyperopt-generate-exchange-config.hooks.d.ts +0 -6
- package/lib/src/services/strategies/hyperopt/hyperopt-populate-exchange.hooks.d.ts +0 -5
- package/lib/src/services/strategies/hyperopt/hyperopt-promote-template.hooks.d.ts +0 -7
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-exchange-whitelist.hooks.d.ts +0 -8
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-historical-data.hooks.d.ts +0 -7
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-balance.hooks.d.ts +0 -5
- package/lib/src/services/strategies/hyperopt/hyperopt-validate-stake-currency.hooks.d.ts +0 -7
- package/lib/src/services/strategies/hyperopt/hyperopt-validate.hooks.d.ts +0 -5
- package/lib/src/services/strategies/hyperopt/hyperopt-verify-subscription-limits.hooks.d.ts +0 -4
- package/lib/src/services/strategies/hyperopt/hyperopt.class.d.ts +2 -2
- package/lib/src/services/strategies/hyperopt/hyperopt.shared.js +0 -1
- package/lib/src/services/strategies/indicators/indicators.class.d.ts +2 -2
- package/lib/src/services/strategies/indicators/indicators.shared.js +0 -1
- package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +2 -2
- package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +0 -4
- package/lib/src/services/strategies/indicators/talib/talib.shared.js +0 -1
- package/lib/src/services/strategies/research/research.class.d.ts +2 -2
- package/lib/src/services/strategies/research/research.schema.d.ts +72 -87
- package/lib/src/services/strategies/research/research.shared.js +0 -1
- package/lib/src/services/strategies/strategies.class.d.ts +2 -2
- package/lib/src/services/strategies/strategies.schema.d.ts +455 -36
- package/lib/src/services/strategies/strategies.shared.js +0 -1
- package/lib/src/services/strategies/templates/templates.class.d.ts +2 -2
- package/lib/src/services/strategies/templates/templates.schema.d.ts +2464 -0
- package/lib/src/services/strategies/templates/templates.shared.js +0 -1
- package/lib/src/services/stripe/charges/charges.shared.js +0 -1
- package/lib/src/services/stripe/customers/cards/cards.shared.js +0 -1
- package/lib/src/services/stripe/customers/customers.shared.js +0 -1
- package/lib/src/services/stripe/customers/paymentintent/paymentintent.shared.js +0 -1
- package/lib/src/services/stripe/customers/paymentmethods/paymentmethods.shared.js +0 -1
- package/lib/src/services/stripe/customers/subscriptions/subscriptions.shared.js +0 -1
- package/lib/src/services/stripe/products/products.shared.js +0 -1
- package/lib/src/services/stripe/webhooks/webhooks.shared.js +0 -1
- package/lib/src/services/support/support.shared.js +0 -1
- package/lib/src/services/tasks/comments/comments.class.d.ts +2 -2
- package/lib/src/services/tasks/comments/comments.shared.js +0 -1
- package/lib/src/services/tasks/tasks.class.d.ts +2 -2
- package/lib/src/services/tasks/tasks.hooks.d.ts +0 -73
- package/lib/src/services/tasks/tasks.shared.js +0 -1
- package/lib/src/services/tax/research/research.class.d.ts +2 -2
- package/lib/src/services/tax/research/research.shared.js +7 -2
- package/lib/src/services/tax/sessions/conversations/conversations.class.d.ts +2 -2
- package/lib/src/services/tax/sessions/conversations/conversations.shared.js +0 -1
- package/lib/src/services/tax/sessions/sessions.class.d.ts +2 -2
- package/lib/src/services/tax/sessions/sessions.schema.d.ts +72 -72
- package/lib/src/services/tax/sessions/sessions.shared.js +7 -2
- package/lib/src/services/telegram/link/link.class.d.ts +0 -8
- package/lib/src/services/telegram/link/link.shared.js +0 -1
- package/lib/src/services/telegram/telegram.class.d.ts +0 -5
- package/lib/src/services/telegram/telegram.shared.js +0 -1
- package/lib/src/services/toggles/toggles.shared.js +0 -1
- package/lib/src/services/tokens/tokens.class.d.ts +2 -2
- package/lib/src/services/tokens/tokens.schema.d.ts +72 -72
- package/lib/src/services/tokens/tokens.shared.js +0 -1
- package/lib/src/services/traders/pods/api/api.class.d.ts +2 -2
- package/lib/src/services/traders/pods/api/api.schema.d.ts +496 -48
- package/lib/src/services/traders/pods/api/api.shared.js +0 -1
- package/lib/src/services/traders/pods/blob/blob.shared.js +0 -1
- package/lib/src/services/traders/pods/events/events.class.d.ts +2 -2
- package/lib/src/services/traders/pods/events/events.schema.d.ts +144 -144
- package/lib/src/services/traders/pods/events/events.shared.js +0 -1
- package/lib/src/services/traders/pods/pods.class.d.ts +2 -2
- package/lib/src/services/traders/pods/pods.schema.d.ts +621 -117
- package/lib/src/services/traders/pods/pods.shared.js +0 -1
- package/lib/src/services/traders/pods/webhooks/webhooks.class.d.ts +2 -2
- package/lib/src/services/traders/pods/webhooks/webhooks.schema.d.ts +144 -144
- package/lib/src/services/traders/pods/webhooks/webhooks.shared.js +0 -1
- package/lib/src/services/traders/traders.class.d.ts +2 -2
- package/lib/src/services/traders/traders.shared.js +0 -1
- package/lib/src/services/trades/trades.class.d.ts +2 -2
- package/lib/src/services/trades/trades.shared.js +0 -1
- package/lib/src/services/users/access/access.class.d.ts +2 -2
- package/lib/src/services/users/access/access.schema.d.ts +70 -70
- package/lib/src/services/users/access/access.shared.js +7 -2
- package/lib/src/services/users/marketing/campaigns/12-bot-no-trades.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/13-trial-ending-cold.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/14-trial-ending-engaged.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/15-eve-followup-14d.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/16-eve-followup-30d.campaign.d.ts +3 -0
- package/lib/src/services/users/marketing/campaigns/trial.context.d.ts +1 -11
- package/lib/src/services/users/marketing/marketing.class.d.ts +2 -6
- package/lib/src/services/users/marketing/marketing.engine.d.ts +0 -20
- package/lib/src/services/users/marketing/marketing.shared.js +0 -1
- package/lib/src/services/users/onboarding/onboarding.class.d.ts +2 -2
- package/lib/src/services/users/onboarding/onboarding.hooks.d.ts +0 -38
- package/lib/src/services/users/onboarding/onboarding.shared.js +0 -1
- package/lib/src/services/users/onboarding/steps/exchanges.processor.d.ts +0 -5
- package/lib/src/services/users/onboarding/steps/notifications.processor.d.ts +0 -4
- package/lib/src/services/users/onboarding/steps/preferences.processor.d.ts +0 -4
- package/lib/src/services/users/onboarding/steps/strategy.processor.d.ts +0 -5
- package/lib/src/services/users/onboarding/steps/traders.processor.d.ts +0 -5
- package/lib/src/services/users/sessions/sessions.class.d.ts +0 -6
- package/lib/src/services/users/sessions/sessions.schema.d.ts +70 -78
- package/lib/src/services/users/sessions/sessions.shared.js +0 -1
- package/lib/src/services/users/users.class.d.ts +0 -1
- package/lib/src/services/users/users.schema.d.ts +0 -13
- package/lib/src/services/users/users.shared.d.ts +1 -3
- package/lib/src/services/users/users.shared.js +0 -1
- package/lib/src/services/version/version.shared.js +0 -1
- package/package.json +1 -1
- package/lib/src/services/advisor/advisor.hooks.d.ts +0 -9
- package/lib/src/services/agents/sessions/conversations/conversations.hooks.d.ts +0 -11
- package/lib/src/services/agents/sessions/sessions.hooks.d.ts +0 -11
- package/lib/src/services/tax/sessions/conversations/conversations.hooks.d.ts +0 -11
- package/lib/src/services/tax/sessions/sessions.hooks.d.ts +0 -11
|
@@ -93,16 +93,16 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
|
|
|
93
93
|
_id: import("@feathersjs/typebox").TString<string>;
|
|
94
94
|
alias: import("@feathersjs/typebox").TString<string>;
|
|
95
95
|
name: import("@feathersjs/typebox").TString<string>;
|
|
96
|
-
group: import("@feathersjs/typebox").TString<string
|
|
97
|
-
description: import("@feathersjs/typebox").TString<string
|
|
98
|
-
optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
|
|
96
|
+
group: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
97
|
+
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
98
|
+
optInputs: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
|
|
99
99
|
name: import("@feathersjs/typebox").TString<string>;
|
|
100
100
|
displayName: import("@feathersjs/typebox").TString<string>;
|
|
101
101
|
defaultValue: import("@feathersjs/typebox").TNumber;
|
|
102
102
|
hint: import("@feathersjs/typebox").TString<string>;
|
|
103
103
|
type: import("@feathersjs/typebox").TString<string>;
|
|
104
104
|
normName: import("@feathersjs/typebox").TString<string>;
|
|
105
|
-
}
|
|
105
|
+
}>>>;
|
|
106
106
|
hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
|
|
107
107
|
field: import("@feathersjs/typebox").TString<string>;
|
|
108
108
|
space: import("@feathersjs/typebox").TString<string>;
|
|
@@ -143,6 +143,34 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
|
|
|
143
143
|
stress_shield: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
144
144
|
enabled: import("@feathersjs/typebox").TBoolean;
|
|
145
145
|
}>>;
|
|
146
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
147
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
148
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
149
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
150
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
151
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
152
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
153
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
154
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
155
|
+
}>;
|
|
156
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
157
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
158
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
159
|
+
}>>;
|
|
160
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
161
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
162
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
163
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
164
|
+
}>>;
|
|
165
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
166
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
167
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
168
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
169
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
170
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
171
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
172
|
+
}>>;
|
|
173
|
+
}>>;
|
|
146
174
|
configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
147
175
|
sourceStrategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
148
176
|
sourceUserId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -724,6 +752,34 @@ export declare const strategiesSchema: import("@feathersjs/typebox").TObject<{
|
|
|
724
752
|
}>;
|
|
725
753
|
}>>;
|
|
726
754
|
}>;
|
|
755
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
756
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
757
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
758
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
759
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
760
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
761
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
762
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
763
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
764
|
+
}>;
|
|
765
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
766
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
767
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
768
|
+
}>>;
|
|
769
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
770
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
771
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
772
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
773
|
+
}>>;
|
|
774
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
775
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
776
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
777
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
778
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
779
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
780
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
781
|
+
}>>;
|
|
782
|
+
}>>;
|
|
727
783
|
}>;
|
|
728
784
|
timeinforce: import("@feathersjs/typebox").TString<string>;
|
|
729
785
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"official">, import("@feathersjs/typebox").TLiteral<"community">]>>;
|
|
@@ -825,7 +881,7 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
825
881
|
}[] | undefined;
|
|
826
882
|
buywhen?: {
|
|
827
883
|
logic: "AND" | "OR";
|
|
828
|
-
conditions: (
|
|
884
|
+
conditions: (any | {
|
|
829
885
|
indicator: string;
|
|
830
886
|
condition: "<" | "<=" | "==" | ">" | ">=" | "crossed" | "crossed_above" | "crossed_below";
|
|
831
887
|
compare_to: {
|
|
@@ -843,7 +899,7 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
843
899
|
} | undefined;
|
|
844
900
|
sellwhen?: {
|
|
845
901
|
logic: "AND" | "OR";
|
|
846
|
-
conditions: (
|
|
902
|
+
conditions: (any | {
|
|
847
903
|
indicator: string;
|
|
848
904
|
condition: "<" | "<=" | "==" | ">" | ">=" | "crossed" | "crossed_above" | "crossed_below";
|
|
849
905
|
compare_to: {
|
|
@@ -863,16 +919,16 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
863
919
|
_id: string;
|
|
864
920
|
alias: string;
|
|
865
921
|
name: string;
|
|
866
|
-
group
|
|
867
|
-
description
|
|
868
|
-
optInputs
|
|
922
|
+
group?: string | undefined;
|
|
923
|
+
description?: string | undefined;
|
|
924
|
+
optInputs?: {
|
|
869
925
|
name: string;
|
|
870
926
|
displayName: string;
|
|
871
927
|
defaultValue: number;
|
|
872
928
|
hint: string;
|
|
873
929
|
type: string;
|
|
874
930
|
normName: string;
|
|
875
|
-
}[];
|
|
931
|
+
}[] | undefined;
|
|
876
932
|
hyperopt?: {
|
|
877
933
|
field: string;
|
|
878
934
|
space: string;
|
|
@@ -913,6 +969,34 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
913
969
|
stress_shield?: {
|
|
914
970
|
enabled: boolean;
|
|
915
971
|
} | undefined;
|
|
972
|
+
dca?: {
|
|
973
|
+
enabled: boolean;
|
|
974
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
975
|
+
trigger: {
|
|
976
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
977
|
+
stepPct?: number | undefined;
|
|
978
|
+
stepScale?: number | undefined;
|
|
979
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
980
|
+
count?: number | undefined;
|
|
981
|
+
};
|
|
982
|
+
baseOrder?: {
|
|
983
|
+
type: "fixed" | "percentOfBalance";
|
|
984
|
+
value: number;
|
|
985
|
+
} | undefined;
|
|
986
|
+
safetyOrder?: {
|
|
987
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
988
|
+
value?: number | undefined;
|
|
989
|
+
volumeScale?: number | undefined;
|
|
990
|
+
} | undefined;
|
|
991
|
+
maxSafetyOrders?: number | undefined;
|
|
992
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
993
|
+
exit?: {
|
|
994
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
995
|
+
takeProfitPct?: number | undefined;
|
|
996
|
+
trailing?: boolean | undefined;
|
|
997
|
+
stopLossPct?: number | undefined;
|
|
998
|
+
} | undefined;
|
|
999
|
+
} | undefined;
|
|
916
1000
|
configured?: boolean | undefined;
|
|
917
1001
|
sourceStrategyId?: string | {} | undefined;
|
|
918
1002
|
sourceUserId?: string | {} | undefined;
|
|
@@ -1494,6 +1578,34 @@ export declare const strategiesResolver: import("@feathersjs/schema").Resolver<{
|
|
|
1494
1578
|
};
|
|
1495
1579
|
}[];
|
|
1496
1580
|
};
|
|
1581
|
+
dca?: {
|
|
1582
|
+
enabled: boolean;
|
|
1583
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
1584
|
+
trigger: {
|
|
1585
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
1586
|
+
stepPct?: number | undefined;
|
|
1587
|
+
stepScale?: number | undefined;
|
|
1588
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
1589
|
+
count?: number | undefined;
|
|
1590
|
+
};
|
|
1591
|
+
baseOrder?: {
|
|
1592
|
+
type: "fixed" | "percentOfBalance";
|
|
1593
|
+
value: number;
|
|
1594
|
+
} | undefined;
|
|
1595
|
+
safetyOrder?: {
|
|
1596
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
1597
|
+
value?: number | undefined;
|
|
1598
|
+
volumeScale?: number | undefined;
|
|
1599
|
+
} | undefined;
|
|
1600
|
+
maxSafetyOrders?: number | undefined;
|
|
1601
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
1602
|
+
exit?: {
|
|
1603
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
1604
|
+
takeProfitPct?: number | undefined;
|
|
1605
|
+
trailing?: boolean | undefined;
|
|
1606
|
+
stopLossPct?: number | undefined;
|
|
1607
|
+
} | undefined;
|
|
1608
|
+
} | undefined;
|
|
1497
1609
|
};
|
|
1498
1610
|
timeinforce: string;
|
|
1499
1611
|
source?: "community" | "official" | undefined;
|
|
@@ -1593,7 +1705,7 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
1593
1705
|
}[] | undefined;
|
|
1594
1706
|
buywhen?: {
|
|
1595
1707
|
logic: "AND" | "OR";
|
|
1596
|
-
conditions: (
|
|
1708
|
+
conditions: (any | {
|
|
1597
1709
|
indicator: string;
|
|
1598
1710
|
condition: "<" | "<=" | "==" | ">" | ">=" | "crossed" | "crossed_above" | "crossed_below";
|
|
1599
1711
|
compare_to: {
|
|
@@ -1611,7 +1723,7 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
1611
1723
|
} | undefined;
|
|
1612
1724
|
sellwhen?: {
|
|
1613
1725
|
logic: "AND" | "OR";
|
|
1614
|
-
conditions: (
|
|
1726
|
+
conditions: (any | {
|
|
1615
1727
|
indicator: string;
|
|
1616
1728
|
condition: "<" | "<=" | "==" | ">" | ">=" | "crossed" | "crossed_above" | "crossed_below";
|
|
1617
1729
|
compare_to: {
|
|
@@ -1631,16 +1743,16 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
1631
1743
|
_id: string;
|
|
1632
1744
|
alias: string;
|
|
1633
1745
|
name: string;
|
|
1634
|
-
group
|
|
1635
|
-
description
|
|
1636
|
-
optInputs
|
|
1746
|
+
group?: string | undefined;
|
|
1747
|
+
description?: string | undefined;
|
|
1748
|
+
optInputs?: {
|
|
1637
1749
|
name: string;
|
|
1638
1750
|
displayName: string;
|
|
1639
1751
|
defaultValue: number;
|
|
1640
1752
|
hint: string;
|
|
1641
1753
|
type: string;
|
|
1642
1754
|
normName: string;
|
|
1643
|
-
}[];
|
|
1755
|
+
}[] | undefined;
|
|
1644
1756
|
hyperopt?: {
|
|
1645
1757
|
field: string;
|
|
1646
1758
|
space: string;
|
|
@@ -1681,6 +1793,34 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
1681
1793
|
stress_shield?: {
|
|
1682
1794
|
enabled: boolean;
|
|
1683
1795
|
} | undefined;
|
|
1796
|
+
dca?: {
|
|
1797
|
+
enabled: boolean;
|
|
1798
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
1799
|
+
trigger: {
|
|
1800
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
1801
|
+
stepPct?: number | undefined;
|
|
1802
|
+
stepScale?: number | undefined;
|
|
1803
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
1804
|
+
count?: number | undefined;
|
|
1805
|
+
};
|
|
1806
|
+
baseOrder?: {
|
|
1807
|
+
type: "fixed" | "percentOfBalance";
|
|
1808
|
+
value: number;
|
|
1809
|
+
} | undefined;
|
|
1810
|
+
safetyOrder?: {
|
|
1811
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
1812
|
+
value?: number | undefined;
|
|
1813
|
+
volumeScale?: number | undefined;
|
|
1814
|
+
} | undefined;
|
|
1815
|
+
maxSafetyOrders?: number | undefined;
|
|
1816
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
1817
|
+
exit?: {
|
|
1818
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
1819
|
+
takeProfitPct?: number | undefined;
|
|
1820
|
+
trailing?: boolean | undefined;
|
|
1821
|
+
stopLossPct?: number | undefined;
|
|
1822
|
+
} | undefined;
|
|
1823
|
+
} | undefined;
|
|
1684
1824
|
configured?: boolean | undefined;
|
|
1685
1825
|
sourceStrategyId?: string | {} | undefined;
|
|
1686
1826
|
sourceUserId?: string | {} | undefined;
|
|
@@ -2262,6 +2402,34 @@ export declare const strategiesExternalResolver: import("@feathersjs/schema").Re
|
|
|
2262
2402
|
};
|
|
2263
2403
|
}[];
|
|
2264
2404
|
};
|
|
2405
|
+
dca?: {
|
|
2406
|
+
enabled: boolean;
|
|
2407
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
2408
|
+
trigger: {
|
|
2409
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
2410
|
+
stepPct?: number | undefined;
|
|
2411
|
+
stepScale?: number | undefined;
|
|
2412
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
2413
|
+
count?: number | undefined;
|
|
2414
|
+
};
|
|
2415
|
+
baseOrder?: {
|
|
2416
|
+
type: "fixed" | "percentOfBalance";
|
|
2417
|
+
value: number;
|
|
2418
|
+
} | undefined;
|
|
2419
|
+
safetyOrder?: {
|
|
2420
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
2421
|
+
value?: number | undefined;
|
|
2422
|
+
volumeScale?: number | undefined;
|
|
2423
|
+
} | undefined;
|
|
2424
|
+
maxSafetyOrders?: number | undefined;
|
|
2425
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
2426
|
+
exit?: {
|
|
2427
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
2428
|
+
takeProfitPct?: number | undefined;
|
|
2429
|
+
trailing?: boolean | undefined;
|
|
2430
|
+
stopLossPct?: number | undefined;
|
|
2431
|
+
} | undefined;
|
|
2432
|
+
} | undefined;
|
|
2265
2433
|
};
|
|
2266
2434
|
timeinforce: string;
|
|
2267
2435
|
source?: "community" | "official" | undefined;
|
|
@@ -2399,16 +2567,16 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
|
|
|
2399
2567
|
_id: import("@feathersjs/typebox").TString<string>;
|
|
2400
2568
|
alias: import("@feathersjs/typebox").TString<string>;
|
|
2401
2569
|
name: import("@feathersjs/typebox").TString<string>;
|
|
2402
|
-
group: import("@feathersjs/typebox").TString<string
|
|
2403
|
-
description: import("@feathersjs/typebox").TString<string
|
|
2404
|
-
optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
|
|
2570
|
+
group: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
2571
|
+
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
2572
|
+
optInputs: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
|
|
2405
2573
|
name: import("@feathersjs/typebox").TString<string>;
|
|
2406
2574
|
displayName: import("@feathersjs/typebox").TString<string>;
|
|
2407
2575
|
defaultValue: import("@feathersjs/typebox").TNumber;
|
|
2408
2576
|
hint: import("@feathersjs/typebox").TString<string>;
|
|
2409
2577
|
type: import("@feathersjs/typebox").TString<string>;
|
|
2410
2578
|
normName: import("@feathersjs/typebox").TString<string>;
|
|
2411
|
-
}
|
|
2579
|
+
}>>>;
|
|
2412
2580
|
hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
|
|
2413
2581
|
field: import("@feathersjs/typebox").TString<string>;
|
|
2414
2582
|
space: import("@feathersjs/typebox").TString<string>;
|
|
@@ -2449,6 +2617,34 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
|
|
|
2449
2617
|
stress_shield: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
2450
2618
|
enabled: import("@feathersjs/typebox").TBoolean;
|
|
2451
2619
|
}>>;
|
|
2620
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
2621
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
2622
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
2623
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
2624
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
2625
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
2626
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
2627
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
2628
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
2629
|
+
}>;
|
|
2630
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
2631
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
2632
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
2633
|
+
}>>;
|
|
2634
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
2635
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
2636
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
2637
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
2638
|
+
}>>;
|
|
2639
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
2640
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
2641
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
2642
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
2643
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
2644
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
2645
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
2646
|
+
}>>;
|
|
2647
|
+
}>>;
|
|
2452
2648
|
configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
2453
2649
|
sourceStrategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
2454
2650
|
sourceUserId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -3030,6 +3226,34 @@ export declare const strategiesDataSchema: import("@feathersjs/typebox").TPick<i
|
|
|
3030
3226
|
}>;
|
|
3031
3227
|
}>>;
|
|
3032
3228
|
}>;
|
|
3229
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
3230
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
3231
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
3232
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
3233
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
3234
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
3235
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
3236
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
3237
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
3238
|
+
}>;
|
|
3239
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
3240
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
3241
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
3242
|
+
}>>;
|
|
3243
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
3244
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
3245
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
3246
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
3247
|
+
}>>;
|
|
3248
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
3249
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
3250
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
3251
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
3252
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
3253
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
3254
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
3255
|
+
}>>;
|
|
3256
|
+
}>>;
|
|
3033
3257
|
}>;
|
|
3034
3258
|
timeinforce: import("@feathersjs/typebox").TString<string>;
|
|
3035
3259
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"official">, import("@feathersjs/typebox").TLiteral<"community">]>>;
|
|
@@ -3131,7 +3355,7 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
3131
3355
|
}[] | undefined;
|
|
3132
3356
|
buywhen?: {
|
|
3133
3357
|
logic: "AND" | "OR";
|
|
3134
|
-
conditions: (
|
|
3358
|
+
conditions: (any | {
|
|
3135
3359
|
indicator: string;
|
|
3136
3360
|
condition: "<" | "<=" | "==" | ">" | ">=" | "crossed" | "crossed_above" | "crossed_below";
|
|
3137
3361
|
compare_to: {
|
|
@@ -3149,7 +3373,7 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
3149
3373
|
} | undefined;
|
|
3150
3374
|
sellwhen?: {
|
|
3151
3375
|
logic: "AND" | "OR";
|
|
3152
|
-
conditions: (
|
|
3376
|
+
conditions: (any | {
|
|
3153
3377
|
indicator: string;
|
|
3154
3378
|
condition: "<" | "<=" | "==" | ">" | ">=" | "crossed" | "crossed_above" | "crossed_below";
|
|
3155
3379
|
compare_to: {
|
|
@@ -3169,16 +3393,16 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
3169
3393
|
_id: string;
|
|
3170
3394
|
alias: string;
|
|
3171
3395
|
name: string;
|
|
3172
|
-
group
|
|
3173
|
-
description
|
|
3174
|
-
optInputs
|
|
3396
|
+
group?: string | undefined;
|
|
3397
|
+
description?: string | undefined;
|
|
3398
|
+
optInputs?: {
|
|
3175
3399
|
name: string;
|
|
3176
3400
|
displayName: string;
|
|
3177
3401
|
defaultValue: number;
|
|
3178
3402
|
hint: string;
|
|
3179
3403
|
type: string;
|
|
3180
3404
|
normName: string;
|
|
3181
|
-
}[];
|
|
3405
|
+
}[] | undefined;
|
|
3182
3406
|
hyperopt?: {
|
|
3183
3407
|
field: string;
|
|
3184
3408
|
space: string;
|
|
@@ -3219,6 +3443,34 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
3219
3443
|
stress_shield?: {
|
|
3220
3444
|
enabled: boolean;
|
|
3221
3445
|
} | undefined;
|
|
3446
|
+
dca?: {
|
|
3447
|
+
enabled: boolean;
|
|
3448
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
3449
|
+
trigger: {
|
|
3450
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
3451
|
+
stepPct?: number | undefined;
|
|
3452
|
+
stepScale?: number | undefined;
|
|
3453
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
3454
|
+
count?: number | undefined;
|
|
3455
|
+
};
|
|
3456
|
+
baseOrder?: {
|
|
3457
|
+
type: "fixed" | "percentOfBalance";
|
|
3458
|
+
value: number;
|
|
3459
|
+
} | undefined;
|
|
3460
|
+
safetyOrder?: {
|
|
3461
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
3462
|
+
value?: number | undefined;
|
|
3463
|
+
volumeScale?: number | undefined;
|
|
3464
|
+
} | undefined;
|
|
3465
|
+
maxSafetyOrders?: number | undefined;
|
|
3466
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
3467
|
+
exit?: {
|
|
3468
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
3469
|
+
takeProfitPct?: number | undefined;
|
|
3470
|
+
trailing?: boolean | undefined;
|
|
3471
|
+
stopLossPct?: number | undefined;
|
|
3472
|
+
} | undefined;
|
|
3473
|
+
} | undefined;
|
|
3222
3474
|
configured?: boolean | undefined;
|
|
3223
3475
|
sourceStrategyId?: string | {} | undefined;
|
|
3224
3476
|
sourceUserId?: string | {} | undefined;
|
|
@@ -3800,6 +4052,34 @@ export declare const strategiesDataResolver: import("@feathersjs/schema").Resolv
|
|
|
3800
4052
|
};
|
|
3801
4053
|
}[];
|
|
3802
4054
|
};
|
|
4055
|
+
dca?: {
|
|
4056
|
+
enabled: boolean;
|
|
4057
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
4058
|
+
trigger: {
|
|
4059
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
4060
|
+
stepPct?: number | undefined;
|
|
4061
|
+
stepScale?: number | undefined;
|
|
4062
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
4063
|
+
count?: number | undefined;
|
|
4064
|
+
};
|
|
4065
|
+
baseOrder?: {
|
|
4066
|
+
type: "fixed" | "percentOfBalance";
|
|
4067
|
+
value: number;
|
|
4068
|
+
} | undefined;
|
|
4069
|
+
safetyOrder?: {
|
|
4070
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
4071
|
+
value?: number | undefined;
|
|
4072
|
+
volumeScale?: number | undefined;
|
|
4073
|
+
} | undefined;
|
|
4074
|
+
maxSafetyOrders?: number | undefined;
|
|
4075
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
4076
|
+
exit?: {
|
|
4077
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
4078
|
+
takeProfitPct?: number | undefined;
|
|
4079
|
+
trailing?: boolean | undefined;
|
|
4080
|
+
stopLossPct?: number | undefined;
|
|
4081
|
+
} | undefined;
|
|
4082
|
+
} | undefined;
|
|
3803
4083
|
};
|
|
3804
4084
|
timeinforce: string;
|
|
3805
4085
|
source?: "community" | "official" | undefined;
|
|
@@ -3937,16 +4217,16 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
|
|
|
3937
4217
|
_id: import("@feathersjs/typebox").TString<string>;
|
|
3938
4218
|
alias: import("@feathersjs/typebox").TString<string>;
|
|
3939
4219
|
name: import("@feathersjs/typebox").TString<string>;
|
|
3940
|
-
group: import("@feathersjs/typebox").TString<string
|
|
3941
|
-
description: import("@feathersjs/typebox").TString<string
|
|
3942
|
-
optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
|
|
4220
|
+
group: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
4221
|
+
description: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
|
|
4222
|
+
optInputs: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
|
|
3943
4223
|
name: import("@feathersjs/typebox").TString<string>;
|
|
3944
4224
|
displayName: import("@feathersjs/typebox").TString<string>;
|
|
3945
4225
|
defaultValue: import("@feathersjs/typebox").TNumber;
|
|
3946
4226
|
hint: import("@feathersjs/typebox").TString<string>;
|
|
3947
4227
|
type: import("@feathersjs/typebox").TString<string>;
|
|
3948
4228
|
normName: import("@feathersjs/typebox").TString<string>;
|
|
3949
|
-
}
|
|
4229
|
+
}>>>;
|
|
3950
4230
|
hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
|
|
3951
4231
|
field: import("@feathersjs/typebox").TString<string>;
|
|
3952
4232
|
space: import("@feathersjs/typebox").TString<string>;
|
|
@@ -3987,6 +4267,34 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
|
|
|
3987
4267
|
stress_shield: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
3988
4268
|
enabled: import("@feathersjs/typebox").TBoolean;
|
|
3989
4269
|
}>>;
|
|
4270
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4271
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
4272
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
4273
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
4274
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
4275
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4276
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4277
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
4278
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4279
|
+
}>;
|
|
4280
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4281
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
4282
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
4283
|
+
}>>;
|
|
4284
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4285
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
4286
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4287
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4288
|
+
}>>;
|
|
4289
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4290
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
4291
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4292
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
4293
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4294
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
4295
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4296
|
+
}>>;
|
|
4297
|
+
}>>;
|
|
3990
4298
|
configured: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
3991
4299
|
sourceStrategyId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
3992
4300
|
sourceUserId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
|
|
@@ -4568,6 +4876,34 @@ export declare const strategiesPatchSchema: import("@feathersjs/typebox").TParti
|
|
|
4568
4876
|
}>;
|
|
4569
4877
|
}>>;
|
|
4570
4878
|
}>;
|
|
4879
|
+
dca: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4880
|
+
enabled: import("@feathersjs/typebox").TBoolean;
|
|
4881
|
+
reference: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"ath">, import("@feathersjs/typebox").TLiteral<"lastEntry">, import("@feathersjs/typebox").TLiteral<"averageEntry">, import("@feathersjs/typebox").TLiteral<"baseEntry">]>>;
|
|
4882
|
+
trigger: import("@feathersjs/typebox").TObject<{
|
|
4883
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"priceDeviation">, import("@feathersjs/typebox").TLiteral<"interval">, import("@feathersjs/typebox").TLiteral<"signal">]>;
|
|
4884
|
+
stepPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4885
|
+
stepScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4886
|
+
every: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"hour">, import("@feathersjs/typebox").TLiteral<"day">, import("@feathersjs/typebox").TLiteral<"week">, import("@feathersjs/typebox").TLiteral<"month">]>>;
|
|
4887
|
+
count: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4888
|
+
}>;
|
|
4889
|
+
baseOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4890
|
+
type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"fixed">, import("@feathersjs/typebox").TLiteral<"percentOfBalance">]>;
|
|
4891
|
+
value: import("@feathersjs/typebox").TNumber;
|
|
4892
|
+
}>>;
|
|
4893
|
+
safetyOrder: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4894
|
+
type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"multipleOfBase">, import("@feathersjs/typebox").TLiteral<"fixed">]>>;
|
|
4895
|
+
value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4896
|
+
volumeScale: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4897
|
+
}>>;
|
|
4898
|
+
maxSafetyOrders: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4899
|
+
start: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"immediate">, import("@feathersjs/typebox").TLiteral<"onSignal">]>>;
|
|
4900
|
+
exit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
|
|
4901
|
+
mode: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"none">, import("@feathersjs/typebox").TLiteral<"takeProfit">, import("@feathersjs/typebox").TLiteral<"newAth">, import("@feathersjs/typebox").TLiteral<"roi">]>;
|
|
4902
|
+
takeProfitPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4903
|
+
trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
|
|
4904
|
+
stopLossPct: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
|
|
4905
|
+
}>>;
|
|
4906
|
+
}>>;
|
|
4571
4907
|
}>;
|
|
4572
4908
|
timeinforce: import("@feathersjs/typebox").TString<string>;
|
|
4573
4909
|
source: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"official">, import("@feathersjs/typebox").TLiteral<"community">]>>;
|
|
@@ -4669,7 +5005,7 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
4669
5005
|
}[] | undefined;
|
|
4670
5006
|
buywhen?: {
|
|
4671
5007
|
logic: "AND" | "OR";
|
|
4672
|
-
conditions: (
|
|
5008
|
+
conditions: (any | {
|
|
4673
5009
|
indicator: string;
|
|
4674
5010
|
condition: "<" | "<=" | "==" | ">" | ">=" | "crossed" | "crossed_above" | "crossed_below";
|
|
4675
5011
|
compare_to: {
|
|
@@ -4687,7 +5023,7 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
4687
5023
|
} | undefined;
|
|
4688
5024
|
sellwhen?: {
|
|
4689
5025
|
logic: "AND" | "OR";
|
|
4690
|
-
conditions: (
|
|
5026
|
+
conditions: (any | {
|
|
4691
5027
|
indicator: string;
|
|
4692
5028
|
condition: "<" | "<=" | "==" | ">" | ">=" | "crossed" | "crossed_above" | "crossed_below";
|
|
4693
5029
|
compare_to: {
|
|
@@ -4707,16 +5043,16 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
4707
5043
|
_id: string;
|
|
4708
5044
|
alias: string;
|
|
4709
5045
|
name: string;
|
|
4710
|
-
group
|
|
4711
|
-
description
|
|
4712
|
-
optInputs
|
|
5046
|
+
group?: string | undefined;
|
|
5047
|
+
description?: string | undefined;
|
|
5048
|
+
optInputs?: {
|
|
4713
5049
|
name: string;
|
|
4714
5050
|
displayName: string;
|
|
4715
5051
|
defaultValue: number;
|
|
4716
5052
|
hint: string;
|
|
4717
5053
|
type: string;
|
|
4718
5054
|
normName: string;
|
|
4719
|
-
}[];
|
|
5055
|
+
}[] | undefined;
|
|
4720
5056
|
hyperopt?: {
|
|
4721
5057
|
field: string;
|
|
4722
5058
|
space: string;
|
|
@@ -4757,6 +5093,34 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
4757
5093
|
stress_shield?: {
|
|
4758
5094
|
enabled: boolean;
|
|
4759
5095
|
} | undefined;
|
|
5096
|
+
dca?: {
|
|
5097
|
+
enabled: boolean;
|
|
5098
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
5099
|
+
trigger: {
|
|
5100
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
5101
|
+
stepPct?: number | undefined;
|
|
5102
|
+
stepScale?: number | undefined;
|
|
5103
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
5104
|
+
count?: number | undefined;
|
|
5105
|
+
};
|
|
5106
|
+
baseOrder?: {
|
|
5107
|
+
type: "fixed" | "percentOfBalance";
|
|
5108
|
+
value: number;
|
|
5109
|
+
} | undefined;
|
|
5110
|
+
safetyOrder?: {
|
|
5111
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
5112
|
+
value?: number | undefined;
|
|
5113
|
+
volumeScale?: number | undefined;
|
|
5114
|
+
} | undefined;
|
|
5115
|
+
maxSafetyOrders?: number | undefined;
|
|
5116
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
5117
|
+
exit?: {
|
|
5118
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
5119
|
+
takeProfitPct?: number | undefined;
|
|
5120
|
+
trailing?: boolean | undefined;
|
|
5121
|
+
stopLossPct?: number | undefined;
|
|
5122
|
+
} | undefined;
|
|
5123
|
+
} | undefined;
|
|
4760
5124
|
configured?: boolean | undefined;
|
|
4761
5125
|
sourceStrategyId?: string | {} | undefined;
|
|
4762
5126
|
sourceUserId?: string | {} | undefined;
|
|
@@ -5338,6 +5702,34 @@ export declare const strategiesPatchResolver: import("@feathersjs/schema").Resol
|
|
|
5338
5702
|
};
|
|
5339
5703
|
}[];
|
|
5340
5704
|
};
|
|
5705
|
+
dca?: {
|
|
5706
|
+
enabled: boolean;
|
|
5707
|
+
reference?: "ath" | "averageEntry" | "baseEntry" | "lastEntry" | undefined;
|
|
5708
|
+
trigger: {
|
|
5709
|
+
type: "interval" | "priceDeviation" | "signal";
|
|
5710
|
+
stepPct?: number | undefined;
|
|
5711
|
+
stepScale?: number | undefined;
|
|
5712
|
+
every?: "day" | "hour" | "month" | "week" | undefined;
|
|
5713
|
+
count?: number | undefined;
|
|
5714
|
+
};
|
|
5715
|
+
baseOrder?: {
|
|
5716
|
+
type: "fixed" | "percentOfBalance";
|
|
5717
|
+
value: number;
|
|
5718
|
+
} | undefined;
|
|
5719
|
+
safetyOrder?: {
|
|
5720
|
+
type?: "fixed" | "multipleOfBase" | undefined;
|
|
5721
|
+
value?: number | undefined;
|
|
5722
|
+
volumeScale?: number | undefined;
|
|
5723
|
+
} | undefined;
|
|
5724
|
+
maxSafetyOrders?: number | undefined;
|
|
5725
|
+
start?: "immediate" | "onSignal" | undefined;
|
|
5726
|
+
exit?: {
|
|
5727
|
+
mode: "newAth" | "none" | "roi" | "takeProfit";
|
|
5728
|
+
takeProfitPct?: number | undefined;
|
|
5729
|
+
trailing?: boolean | undefined;
|
|
5730
|
+
stopLossPct?: number | undefined;
|
|
5731
|
+
} | undefined;
|
|
5732
|
+
} | undefined;
|
|
5341
5733
|
};
|
|
5342
5734
|
timeinforce: string;
|
|
5343
5735
|
source?: "community" | "official" | undefined;
|
|
@@ -5489,4 +5881,31 @@ export interface StrategyIR {
|
|
|
5489
5881
|
stress_shield?: {
|
|
5490
5882
|
enabled: boolean;
|
|
5491
5883
|
};
|
|
5884
|
+
dca?: {
|
|
5885
|
+
enabled: boolean;
|
|
5886
|
+
reference: 'ath' | 'lastEntry' | 'averageEntry' | 'baseEntry';
|
|
5887
|
+
trigger: {
|
|
5888
|
+
type: 'priceDeviation' | 'interval' | 'signal';
|
|
5889
|
+
stepPct: number;
|
|
5890
|
+
stepScale: number;
|
|
5891
|
+
intervalSeconds: number;
|
|
5892
|
+
};
|
|
5893
|
+
baseOrder: {
|
|
5894
|
+
type: 'fixed' | 'percentOfBalance';
|
|
5895
|
+
value: number;
|
|
5896
|
+
};
|
|
5897
|
+
safetyOrder: {
|
|
5898
|
+
type: 'multipleOfBase' | 'fixed';
|
|
5899
|
+
value: number;
|
|
5900
|
+
volumeScale: number;
|
|
5901
|
+
};
|
|
5902
|
+
maxSafetyOrders: number;
|
|
5903
|
+
start: 'immediate' | 'onSignal';
|
|
5904
|
+
exit: {
|
|
5905
|
+
mode: 'none' | 'takeProfit' | 'newAth' | 'roi';
|
|
5906
|
+
takeProfitPct?: number;
|
|
5907
|
+
trailing: boolean;
|
|
5908
|
+
stopLossPct?: number;
|
|
5909
|
+
};
|
|
5910
|
+
};
|
|
5492
5911
|
}
|