@cryptorobot.ai/client 0.0.38 → 0.0.40

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 (99) hide show
  1. package/lib/src/client.js +33 -3
  2. package/lib/src/services/agents/agents.class.d.ts +11 -0
  3. package/lib/src/services/agents/agents.d.ts +11 -0
  4. package/lib/src/services/agents/agents.schema.d.ts +2371 -0
  5. package/lib/src/services/agents/agents.shared.d.ts +13 -0
  6. package/lib/src/services/agents/agents.shared.js +13 -0
  7. package/lib/src/services/agents/prepare/prepare.class.d.ts +18 -0
  8. package/lib/src/services/agents/prepare/prepare.d.ts +11 -0
  9. package/lib/src/services/agents/prepare/prepare.schema.d.ts +285 -0
  10. package/lib/src/services/agents/prepare/prepare.shared.d.ts +13 -0
  11. package/lib/src/services/agents/prepare/prepare.shared.js +13 -0
  12. package/lib/src/services/agents/sessions/conversations/conversations.class.d.ts +11 -0
  13. package/lib/src/services/agents/sessions/conversations/conversations.d.ts +11 -0
  14. package/lib/src/services/agents/sessions/conversations/conversations.schema.d.ts +2561 -0
  15. package/lib/src/services/agents/sessions/conversations/conversations.shared.d.ts +13 -0
  16. package/lib/src/services/agents/sessions/conversations/conversations.shared.js +13 -0
  17. package/lib/src/services/agents/sessions/sessions.class.d.ts +11 -0
  18. package/lib/src/services/agents/sessions/sessions.d.ts +11 -0
  19. package/lib/src/services/agents/sessions/sessions.schema.d.ts +803 -0
  20. package/lib/src/services/agents/sessions/sessions.shared.d.ts +13 -0
  21. package/lib/src/services/agents/sessions/sessions.shared.js +13 -0
  22. package/lib/src/services/events/events.class.d.ts +11 -0
  23. package/lib/src/services/events/events.d.ts +11 -0
  24. package/lib/src/services/events/events.schema.d.ts +786 -0
  25. package/lib/src/services/events/events.shared.d.ts +13 -0
  26. package/lib/src/services/events/events.shared.js +13 -0
  27. package/lib/src/services/events/triggers/triggers.class.d.ts +11 -0
  28. package/lib/src/services/events/triggers/triggers.d.ts +11 -0
  29. package/lib/src/services/events/triggers/triggers.schema.d.ts +1582 -0
  30. package/lib/src/services/events/triggers/triggers.shared.d.ts +13 -0
  31. package/lib/src/services/events/triggers/triggers.shared.js +13 -0
  32. package/lib/src/services/events/types/types.class.d.ts +11 -0
  33. package/lib/src/services/events/types/types.d.ts +11 -0
  34. package/lib/src/services/events/types/types.schema.d.ts +688 -0
  35. package/lib/src/services/events/types/types.shared.d.ts +13 -0
  36. package/lib/src/services/events/types/types.shared.js +13 -0
  37. package/lib/src/services/exchanges/balance/balance.schema.d.ts +16 -16
  38. package/lib/src/services/exchanges/download/download.schema.d.ts +58 -17
  39. package/lib/src/services/exchanges/download/download.shared.d.ts +1 -1
  40. package/lib/src/services/exchanges/download/download.shared.js +1 -1
  41. package/lib/src/services/exchanges/download/webhooks/webhooks.schema.d.ts +4 -4
  42. package/lib/src/services/exchanges/exchanges.schema.d.ts +100 -100
  43. package/lib/src/services/exchanges/ohlcv/ohlcv.class.d.ts +19 -0
  44. package/lib/src/services/exchanges/ohlcv/ohlcv.d.ts +11 -0
  45. package/lib/src/services/exchanges/ohlcv/ohlcv.schema.d.ts +507 -0
  46. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.d.ts +13 -0
  47. package/lib/src/services/exchanges/ohlcv/ohlcv.shared.js +13 -0
  48. package/lib/src/services/exchanges/ticker/ticker.schema.d.ts +68 -68
  49. package/lib/src/services/extensions/extensions.class.d.ts +11 -0
  50. package/lib/src/services/extensions/extensions.d.ts +11 -0
  51. package/lib/src/services/extensions/extensions.schema.d.ts +1275 -0
  52. package/lib/src/services/extensions/extensions.shared.d.ts +13 -0
  53. package/lib/src/services/extensions/extensions.shared.js +13 -0
  54. package/lib/src/services/keys/KeysService.d.ts +13 -0
  55. package/lib/src/services/keys/keys.class.d.ts +11 -0
  56. package/lib/src/services/keys/keys.d.ts +11 -0
  57. package/lib/src/services/keys/keys.schema.d.ts +719 -0
  58. package/lib/src/services/keys/keys.shared.d.ts +14 -0
  59. package/lib/src/services/keys/keys.shared.js +13 -0
  60. package/lib/src/services/messages/messages.schema.d.ts +64 -32
  61. package/lib/src/services/restricted/restricted.class.d.ts +26 -0
  62. package/lib/src/services/restricted/restricted.d.ts +21 -0
  63. package/lib/src/services/restricted/restricted.shared.d.ts +13 -0
  64. package/lib/src/services/restricted/restricted.shared.js +13 -0
  65. package/lib/src/services/strategies/backtest/backtest.schema.d.ts +127 -60
  66. package/lib/src/services/strategies/backtest/results/results.schema.d.ts +36 -36
  67. package/lib/src/services/strategies/generate/generate.class.d.ts +11 -0
  68. package/lib/src/services/strategies/generate/generate.d.ts +11 -0
  69. package/lib/src/services/strategies/generate/generate.schema.d.ts +429 -0
  70. package/lib/src/services/strategies/generate/generate.shared.d.ts +13 -0
  71. package/lib/src/services/strategies/generate/generate.shared.js +13 -0
  72. package/lib/src/services/strategies/hyperopt/hyperopt.schema.d.ts +16 -8
  73. package/lib/src/services/strategies/indicators/indicators.schema.d.ts +177 -97
  74. package/lib/src/services/strategies/indicators/talib/talib.class.d.ts +11 -0
  75. package/lib/src/services/strategies/indicators/talib/talib.d.ts +11 -0
  76. package/lib/src/services/strategies/indicators/talib/talib.schema.d.ts +443 -0
  77. package/lib/src/services/strategies/indicators/talib/talib.shared.d.ts +13 -0
  78. package/lib/src/services/strategies/indicators/talib/talib.shared.js +13 -0
  79. package/lib/src/services/strategies/strategies.schema.d.ts +2732 -327
  80. package/lib/src/services/strategies/templates/templates.schema.d.ts +2146 -16
  81. package/lib/src/services/tools/openapi/openapi.class.d.ts +34 -0
  82. package/lib/src/services/tools/openapi/openapi.d.ts +10 -0
  83. package/lib/src/services/tools/openapi/openapi.shared.d.ts +13 -0
  84. package/lib/src/services/tools/openapi/openapi.shared.js +13 -0
  85. package/lib/src/services/tools/tools.class.d.ts +11 -0
  86. package/lib/src/services/tools/tools.d.ts +11 -0
  87. package/lib/src/services/tools/tools.schema.d.ts +269 -0
  88. package/lib/src/services/tools/tools.shared.d.ts +13 -0
  89. package/lib/src/services/tools/tools.shared.js +13 -0
  90. package/lib/src/services/traders/pods/api/api.schema.d.ts +1650 -464
  91. package/lib/src/services/traders/pods/events/events.schema.d.ts +4 -4
  92. package/lib/src/services/traders/pods/pods.schema.d.ts +1539 -443
  93. package/lib/src/services/traders/traders.schema.d.ts +142 -142
  94. package/lib/src/services/users/users.class.d.ts +178 -3
  95. package/lib/src/services/users/users.schema.d.ts +123 -85
  96. package/lib/src/services/users/users.shared.d.ts +4 -3
  97. package/lib/src/services/users/users.shared.js +1 -1
  98. package/package.json +2 -3
  99. package/readme.md +1 -2
@@ -431,17 +431,24 @@ export declare const tradersPodsApiSchema: import("@feathersjs/typebox").TObject
431
431
  exchangeId: import("@feathersjs/typebox").TString<string>;
432
432
  strategyId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
433
433
  strategy: import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
434
- _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
435
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
434
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
435
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
436
436
  file: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
437
437
  templateId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
438
438
  name: import("@feathersjs/typebox").TAny;
439
+ public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
439
440
  interval: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"1m">, import("@feathersjs/typebox").TLiteral<"5m">, import("@feathersjs/typebox").TLiteral<"30m">, import("@feathersjs/typebox").TLiteral<"2h">, import("@feathersjs/typebox").TLiteral<"6h">, import("@feathersjs/typebox").TLiteral<"12h">, import("@feathersjs/typebox").TLiteral<"1d">, import("@feathersjs/typebox").TLiteral<"1w">]>>;
440
441
  stoploss: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
441
442
  minimal_roi: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
442
443
  minutes: import("@feathersjs/typebox").TNumber;
443
444
  profit: import("@feathersjs/typebox").TNumber;
444
445
  }>>>;
446
+ trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
447
+ trailing_stop: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
448
+ trailing_stop_positive: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
449
+ trailing_stop_positive_offset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
450
+ trailing_only_offset_is_reached: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
451
+ }>>;
445
452
  exit_sell_signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
446
453
  exit_profit_only: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
447
454
  exit_profit_offset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
@@ -469,21 +476,65 @@ export declare const tradersPodsApiSchema: import("@feathersjs/typebox").TObject
469
476
  max_allowed_drawdown: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
470
477
  only_per_pair: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
471
478
  }>>>;
472
- buywhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
479
+ buywhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TRecursive<import("@feathersjs/typebox").TObject<{
480
+ logic: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AND">, import("@feathersjs/typebox").TLiteral<"OR">]>;
481
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TSelf, import("@feathersjs/typebox").TObject<{
482
+ indicator: import("@feathersjs/typebox").TString<string>;
483
+ condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
484
+ compare_to: import("@feathersjs/typebox").TObject<{
485
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
486
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
487
+ }>;
488
+ }>]>>;
489
+ }>>, import("@feathersjs/typebox").TObject<{
473
490
  indicator: import("@feathersjs/typebox").TString<string>;
474
491
  condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
475
- type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
476
- value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
477
- indicator2: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
478
- }>>>;
479
- sellwhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
492
+ compare_to: import("@feathersjs/typebox").TObject<{
493
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
494
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
495
+ }>;
496
+ }>]>>;
497
+ sellwhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TRecursive<import("@feathersjs/typebox").TObject<{
498
+ logic: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AND">, import("@feathersjs/typebox").TLiteral<"OR">]>;
499
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TSelf, import("@feathersjs/typebox").TObject<{
500
+ indicator: import("@feathersjs/typebox").TString<string>;
501
+ condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">, import("@feathersjs/typebox").TLiteral<"crossed_above">, import("@feathersjs/typebox").TLiteral<"crossed_below">, import("@feathersjs/typebox").TLiteral<"crossed">]>;
502
+ compare_to: import("@feathersjs/typebox").TObject<{
503
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
504
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
505
+ }>;
506
+ }>]>>;
507
+ }>>, import("@feathersjs/typebox").TObject<{
480
508
  indicator: import("@feathersjs/typebox").TString<string>;
481
509
  condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
482
- type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
483
- value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
484
- indicator2: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
510
+ compare_to: import("@feathersjs/typebox").TObject<{
511
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
512
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
513
+ }>;
514
+ }>]>>;
515
+ indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
516
+ _id: import("@feathersjs/typebox").TString<string>;
517
+ alias: import("@feathersjs/typebox").TString<string>;
518
+ name: import("@feathersjs/typebox").TString<string>;
519
+ group: import("@feathersjs/typebox").TString<string>;
520
+ description: import("@feathersjs/typebox").TString<string>;
521
+ optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
522
+ name: import("@feathersjs/typebox").TString<string>;
523
+ displayName: import("@feathersjs/typebox").TString<string>;
524
+ defaultValue: import("@feathersjs/typebox").TNumber;
525
+ hint: import("@feathersjs/typebox").TString<string>;
526
+ type: import("@feathersjs/typebox").TString<string>;
527
+ normName: import("@feathersjs/typebox").TString<string>;
528
+ }>>;
529
+ hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
530
+ field: import("@feathersjs/typebox").TString<string>;
531
+ space: import("@feathersjs/typebox").TString<string>;
532
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"IntParameter">, import("@feathersjs/typebox").TLiteral<"DecimalParameter">, import("@feathersjs/typebox").TLiteral<"BooleanParameter">, import("@feathersjs/typebox").TLiteral<"CategoricalParameter">]>;
533
+ min: import("@feathersjs/typebox").TInteger;
534
+ max: import("@feathersjs/typebox").TInteger;
535
+ default: import("@feathersjs/typebox").TInteger;
536
+ }>>>;
485
537
  }>>>;
486
- indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>>;
487
538
  code: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
488
539
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
489
540
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -677,10 +728,96 @@ export declare const tradersPodsApiSchema: import("@feathersjs/typebox").TObject
677
728
  _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
678
729
  name: import("@feathersjs/typebox").TString<string>;
679
730
  type: import("@feathersjs/typebox").TString<string>;
731
+ revision: import("@feathersjs/typebox").TNumber;
680
732
  description: import("@feathersjs/typebox").TString<string>;
681
733
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
682
734
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
683
- values: import("@feathersjs/typebox").TAny;
735
+ public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
736
+ values: import("@feathersjs/typebox").TObject<{
737
+ interval: import("@feathersjs/typebox").TString<string>;
738
+ stoploss: import("@feathersjs/typebox").TNumber;
739
+ exit_profit_only: import("@feathersjs/typebox").TBoolean;
740
+ exit_profit_offset: import("@feathersjs/typebox").TNumber;
741
+ indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
742
+ _id: import("@feathersjs/typebox").TString<string>;
743
+ alias: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
744
+ name: import("@feathersjs/typebox").TString<string>;
745
+ group: import("@feathersjs/typebox").TString<string>;
746
+ description: import("@feathersjs/typebox").TString<string>;
747
+ optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
748
+ name: import("@feathersjs/typebox").TString<string>;
749
+ displayName: import("@feathersjs/typebox").TString<string>;
750
+ defaultValue: import("@feathersjs/typebox").TAny;
751
+ hint: import("@feathersjs/typebox").TString<string>;
752
+ type: import("@feathersjs/typebox").TString<string>;
753
+ normName: import("@feathersjs/typebox").TString<string>;
754
+ }>>;
755
+ }>>>;
756
+ minimal_roi: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
757
+ minutes: import("@feathersjs/typebox").TNumber;
758
+ profit: import("@feathersjs/typebox").TNumber;
759
+ }>>;
760
+ protections: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
761
+ enabled: import("@feathersjs/typebox").TBoolean;
762
+ type: import("@feathersjs/typebox").TString<string>;
763
+ method: import("@feathersjs/typebox").TString<string>;
764
+ stop_duration_candles: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
765
+ lookback_period_candles: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
766
+ trade_limit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
767
+ max_allowed_drawdown: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
768
+ only_per_pair: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
769
+ }>>;
770
+ order_types: import("@feathersjs/typebox").TObject<{
771
+ entry: import("@feathersjs/typebox").TString<string>;
772
+ exit: import("@feathersjs/typebox").TString<string>;
773
+ emergencysell: import("@feathersjs/typebox").TString<string>;
774
+ forcebuy: import("@feathersjs/typebox").TString<string>;
775
+ forcesell: import("@feathersjs/typebox").TString<string>;
776
+ stoploss: import("@feathersjs/typebox").TString<string>;
777
+ stoploss_on_exchange: import("@feathersjs/typebox").TBoolean;
778
+ }>;
779
+ sellwhen: import("@feathersjs/typebox").TObject<{
780
+ logic: import("@feathersjs/typebox").TString<string>;
781
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
782
+ indicator: import("@feathersjs/typebox").TString<string>;
783
+ condition: import("@feathersjs/typebox").TString<string>;
784
+ compare_to: import("@feathersjs/typebox").TObject<{
785
+ type: import("@feathersjs/typebox").TString<string>;
786
+ value: import("@feathersjs/typebox").TAny;
787
+ }>;
788
+ }>>;
789
+ }>;
790
+ buywhen: import("@feathersjs/typebox").TObject<{
791
+ logic: import("@feathersjs/typebox").TString<string>;
792
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
793
+ indicator: import("@feathersjs/typebox").TString<string>;
794
+ condition: import("@feathersjs/typebox").TString<string>;
795
+ compare_to: import("@feathersjs/typebox").TObject<{
796
+ type: import("@feathersjs/typebox").TString<string>;
797
+ value: import("@feathersjs/typebox").TAny;
798
+ }>;
799
+ }>>;
800
+ }>;
801
+ }>;
802
+ timeinforce: import("@feathersjs/typebox").TString<string>;
803
+ optimize: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
804
+ enabled: import("@feathersjs/typebox").TBoolean;
805
+ best: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
806
+ by: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"total_profit">, import("@feathersjs/typebox").TLiteral<"sharpe">]>;
807
+ direction: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"max">, import("@feathersjs/typebox").TLiteral<"min">]>;
808
+ }>>;
809
+ if: import("@feathersjs/typebox").TObject<{
810
+ hyperopt: import("@feathersjs/typebox").TObject<{
811
+ results: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
812
+ field: import("@feathersjs/typebox").TString<string>;
813
+ operator: import("@feathersjs/typebox").TString<string>;
814
+ compare: import("@feathersjs/typebox").TAny;
815
+ type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
816
+ }>>;
817
+ }>;
818
+ }>;
819
+ then: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{}>>;
820
+ }>>;
684
821
  }>>>;
685
822
  'strategies/indicators': import("@feathersjs/typebox").TAny;
686
823
  }>>>;
@@ -691,6 +828,7 @@ export declare const tradersPodsApiSchema: import("@feathersjs/typebox").TObject
691
828
  }>>>>;
692
829
  createdAt: import("@feathersjs/typebox").TAny;
693
830
  updatedAt: import("@feathersjs/typebox").TAny;
831
+ requestId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
694
832
  action: import("@feathersjs/typebox").TString<string>;
695
833
  options: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
696
834
  result: import("@feathersjs/typebox").TAny;
@@ -703,61 +841,8 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
703
841
  stop?: boolean | undefined;
704
842
  provider: "docker";
705
843
  _id: string | {};
706
- options: any;
707
- exchange: Partial<{
708
- password?: string | undefined;
709
- name?: any;
710
- apiKey?: string | null | undefined;
711
- token?: string | undefined;
712
- secret?: string | null | undefined;
713
- _id?: string | {} | undefined;
714
- avatar?: any;
715
- createdAt?: any;
716
- updatedAt?: any;
717
- error?: any;
718
- login?: string | undefined;
719
- userId?: string | {} | undefined;
720
- connected?: boolean | undefined;
721
- downloaded?: {
722
- updatedAt: any;
723
- size: string;
724
- pairs: {};
725
- sizes: any[];
726
- } | undefined;
727
- ccxt_config?: any;
728
- balances?: {
729
- total?: any;
730
- errors?: any;
731
- updatedAt: any;
732
- items: {
733
- total?: number | undefined;
734
- symbol: string;
735
- fiat: number;
736
- }[];
737
- sum: any;
738
- quotation: any;
739
- } | undefined;
740
- tags?: any;
741
- background?: any;
742
- blacklist?: {
743
- left: string;
744
- right: string;
745
- }[] | undefined;
746
- whitelist?: any[] | undefined;
747
- ccxt_async_config?: any;
748
- which?: string | undefined;
749
- stakeCurrencies?: any[] | undefined;
750
- popularStakeCurrency?: string | null | undefined;
751
- notifyAboutWhitelistByEmail?: boolean | undefined;
752
- requiredCredentials?: any;
753
- uid?: string | undefined;
754
- twofa?: string | undefined;
755
- privateKey?: string | undefined;
756
- walletAddress?: string | undefined;
757
- __v?: any;
758
- }>;
759
- exchangeId: string;
760
844
  strategy: Partial<{
845
+ public?: boolean | undefined;
761
846
  traders?: {
762
847
  telegram?: {
763
848
  access_hash?: string | null | undefined;
@@ -795,7 +880,6 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
795
880
  balance_dust_level: number;
796
881
  } | undefined;
797
882
  _id?: string | {} | undefined;
798
- running?: boolean | undefined;
799
883
  plugins?: {
800
884
  number_assets?: number | undefined;
801
885
  refresh_period?: number | undefined;
@@ -812,6 +896,7 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
812
896
  exit: number;
813
897
  } | undefined;
814
898
  cancel_open_orders_on_exit?: boolean | undefined;
899
+ running?: boolean | undefined;
815
900
  tradable_balance_ratio?: number | undefined;
816
901
  webhook?: {
817
902
  url: string;
@@ -896,15 +981,16 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
896
981
  host: string;
897
982
  name: any;
898
983
  provider: "docker";
899
- strategies: string[];
900
984
  secret: string;
901
985
  key: string;
902
986
  createdAt: any;
903
987
  updatedAt: any;
904
- "traders/pods": any;
905
- userId: any;
906
988
  connected: boolean;
907
989
  which: string;
990
+ userId: any;
991
+ strategy: any;
992
+ strategies: string[];
993
+ "traders/pods": any;
908
994
  exchange: any;
909
995
  exchangeId: any;
910
996
  stake_currency: string;
@@ -913,7 +999,6 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
913
999
  handling: string;
914
1000
  initial_state: string;
915
1001
  pairlists: any;
916
- strategy: any;
917
1002
  strategyId: string | {};
918
1003
  entry_pricing: {
919
1004
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -945,28 +1030,145 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
945
1030
  _id?: string | {} | undefined;
946
1031
  createdAt?: any;
947
1032
  updatedAt?: any;
1033
+ userId?: string | {} | undefined;
948
1034
  'strategies/templates'?: {
1035
+ public?: boolean | undefined;
949
1036
  _id?: string | {} | undefined;
950
1037
  createdAt?: any;
951
1038
  updatedAt?: any;
952
- values: any;
1039
+ optimize?: {
1040
+ best?: {
1041
+ by: "total_profit" | "sharpe";
1042
+ direction: "max" | "min";
1043
+ } | undefined;
1044
+ enabled: boolean;
1045
+ then: {}[];
1046
+ if: {
1047
+ hyperopt: {
1048
+ results: {
1049
+ type?: string | undefined;
1050
+ field: string;
1051
+ operator: string;
1052
+ compare: any;
1053
+ }[];
1054
+ };
1055
+ };
1056
+ } | undefined;
1057
+ values: {
1058
+ indicators?: {
1059
+ alias?: string | undefined;
1060
+ name: string;
1061
+ _id: string;
1062
+ description: string;
1063
+ group: string;
1064
+ optInputs: {
1065
+ name: string;
1066
+ type: string;
1067
+ displayName: string;
1068
+ defaultValue: any;
1069
+ hint: string;
1070
+ normName: string;
1071
+ }[];
1072
+ }[] | undefined;
1073
+ interval: string;
1074
+ stoploss: number;
1075
+ exit_profit_only: boolean;
1076
+ exit_profit_offset: number;
1077
+ minimal_roi: {
1078
+ minutes: number;
1079
+ profit: number;
1080
+ }[];
1081
+ protections: {
1082
+ stop_duration_candles?: number | undefined;
1083
+ lookback_period_candles?: number | undefined;
1084
+ trade_limit?: number | undefined;
1085
+ max_allowed_drawdown?: number | undefined;
1086
+ only_per_pair?: boolean | undefined;
1087
+ enabled: boolean;
1088
+ type: string;
1089
+ method: string;
1090
+ }[];
1091
+ order_types: {
1092
+ stoploss: string;
1093
+ entry: string;
1094
+ exit: string;
1095
+ emergencysell: string;
1096
+ forcebuy: string;
1097
+ forcesell: string;
1098
+ stoploss_on_exchange: boolean;
1099
+ };
1100
+ sellwhen: {
1101
+ logic: string;
1102
+ conditions: {
1103
+ indicator: string;
1104
+ condition: string;
1105
+ compare_to: {
1106
+ type: string;
1107
+ value: any;
1108
+ };
1109
+ }[];
1110
+ };
1111
+ buywhen: {
1112
+ logic: string;
1113
+ conditions: {
1114
+ indicator: string;
1115
+ condition: string;
1116
+ compare_to: {
1117
+ type: string;
1118
+ value: any;
1119
+ };
1120
+ }[];
1121
+ };
1122
+ };
953
1123
  name: string;
954
- description: string;
955
1124
  type: string;
1125
+ revision: number;
1126
+ description: string;
1127
+ timeinforce: string;
956
1128
  } | undefined;
957
- userId?: string | {} | undefined;
958
- file?: any;
959
- templateId?: string | {} | undefined;
960
1129
  interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
961
1130
  stoploss?: number | undefined;
1131
+ exit_profit_only?: boolean | undefined;
1132
+ exit_profit_offset?: number | undefined;
1133
+ indicators?: {
1134
+ hyperopt?: {
1135
+ default: number;
1136
+ max: number;
1137
+ min: number;
1138
+ type: "IntParameter" | "DecimalParameter" | "BooleanParameter" | "CategoricalParameter";
1139
+ field: string;
1140
+ space: string;
1141
+ }[] | undefined;
1142
+ name: string;
1143
+ _id: string;
1144
+ description: string;
1145
+ alias: string;
1146
+ group: string;
1147
+ optInputs: {
1148
+ name: string;
1149
+ type: string;
1150
+ displayName: string;
1151
+ defaultValue: number;
1152
+ hint: string;
1153
+ normName: string;
1154
+ }[];
1155
+ }[] | undefined;
962
1156
  minimal_roi?: {
963
1157
  minutes: number;
964
1158
  profit: number;
965
1159
  }[] | undefined;
966
- exit_sell_signal?: boolean | undefined;
967
- exit_profit_only?: boolean | undefined;
968
- exit_profit_offset?: number | undefined;
969
- timeinforce?: unknown;
1160
+ protections?: {
1161
+ stop_duration_candles?: number | undefined;
1162
+ lookback_period_candles?: unknown;
1163
+ trade_limit?: unknown;
1164
+ max_allowed_drawdown?: unknown;
1165
+ only_per_pair?: unknown;
1166
+ stop_duration_in_seconds?: unknown;
1167
+ required_profit?: unknown;
1168
+ enabled: boolean;
1169
+ type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
1170
+ method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
1171
+ }[] | undefined;
970
1172
  order_types?: {
971
1173
  stoploss?: string | undefined;
972
1174
  entry?: "Limit" | "Market" | undefined;
@@ -978,39 +1180,112 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
978
1180
  stoploss_on_exchange_interval?: number | undefined;
979
1181
  stoploss_on_exchange_limit_ratio?: number | undefined;
980
1182
  } | undefined;
981
- protections?: {
982
- stop_duration_candles?: number | undefined;
983
- stop_duration_in_seconds?: unknown;
984
- lookback_period_candles?: unknown;
985
- trade_limit?: unknown;
986
- required_profit?: unknown;
987
- max_allowed_drawdown?: unknown;
988
- only_per_pair?: unknown;
989
- enabled: boolean;
990
- method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
991
- type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
992
- }[] | undefined;
993
- buywhen?: {
994
- value?: number | undefined;
995
- indicator2?: string | undefined;
996
- type: "number" | "indicator";
1183
+ sellwhen?: {
1184
+ logic: "AND" | "OR";
1185
+ conditions: (/*elided*/ any | {
1186
+ indicator: string;
1187
+ condition: ">" | "<" | "==" | "crossed_above" | "crossed_below" | "crossed";
1188
+ compare_to: {
1189
+ type: "number" | "indicator";
1190
+ value: string | number;
1191
+ };
1192
+ })[];
1193
+ } | {
997
1194
  indicator: string;
998
1195
  condition: ">" | "<" | "==";
999
- }[] | undefined;
1000
- sellwhen?: {
1001
- value?: number | undefined;
1002
- indicator2?: string | undefined;
1003
- type: "number" | "indicator";
1196
+ compare_to: {
1197
+ type: "number" | "indicator";
1198
+ value: string | number;
1199
+ };
1200
+ } | undefined;
1201
+ buywhen?: {
1202
+ logic: "AND" | "OR";
1203
+ conditions: (/*elided*/ any | {
1204
+ indicator: string;
1205
+ condition: ">" | "<" | "==";
1206
+ compare_to: {
1207
+ type: "number" | "indicator";
1208
+ value: string | number;
1209
+ };
1210
+ })[];
1211
+ } | {
1004
1212
  indicator: string;
1005
1213
  condition: ">" | "<" | "==";
1006
- }[] | undefined;
1007
- indicators?: unknown[] | undefined;
1008
- code?: unknown;
1214
+ compare_to: {
1215
+ type: "number" | "indicator";
1216
+ value: string | number;
1217
+ };
1218
+ } | undefined;
1219
+ timeinforce?: unknown;
1009
1220
  results?: unknown;
1221
+ file?: any;
1222
+ templateId?: string | {} | undefined;
1223
+ trailing?: {
1224
+ trailing_stop?: boolean | undefined;
1225
+ trailing_stop_positive?: number | undefined;
1226
+ trailing_stop_positive_offset?: number | undefined;
1227
+ trailing_only_offset_is_reached?: boolean | undefined;
1228
+ } | undefined;
1229
+ exit_sell_signal?: boolean | undefined;
1230
+ code?: unknown;
1010
1231
  configured?: boolean | undefined;
1011
1232
  name: any;
1012
1233
  'strategies/indicators': any;
1013
1234
  }>;
1235
+ options: any;
1236
+ exchange: Partial<{
1237
+ password?: string | undefined;
1238
+ name?: any;
1239
+ apiKey?: string | null | undefined;
1240
+ token?: string | undefined;
1241
+ secret?: string | null | undefined;
1242
+ error?: any;
1243
+ _id?: string | {} | undefined;
1244
+ createdAt?: any;
1245
+ updatedAt?: any;
1246
+ connected?: boolean | undefined;
1247
+ downloaded?: {
1248
+ updatedAt: any;
1249
+ size: string;
1250
+ pairs: {};
1251
+ sizes: any[];
1252
+ } | undefined;
1253
+ ccxt_config?: any;
1254
+ balances?: {
1255
+ total?: any;
1256
+ errors?: any;
1257
+ updatedAt: any;
1258
+ items: {
1259
+ total?: number | undefined;
1260
+ symbol: string;
1261
+ fiat: number;
1262
+ }[];
1263
+ sum: any;
1264
+ quotation: any;
1265
+ } | undefined;
1266
+ tags?: any;
1267
+ background?: any;
1268
+ avatar?: any;
1269
+ blacklist?: {
1270
+ left: string;
1271
+ right: string;
1272
+ }[] | undefined;
1273
+ whitelist?: any[] | undefined;
1274
+ ccxt_async_config?: any;
1275
+ which?: string | undefined;
1276
+ stakeCurrencies?: any[] | undefined;
1277
+ popularStakeCurrency?: string | null | undefined;
1278
+ notifyAboutWhitelistByEmail?: boolean | undefined;
1279
+ requiredCredentials?: any;
1280
+ uid?: string | undefined;
1281
+ login?: string | undefined;
1282
+ twofa?: string | undefined;
1283
+ privateKey?: string | undefined;
1284
+ walletAddress?: string | undefined;
1285
+ userId?: string | {} | undefined;
1286
+ __v?: any;
1287
+ }>;
1288
+ exchangeId: string;
1014
1289
  strategyId: string | {};
1015
1290
  pod: any;
1016
1291
  trader: Partial<{
@@ -1050,7 +1325,6 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
1050
1325
  balance_dust_level: number;
1051
1326
  } | undefined;
1052
1327
  _id?: string | {} | undefined;
1053
- running?: boolean | undefined;
1054
1328
  plugins?: {
1055
1329
  number_assets?: number | undefined;
1056
1330
  refresh_period?: number | undefined;
@@ -1067,6 +1341,7 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
1067
1341
  exit: number;
1068
1342
  } | undefined;
1069
1343
  cancel_open_orders_on_exit?: boolean | undefined;
1344
+ running?: boolean | undefined;
1070
1345
  tradable_balance_ratio?: number | undefined;
1071
1346
  webhook?: {
1072
1347
  url: string;
@@ -1151,15 +1426,16 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
1151
1426
  host: string;
1152
1427
  name: any;
1153
1428
  provider: "docker";
1154
- strategies: string[];
1155
1429
  secret: string;
1156
1430
  key: string;
1157
1431
  createdAt: any;
1158
1432
  updatedAt: any;
1159
- "traders/pods": any;
1160
- userId: any;
1161
1433
  connected: boolean;
1162
1434
  which: string;
1435
+ userId: any;
1436
+ strategy: any;
1437
+ strategies: string[];
1438
+ "traders/pods": any;
1163
1439
  exchange: any;
1164
1440
  exchangeId: any;
1165
1441
  stake_currency: string;
@@ -1168,7 +1444,6 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
1168
1444
  handling: string;
1169
1445
  initial_state: string;
1170
1446
  pairlists: any;
1171
- strategy: any;
1172
1447
  strategyId: string | {};
1173
1448
  entry_pricing: {
1174
1449
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -1236,7 +1511,6 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
1236
1511
  balance_dust_level: number;
1237
1512
  } | undefined;
1238
1513
  _id?: string | {} | undefined;
1239
- running?: boolean | undefined;
1240
1514
  plugins?: {
1241
1515
  number_assets?: number | undefined;
1242
1516
  refresh_period?: number | undefined;
@@ -1253,6 +1527,7 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
1253
1527
  exit: number;
1254
1528
  } | undefined;
1255
1529
  cancel_open_orders_on_exit?: boolean | undefined;
1530
+ running?: boolean | undefined;
1256
1531
  tradable_balance_ratio?: number | undefined;
1257
1532
  webhook?: {
1258
1533
  url: string;
@@ -1337,15 +1612,16 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
1337
1612
  host: string;
1338
1613
  name: any;
1339
1614
  provider: "docker";
1340
- strategies: string[];
1341
1615
  secret: string;
1342
1616
  key: string;
1343
1617
  createdAt: any;
1344
1618
  updatedAt: any;
1345
- "traders/pods": any;
1346
- userId: any;
1347
1619
  connected: boolean;
1348
1620
  which: string;
1621
+ userId: any;
1622
+ strategy: any;
1623
+ strategies: string[];
1624
+ "traders/pods": any;
1349
1625
  exchange: any;
1350
1626
  exchangeId: any;
1351
1627
  stake_currency: string;
@@ -1354,7 +1630,6 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
1354
1630
  handling: string;
1355
1631
  initial_state: string;
1356
1632
  pairlists: any;
1357
- strategy: any;
1358
1633
  strategyId: string | {};
1359
1634
  entry_pricing: {
1360
1635
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -1383,6 +1658,7 @@ export declare const tradersPodsApiResolver: import("@feathersjs/schema").Resolv
1383
1658
  CORS_origins: string[];
1384
1659
  };
1385
1660
  }> | undefined;
1661
+ requestId?: string | undefined;
1386
1662
  _id: string | {};
1387
1663
  createdAt: any;
1388
1664
  updatedAt: any;
@@ -1397,61 +1673,8 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1397
1673
  stop?: boolean | undefined;
1398
1674
  provider: "docker";
1399
1675
  _id: string | {};
1400
- options: any;
1401
- exchange: Partial<{
1402
- password?: string | undefined;
1403
- name?: any;
1404
- apiKey?: string | null | undefined;
1405
- token?: string | undefined;
1406
- secret?: string | null | undefined;
1407
- _id?: string | {} | undefined;
1408
- avatar?: any;
1409
- createdAt?: any;
1410
- updatedAt?: any;
1411
- error?: any;
1412
- login?: string | undefined;
1413
- userId?: string | {} | undefined;
1414
- connected?: boolean | undefined;
1415
- downloaded?: {
1416
- updatedAt: any;
1417
- size: string;
1418
- pairs: {};
1419
- sizes: any[];
1420
- } | undefined;
1421
- ccxt_config?: any;
1422
- balances?: {
1423
- total?: any;
1424
- errors?: any;
1425
- updatedAt: any;
1426
- items: {
1427
- total?: number | undefined;
1428
- symbol: string;
1429
- fiat: number;
1430
- }[];
1431
- sum: any;
1432
- quotation: any;
1433
- } | undefined;
1434
- tags?: any;
1435
- background?: any;
1436
- blacklist?: {
1437
- left: string;
1438
- right: string;
1439
- }[] | undefined;
1440
- whitelist?: any[] | undefined;
1441
- ccxt_async_config?: any;
1442
- which?: string | undefined;
1443
- stakeCurrencies?: any[] | undefined;
1444
- popularStakeCurrency?: string | null | undefined;
1445
- notifyAboutWhitelistByEmail?: boolean | undefined;
1446
- requiredCredentials?: any;
1447
- uid?: string | undefined;
1448
- twofa?: string | undefined;
1449
- privateKey?: string | undefined;
1450
- walletAddress?: string | undefined;
1451
- __v?: any;
1452
- }>;
1453
- exchangeId: string;
1454
1676
  strategy: Partial<{
1677
+ public?: boolean | undefined;
1455
1678
  traders?: {
1456
1679
  telegram?: {
1457
1680
  access_hash?: string | null | undefined;
@@ -1489,7 +1712,6 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1489
1712
  balance_dust_level: number;
1490
1713
  } | undefined;
1491
1714
  _id?: string | {} | undefined;
1492
- running?: boolean | undefined;
1493
1715
  plugins?: {
1494
1716
  number_assets?: number | undefined;
1495
1717
  refresh_period?: number | undefined;
@@ -1506,6 +1728,7 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1506
1728
  exit: number;
1507
1729
  } | undefined;
1508
1730
  cancel_open_orders_on_exit?: boolean | undefined;
1731
+ running?: boolean | undefined;
1509
1732
  tradable_balance_ratio?: number | undefined;
1510
1733
  webhook?: {
1511
1734
  url: string;
@@ -1590,15 +1813,16 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1590
1813
  host: string;
1591
1814
  name: any;
1592
1815
  provider: "docker";
1593
- strategies: string[];
1594
1816
  secret: string;
1595
1817
  key: string;
1596
1818
  createdAt: any;
1597
1819
  updatedAt: any;
1598
- "traders/pods": any;
1599
- userId: any;
1600
1820
  connected: boolean;
1601
1821
  which: string;
1822
+ userId: any;
1823
+ strategy: any;
1824
+ strategies: string[];
1825
+ "traders/pods": any;
1602
1826
  exchange: any;
1603
1827
  exchangeId: any;
1604
1828
  stake_currency: string;
@@ -1607,7 +1831,6 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1607
1831
  handling: string;
1608
1832
  initial_state: string;
1609
1833
  pairlists: any;
1610
- strategy: any;
1611
1834
  strategyId: string | {};
1612
1835
  entry_pricing: {
1613
1836
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -1639,28 +1862,145 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1639
1862
  _id?: string | {} | undefined;
1640
1863
  createdAt?: any;
1641
1864
  updatedAt?: any;
1865
+ userId?: string | {} | undefined;
1642
1866
  'strategies/templates'?: {
1867
+ public?: boolean | undefined;
1643
1868
  _id?: string | {} | undefined;
1644
1869
  createdAt?: any;
1645
1870
  updatedAt?: any;
1646
- values: any;
1871
+ optimize?: {
1872
+ best?: {
1873
+ by: "total_profit" | "sharpe";
1874
+ direction: "max" | "min";
1875
+ } | undefined;
1876
+ enabled: boolean;
1877
+ then: {}[];
1878
+ if: {
1879
+ hyperopt: {
1880
+ results: {
1881
+ type?: string | undefined;
1882
+ field: string;
1883
+ operator: string;
1884
+ compare: any;
1885
+ }[];
1886
+ };
1887
+ };
1888
+ } | undefined;
1889
+ values: {
1890
+ indicators?: {
1891
+ alias?: string | undefined;
1892
+ name: string;
1893
+ _id: string;
1894
+ description: string;
1895
+ group: string;
1896
+ optInputs: {
1897
+ name: string;
1898
+ type: string;
1899
+ displayName: string;
1900
+ defaultValue: any;
1901
+ hint: string;
1902
+ normName: string;
1903
+ }[];
1904
+ }[] | undefined;
1905
+ interval: string;
1906
+ stoploss: number;
1907
+ exit_profit_only: boolean;
1908
+ exit_profit_offset: number;
1909
+ minimal_roi: {
1910
+ minutes: number;
1911
+ profit: number;
1912
+ }[];
1913
+ protections: {
1914
+ stop_duration_candles?: number | undefined;
1915
+ lookback_period_candles?: number | undefined;
1916
+ trade_limit?: number | undefined;
1917
+ max_allowed_drawdown?: number | undefined;
1918
+ only_per_pair?: boolean | undefined;
1919
+ enabled: boolean;
1920
+ type: string;
1921
+ method: string;
1922
+ }[];
1923
+ order_types: {
1924
+ stoploss: string;
1925
+ entry: string;
1926
+ exit: string;
1927
+ emergencysell: string;
1928
+ forcebuy: string;
1929
+ forcesell: string;
1930
+ stoploss_on_exchange: boolean;
1931
+ };
1932
+ sellwhen: {
1933
+ logic: string;
1934
+ conditions: {
1935
+ indicator: string;
1936
+ condition: string;
1937
+ compare_to: {
1938
+ type: string;
1939
+ value: any;
1940
+ };
1941
+ }[];
1942
+ };
1943
+ buywhen: {
1944
+ logic: string;
1945
+ conditions: {
1946
+ indicator: string;
1947
+ condition: string;
1948
+ compare_to: {
1949
+ type: string;
1950
+ value: any;
1951
+ };
1952
+ }[];
1953
+ };
1954
+ };
1647
1955
  name: string;
1648
- description: string;
1649
1956
  type: string;
1957
+ revision: number;
1958
+ description: string;
1959
+ timeinforce: string;
1650
1960
  } | undefined;
1651
- userId?: string | {} | undefined;
1652
- file?: any;
1653
- templateId?: string | {} | undefined;
1654
1961
  interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
1655
1962
  stoploss?: number | undefined;
1963
+ exit_profit_only?: boolean | undefined;
1964
+ exit_profit_offset?: number | undefined;
1965
+ indicators?: {
1966
+ hyperopt?: {
1967
+ default: number;
1968
+ max: number;
1969
+ min: number;
1970
+ type: "IntParameter" | "DecimalParameter" | "BooleanParameter" | "CategoricalParameter";
1971
+ field: string;
1972
+ space: string;
1973
+ }[] | undefined;
1974
+ name: string;
1975
+ _id: string;
1976
+ description: string;
1977
+ alias: string;
1978
+ group: string;
1979
+ optInputs: {
1980
+ name: string;
1981
+ type: string;
1982
+ displayName: string;
1983
+ defaultValue: number;
1984
+ hint: string;
1985
+ normName: string;
1986
+ }[];
1987
+ }[] | undefined;
1656
1988
  minimal_roi?: {
1657
1989
  minutes: number;
1658
1990
  profit: number;
1659
1991
  }[] | undefined;
1660
- exit_sell_signal?: boolean | undefined;
1661
- exit_profit_only?: boolean | undefined;
1662
- exit_profit_offset?: number | undefined;
1663
- timeinforce?: unknown;
1992
+ protections?: {
1993
+ stop_duration_candles?: number | undefined;
1994
+ lookback_period_candles?: unknown;
1995
+ trade_limit?: unknown;
1996
+ max_allowed_drawdown?: unknown;
1997
+ only_per_pair?: unknown;
1998
+ stop_duration_in_seconds?: unknown;
1999
+ required_profit?: unknown;
2000
+ enabled: boolean;
2001
+ type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
2002
+ method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
2003
+ }[] | undefined;
1664
2004
  order_types?: {
1665
2005
  stoploss?: string | undefined;
1666
2006
  entry?: "Limit" | "Market" | undefined;
@@ -1672,39 +2012,112 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1672
2012
  stoploss_on_exchange_interval?: number | undefined;
1673
2013
  stoploss_on_exchange_limit_ratio?: number | undefined;
1674
2014
  } | undefined;
1675
- protections?: {
1676
- stop_duration_candles?: number | undefined;
1677
- stop_duration_in_seconds?: unknown;
1678
- lookback_period_candles?: unknown;
1679
- trade_limit?: unknown;
1680
- required_profit?: unknown;
1681
- max_allowed_drawdown?: unknown;
1682
- only_per_pair?: unknown;
1683
- enabled: boolean;
1684
- method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
1685
- type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
1686
- }[] | undefined;
1687
- buywhen?: {
1688
- value?: number | undefined;
1689
- indicator2?: string | undefined;
1690
- type: "number" | "indicator";
2015
+ sellwhen?: {
2016
+ logic: "AND" | "OR";
2017
+ conditions: (/*elided*/ any | {
2018
+ indicator: string;
2019
+ condition: ">" | "<" | "==" | "crossed_above" | "crossed_below" | "crossed";
2020
+ compare_to: {
2021
+ type: "number" | "indicator";
2022
+ value: string | number;
2023
+ };
2024
+ })[];
2025
+ } | {
1691
2026
  indicator: string;
1692
2027
  condition: ">" | "<" | "==";
1693
- }[] | undefined;
1694
- sellwhen?: {
1695
- value?: number | undefined;
1696
- indicator2?: string | undefined;
1697
- type: "number" | "indicator";
2028
+ compare_to: {
2029
+ type: "number" | "indicator";
2030
+ value: string | number;
2031
+ };
2032
+ } | undefined;
2033
+ buywhen?: {
2034
+ logic: "AND" | "OR";
2035
+ conditions: (/*elided*/ any | {
2036
+ indicator: string;
2037
+ condition: ">" | "<" | "==";
2038
+ compare_to: {
2039
+ type: "number" | "indicator";
2040
+ value: string | number;
2041
+ };
2042
+ })[];
2043
+ } | {
1698
2044
  indicator: string;
1699
2045
  condition: ">" | "<" | "==";
1700
- }[] | undefined;
1701
- indicators?: unknown[] | undefined;
1702
- code?: unknown;
2046
+ compare_to: {
2047
+ type: "number" | "indicator";
2048
+ value: string | number;
2049
+ };
2050
+ } | undefined;
2051
+ timeinforce?: unknown;
1703
2052
  results?: unknown;
2053
+ file?: any;
2054
+ templateId?: string | {} | undefined;
2055
+ trailing?: {
2056
+ trailing_stop?: boolean | undefined;
2057
+ trailing_stop_positive?: number | undefined;
2058
+ trailing_stop_positive_offset?: number | undefined;
2059
+ trailing_only_offset_is_reached?: boolean | undefined;
2060
+ } | undefined;
2061
+ exit_sell_signal?: boolean | undefined;
2062
+ code?: unknown;
1704
2063
  configured?: boolean | undefined;
1705
2064
  name: any;
1706
2065
  'strategies/indicators': any;
1707
2066
  }>;
2067
+ options: any;
2068
+ exchange: Partial<{
2069
+ password?: string | undefined;
2070
+ name?: any;
2071
+ apiKey?: string | null | undefined;
2072
+ token?: string | undefined;
2073
+ secret?: string | null | undefined;
2074
+ error?: any;
2075
+ _id?: string | {} | undefined;
2076
+ createdAt?: any;
2077
+ updatedAt?: any;
2078
+ connected?: boolean | undefined;
2079
+ downloaded?: {
2080
+ updatedAt: any;
2081
+ size: string;
2082
+ pairs: {};
2083
+ sizes: any[];
2084
+ } | undefined;
2085
+ ccxt_config?: any;
2086
+ balances?: {
2087
+ total?: any;
2088
+ errors?: any;
2089
+ updatedAt: any;
2090
+ items: {
2091
+ total?: number | undefined;
2092
+ symbol: string;
2093
+ fiat: number;
2094
+ }[];
2095
+ sum: any;
2096
+ quotation: any;
2097
+ } | undefined;
2098
+ tags?: any;
2099
+ background?: any;
2100
+ avatar?: any;
2101
+ blacklist?: {
2102
+ left: string;
2103
+ right: string;
2104
+ }[] | undefined;
2105
+ whitelist?: any[] | undefined;
2106
+ ccxt_async_config?: any;
2107
+ which?: string | undefined;
2108
+ stakeCurrencies?: any[] | undefined;
2109
+ popularStakeCurrency?: string | null | undefined;
2110
+ notifyAboutWhitelistByEmail?: boolean | undefined;
2111
+ requiredCredentials?: any;
2112
+ uid?: string | undefined;
2113
+ login?: string | undefined;
2114
+ twofa?: string | undefined;
2115
+ privateKey?: string | undefined;
2116
+ walletAddress?: string | undefined;
2117
+ userId?: string | {} | undefined;
2118
+ __v?: any;
2119
+ }>;
2120
+ exchangeId: string;
1708
2121
  strategyId: string | {};
1709
2122
  pod: any;
1710
2123
  trader: Partial<{
@@ -1744,7 +2157,6 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1744
2157
  balance_dust_level: number;
1745
2158
  } | undefined;
1746
2159
  _id?: string | {} | undefined;
1747
- running?: boolean | undefined;
1748
2160
  plugins?: {
1749
2161
  number_assets?: number | undefined;
1750
2162
  refresh_period?: number | undefined;
@@ -1761,6 +2173,7 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1761
2173
  exit: number;
1762
2174
  } | undefined;
1763
2175
  cancel_open_orders_on_exit?: boolean | undefined;
2176
+ running?: boolean | undefined;
1764
2177
  tradable_balance_ratio?: number | undefined;
1765
2178
  webhook?: {
1766
2179
  url: string;
@@ -1845,15 +2258,16 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1845
2258
  host: string;
1846
2259
  name: any;
1847
2260
  provider: "docker";
1848
- strategies: string[];
1849
2261
  secret: string;
1850
2262
  key: string;
1851
2263
  createdAt: any;
1852
2264
  updatedAt: any;
1853
- "traders/pods": any;
1854
- userId: any;
1855
2265
  connected: boolean;
1856
2266
  which: string;
2267
+ userId: any;
2268
+ strategy: any;
2269
+ strategies: string[];
2270
+ "traders/pods": any;
1857
2271
  exchange: any;
1858
2272
  exchangeId: any;
1859
2273
  stake_currency: string;
@@ -1862,7 +2276,6 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1862
2276
  handling: string;
1863
2277
  initial_state: string;
1864
2278
  pairlists: any;
1865
- strategy: any;
1866
2279
  strategyId: string | {};
1867
2280
  entry_pricing: {
1868
2281
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -1930,7 +2343,6 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1930
2343
  balance_dust_level: number;
1931
2344
  } | undefined;
1932
2345
  _id?: string | {} | undefined;
1933
- running?: boolean | undefined;
1934
2346
  plugins?: {
1935
2347
  number_assets?: number | undefined;
1936
2348
  refresh_period?: number | undefined;
@@ -1947,6 +2359,7 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
1947
2359
  exit: number;
1948
2360
  } | undefined;
1949
2361
  cancel_open_orders_on_exit?: boolean | undefined;
2362
+ running?: boolean | undefined;
1950
2363
  tradable_balance_ratio?: number | undefined;
1951
2364
  webhook?: {
1952
2365
  url: string;
@@ -2031,15 +2444,16 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
2031
2444
  host: string;
2032
2445
  name: any;
2033
2446
  provider: "docker";
2034
- strategies: string[];
2035
2447
  secret: string;
2036
2448
  key: string;
2037
2449
  createdAt: any;
2038
2450
  updatedAt: any;
2039
- "traders/pods": any;
2040
- userId: any;
2041
2451
  connected: boolean;
2042
2452
  which: string;
2453
+ userId: any;
2454
+ strategy: any;
2455
+ strategies: string[];
2456
+ "traders/pods": any;
2043
2457
  exchange: any;
2044
2458
  exchangeId: any;
2045
2459
  stake_currency: string;
@@ -2048,7 +2462,6 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
2048
2462
  handling: string;
2049
2463
  initial_state: string;
2050
2464
  pairlists: any;
2051
- strategy: any;
2052
2465
  strategyId: string | {};
2053
2466
  entry_pricing: {
2054
2467
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -2077,6 +2490,7 @@ export declare const tradersPodsApiExternalResolver: import("@feathersjs/schema"
2077
2490
  CORS_origins: string[];
2078
2491
  };
2079
2492
  }> | undefined;
2493
+ requestId?: string | undefined;
2080
2494
  _id: string | {};
2081
2495
  createdAt: any;
2082
2496
  updatedAt: any;
@@ -2515,17 +2929,24 @@ export declare const tradersPodsApiDataSchema: import("@feathersjs/typebox").TPi
2515
2929
  exchangeId: import("@feathersjs/typebox").TString<string>;
2516
2930
  strategyId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
2517
2931
  strategy: import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
2518
- _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2519
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2932
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
2933
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
2520
2934
  file: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
2521
2935
  templateId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
2522
2936
  name: import("@feathersjs/typebox").TAny;
2937
+ public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
2523
2938
  interval: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"1m">, import("@feathersjs/typebox").TLiteral<"5m">, import("@feathersjs/typebox").TLiteral<"30m">, import("@feathersjs/typebox").TLiteral<"2h">, import("@feathersjs/typebox").TLiteral<"6h">, import("@feathersjs/typebox").TLiteral<"12h">, import("@feathersjs/typebox").TLiteral<"1d">, import("@feathersjs/typebox").TLiteral<"1w">]>>;
2524
2939
  stoploss: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
2525
2940
  minimal_roi: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2526
2941
  minutes: import("@feathersjs/typebox").TNumber;
2527
2942
  profit: import("@feathersjs/typebox").TNumber;
2528
2943
  }>>>;
2944
+ trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
2945
+ trailing_stop: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
2946
+ trailing_stop_positive: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
2947
+ trailing_stop_positive_offset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
2948
+ trailing_only_offset_is_reached: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
2949
+ }>>;
2529
2950
  exit_sell_signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
2530
2951
  exit_profit_only: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
2531
2952
  exit_profit_offset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
@@ -2553,21 +2974,65 @@ export declare const tradersPodsApiDataSchema: import("@feathersjs/typebox").TPi
2553
2974
  max_allowed_drawdown: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
2554
2975
  only_per_pair: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
2555
2976
  }>>>;
2556
- buywhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2977
+ buywhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TRecursive<import("@feathersjs/typebox").TObject<{
2978
+ logic: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AND">, import("@feathersjs/typebox").TLiteral<"OR">]>;
2979
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TSelf, import("@feathersjs/typebox").TObject<{
2980
+ indicator: import("@feathersjs/typebox").TString<string>;
2981
+ condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
2982
+ compare_to: import("@feathersjs/typebox").TObject<{
2983
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
2984
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
2985
+ }>;
2986
+ }>]>>;
2987
+ }>>, import("@feathersjs/typebox").TObject<{
2557
2988
  indicator: import("@feathersjs/typebox").TString<string>;
2558
2989
  condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
2559
- type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
2560
- value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
2561
- indicator2: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2562
- }>>>;
2563
- sellwhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
2990
+ compare_to: import("@feathersjs/typebox").TObject<{
2991
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
2992
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
2993
+ }>;
2994
+ }>]>>;
2995
+ sellwhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TRecursive<import("@feathersjs/typebox").TObject<{
2996
+ logic: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AND">, import("@feathersjs/typebox").TLiteral<"OR">]>;
2997
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TSelf, import("@feathersjs/typebox").TObject<{
2998
+ indicator: import("@feathersjs/typebox").TString<string>;
2999
+ condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">, import("@feathersjs/typebox").TLiteral<"crossed_above">, import("@feathersjs/typebox").TLiteral<"crossed_below">, import("@feathersjs/typebox").TLiteral<"crossed">]>;
3000
+ compare_to: import("@feathersjs/typebox").TObject<{
3001
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
3002
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
3003
+ }>;
3004
+ }>]>>;
3005
+ }>>, import("@feathersjs/typebox").TObject<{
2564
3006
  indicator: import("@feathersjs/typebox").TString<string>;
2565
3007
  condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
2566
- type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
2567
- value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
2568
- indicator2: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3008
+ compare_to: import("@feathersjs/typebox").TObject<{
3009
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
3010
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
3011
+ }>;
3012
+ }>]>>;
3013
+ indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3014
+ _id: import("@feathersjs/typebox").TString<string>;
3015
+ alias: import("@feathersjs/typebox").TString<string>;
3016
+ name: import("@feathersjs/typebox").TString<string>;
3017
+ group: import("@feathersjs/typebox").TString<string>;
3018
+ description: import("@feathersjs/typebox").TString<string>;
3019
+ optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3020
+ name: import("@feathersjs/typebox").TString<string>;
3021
+ displayName: import("@feathersjs/typebox").TString<string>;
3022
+ defaultValue: import("@feathersjs/typebox").TNumber;
3023
+ hint: import("@feathersjs/typebox").TString<string>;
3024
+ type: import("@feathersjs/typebox").TString<string>;
3025
+ normName: import("@feathersjs/typebox").TString<string>;
3026
+ }>>;
3027
+ hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3028
+ field: import("@feathersjs/typebox").TString<string>;
3029
+ space: import("@feathersjs/typebox").TString<string>;
3030
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"IntParameter">, import("@feathersjs/typebox").TLiteral<"DecimalParameter">, import("@feathersjs/typebox").TLiteral<"BooleanParameter">, import("@feathersjs/typebox").TLiteral<"CategoricalParameter">]>;
3031
+ min: import("@feathersjs/typebox").TInteger;
3032
+ max: import("@feathersjs/typebox").TInteger;
3033
+ default: import("@feathersjs/typebox").TInteger;
3034
+ }>>>;
2569
3035
  }>>>;
2570
- indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>>;
2571
3036
  code: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
2572
3037
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
2573
3038
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -2761,10 +3226,96 @@ export declare const tradersPodsApiDataSchema: import("@feathersjs/typebox").TPi
2761
3226
  _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
2762
3227
  name: import("@feathersjs/typebox").TString<string>;
2763
3228
  type: import("@feathersjs/typebox").TString<string>;
3229
+ revision: import("@feathersjs/typebox").TNumber;
2764
3230
  description: import("@feathersjs/typebox").TString<string>;
2765
3231
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
2766
3232
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
2767
- values: import("@feathersjs/typebox").TAny;
3233
+ public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
3234
+ values: import("@feathersjs/typebox").TObject<{
3235
+ interval: import("@feathersjs/typebox").TString<string>;
3236
+ stoploss: import("@feathersjs/typebox").TNumber;
3237
+ exit_profit_only: import("@feathersjs/typebox").TBoolean;
3238
+ exit_profit_offset: import("@feathersjs/typebox").TNumber;
3239
+ indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3240
+ _id: import("@feathersjs/typebox").TString<string>;
3241
+ alias: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3242
+ name: import("@feathersjs/typebox").TString<string>;
3243
+ group: import("@feathersjs/typebox").TString<string>;
3244
+ description: import("@feathersjs/typebox").TString<string>;
3245
+ optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3246
+ name: import("@feathersjs/typebox").TString<string>;
3247
+ displayName: import("@feathersjs/typebox").TString<string>;
3248
+ defaultValue: import("@feathersjs/typebox").TAny;
3249
+ hint: import("@feathersjs/typebox").TString<string>;
3250
+ type: import("@feathersjs/typebox").TString<string>;
3251
+ normName: import("@feathersjs/typebox").TString<string>;
3252
+ }>>;
3253
+ }>>>;
3254
+ minimal_roi: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3255
+ minutes: import("@feathersjs/typebox").TNumber;
3256
+ profit: import("@feathersjs/typebox").TNumber;
3257
+ }>>;
3258
+ protections: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3259
+ enabled: import("@feathersjs/typebox").TBoolean;
3260
+ type: import("@feathersjs/typebox").TString<string>;
3261
+ method: import("@feathersjs/typebox").TString<string>;
3262
+ stop_duration_candles: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
3263
+ lookback_period_candles: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
3264
+ trade_limit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
3265
+ max_allowed_drawdown: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
3266
+ only_per_pair: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
3267
+ }>>;
3268
+ order_types: import("@feathersjs/typebox").TObject<{
3269
+ entry: import("@feathersjs/typebox").TString<string>;
3270
+ exit: import("@feathersjs/typebox").TString<string>;
3271
+ emergencysell: import("@feathersjs/typebox").TString<string>;
3272
+ forcebuy: import("@feathersjs/typebox").TString<string>;
3273
+ forcesell: import("@feathersjs/typebox").TString<string>;
3274
+ stoploss: import("@feathersjs/typebox").TString<string>;
3275
+ stoploss_on_exchange: import("@feathersjs/typebox").TBoolean;
3276
+ }>;
3277
+ sellwhen: import("@feathersjs/typebox").TObject<{
3278
+ logic: import("@feathersjs/typebox").TString<string>;
3279
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3280
+ indicator: import("@feathersjs/typebox").TString<string>;
3281
+ condition: import("@feathersjs/typebox").TString<string>;
3282
+ compare_to: import("@feathersjs/typebox").TObject<{
3283
+ type: import("@feathersjs/typebox").TString<string>;
3284
+ value: import("@feathersjs/typebox").TAny;
3285
+ }>;
3286
+ }>>;
3287
+ }>;
3288
+ buywhen: import("@feathersjs/typebox").TObject<{
3289
+ logic: import("@feathersjs/typebox").TString<string>;
3290
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3291
+ indicator: import("@feathersjs/typebox").TString<string>;
3292
+ condition: import("@feathersjs/typebox").TString<string>;
3293
+ compare_to: import("@feathersjs/typebox").TObject<{
3294
+ type: import("@feathersjs/typebox").TString<string>;
3295
+ value: import("@feathersjs/typebox").TAny;
3296
+ }>;
3297
+ }>>;
3298
+ }>;
3299
+ }>;
3300
+ timeinforce: import("@feathersjs/typebox").TString<string>;
3301
+ optimize: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
3302
+ enabled: import("@feathersjs/typebox").TBoolean;
3303
+ best: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
3304
+ by: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"total_profit">, import("@feathersjs/typebox").TLiteral<"sharpe">]>;
3305
+ direction: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"max">, import("@feathersjs/typebox").TLiteral<"min">]>;
3306
+ }>>;
3307
+ if: import("@feathersjs/typebox").TObject<{
3308
+ hyperopt: import("@feathersjs/typebox").TObject<{
3309
+ results: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3310
+ field: import("@feathersjs/typebox").TString<string>;
3311
+ operator: import("@feathersjs/typebox").TString<string>;
3312
+ compare: import("@feathersjs/typebox").TAny;
3313
+ type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3314
+ }>>;
3315
+ }>;
3316
+ }>;
3317
+ then: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{}>>;
3318
+ }>>;
2768
3319
  }>>>;
2769
3320
  'strategies/indicators': import("@feathersjs/typebox").TAny;
2770
3321
  }>>>;
@@ -2775,10 +3326,11 @@ export declare const tradersPodsApiDataSchema: import("@feathersjs/typebox").TPi
2775
3326
  }>>>>;
2776
3327
  createdAt: import("@feathersjs/typebox").TAny;
2777
3328
  updatedAt: import("@feathersjs/typebox").TAny;
3329
+ requestId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
2778
3330
  action: import("@feathersjs/typebox").TString<string>;
2779
3331
  options: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
2780
3332
  result: import("@feathersjs/typebox").TAny;
2781
- }>, ["traderId", "action", "options"]>;
3333
+ }>, ["traderId", "action", "options", "requestId"]>;
2782
3334
  export type TradersPodsApiData = Static<typeof tradersPodsApiDataSchema>;
2783
3335
  export declare const tradersPodsApiDataValidator: import("@feathersjs/schema").Validator<any, any>;
2784
3336
  export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Resolver<{
@@ -2787,61 +3339,8 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
2787
3339
  stop?: boolean | undefined;
2788
3340
  provider: "docker";
2789
3341
  _id: string | {};
2790
- options: any;
2791
- exchange: Partial<{
2792
- password?: string | undefined;
2793
- name?: any;
2794
- apiKey?: string | null | undefined;
2795
- token?: string | undefined;
2796
- secret?: string | null | undefined;
2797
- _id?: string | {} | undefined;
2798
- avatar?: any;
2799
- createdAt?: any;
2800
- updatedAt?: any;
2801
- error?: any;
2802
- login?: string | undefined;
2803
- userId?: string | {} | undefined;
2804
- connected?: boolean | undefined;
2805
- downloaded?: {
2806
- updatedAt: any;
2807
- size: string;
2808
- pairs: {};
2809
- sizes: any[];
2810
- } | undefined;
2811
- ccxt_config?: any;
2812
- balances?: {
2813
- total?: any;
2814
- errors?: any;
2815
- updatedAt: any;
2816
- items: {
2817
- total?: number | undefined;
2818
- symbol: string;
2819
- fiat: number;
2820
- }[];
2821
- sum: any;
2822
- quotation: any;
2823
- } | undefined;
2824
- tags?: any;
2825
- background?: any;
2826
- blacklist?: {
2827
- left: string;
2828
- right: string;
2829
- }[] | undefined;
2830
- whitelist?: any[] | undefined;
2831
- ccxt_async_config?: any;
2832
- which?: string | undefined;
2833
- stakeCurrencies?: any[] | undefined;
2834
- popularStakeCurrency?: string | null | undefined;
2835
- notifyAboutWhitelistByEmail?: boolean | undefined;
2836
- requiredCredentials?: any;
2837
- uid?: string | undefined;
2838
- twofa?: string | undefined;
2839
- privateKey?: string | undefined;
2840
- walletAddress?: string | undefined;
2841
- __v?: any;
2842
- }>;
2843
- exchangeId: string;
2844
3342
  strategy: Partial<{
3343
+ public?: boolean | undefined;
2845
3344
  traders?: {
2846
3345
  telegram?: {
2847
3346
  access_hash?: string | null | undefined;
@@ -2879,7 +3378,6 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
2879
3378
  balance_dust_level: number;
2880
3379
  } | undefined;
2881
3380
  _id?: string | {} | undefined;
2882
- running?: boolean | undefined;
2883
3381
  plugins?: {
2884
3382
  number_assets?: number | undefined;
2885
3383
  refresh_period?: number | undefined;
@@ -2896,6 +3394,7 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
2896
3394
  exit: number;
2897
3395
  } | undefined;
2898
3396
  cancel_open_orders_on_exit?: boolean | undefined;
3397
+ running?: boolean | undefined;
2899
3398
  tradable_balance_ratio?: number | undefined;
2900
3399
  webhook?: {
2901
3400
  url: string;
@@ -2980,15 +3479,16 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
2980
3479
  host: string;
2981
3480
  name: any;
2982
3481
  provider: "docker";
2983
- strategies: string[];
2984
3482
  secret: string;
2985
3483
  key: string;
2986
3484
  createdAt: any;
2987
3485
  updatedAt: any;
2988
- "traders/pods": any;
2989
- userId: any;
2990
3486
  connected: boolean;
2991
3487
  which: string;
3488
+ userId: any;
3489
+ strategy: any;
3490
+ strategies: string[];
3491
+ "traders/pods": any;
2992
3492
  exchange: any;
2993
3493
  exchangeId: any;
2994
3494
  stake_currency: string;
@@ -2997,7 +3497,6 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
2997
3497
  handling: string;
2998
3498
  initial_state: string;
2999
3499
  pairlists: any;
3000
- strategy: any;
3001
3500
  strategyId: string | {};
3002
3501
  entry_pricing: {
3003
3502
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -3029,28 +3528,145 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3029
3528
  _id?: string | {} | undefined;
3030
3529
  createdAt?: any;
3031
3530
  updatedAt?: any;
3531
+ userId?: string | {} | undefined;
3032
3532
  'strategies/templates'?: {
3533
+ public?: boolean | undefined;
3033
3534
  _id?: string | {} | undefined;
3034
3535
  createdAt?: any;
3035
3536
  updatedAt?: any;
3036
- values: any;
3537
+ optimize?: {
3538
+ best?: {
3539
+ by: "total_profit" | "sharpe";
3540
+ direction: "max" | "min";
3541
+ } | undefined;
3542
+ enabled: boolean;
3543
+ then: {}[];
3544
+ if: {
3545
+ hyperopt: {
3546
+ results: {
3547
+ type?: string | undefined;
3548
+ field: string;
3549
+ operator: string;
3550
+ compare: any;
3551
+ }[];
3552
+ };
3553
+ };
3554
+ } | undefined;
3555
+ values: {
3556
+ indicators?: {
3557
+ alias?: string | undefined;
3558
+ name: string;
3559
+ _id: string;
3560
+ description: string;
3561
+ group: string;
3562
+ optInputs: {
3563
+ name: string;
3564
+ type: string;
3565
+ displayName: string;
3566
+ defaultValue: any;
3567
+ hint: string;
3568
+ normName: string;
3569
+ }[];
3570
+ }[] | undefined;
3571
+ interval: string;
3572
+ stoploss: number;
3573
+ exit_profit_only: boolean;
3574
+ exit_profit_offset: number;
3575
+ minimal_roi: {
3576
+ minutes: number;
3577
+ profit: number;
3578
+ }[];
3579
+ protections: {
3580
+ stop_duration_candles?: number | undefined;
3581
+ lookback_period_candles?: number | undefined;
3582
+ trade_limit?: number | undefined;
3583
+ max_allowed_drawdown?: number | undefined;
3584
+ only_per_pair?: boolean | undefined;
3585
+ enabled: boolean;
3586
+ type: string;
3587
+ method: string;
3588
+ }[];
3589
+ order_types: {
3590
+ stoploss: string;
3591
+ entry: string;
3592
+ exit: string;
3593
+ emergencysell: string;
3594
+ forcebuy: string;
3595
+ forcesell: string;
3596
+ stoploss_on_exchange: boolean;
3597
+ };
3598
+ sellwhen: {
3599
+ logic: string;
3600
+ conditions: {
3601
+ indicator: string;
3602
+ condition: string;
3603
+ compare_to: {
3604
+ type: string;
3605
+ value: any;
3606
+ };
3607
+ }[];
3608
+ };
3609
+ buywhen: {
3610
+ logic: string;
3611
+ conditions: {
3612
+ indicator: string;
3613
+ condition: string;
3614
+ compare_to: {
3615
+ type: string;
3616
+ value: any;
3617
+ };
3618
+ }[];
3619
+ };
3620
+ };
3037
3621
  name: string;
3038
- description: string;
3039
3622
  type: string;
3623
+ revision: number;
3624
+ description: string;
3625
+ timeinforce: string;
3040
3626
  } | undefined;
3041
- userId?: string | {} | undefined;
3042
- file?: any;
3043
- templateId?: string | {} | undefined;
3044
3627
  interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
3045
3628
  stoploss?: number | undefined;
3629
+ exit_profit_only?: boolean | undefined;
3630
+ exit_profit_offset?: number | undefined;
3631
+ indicators?: {
3632
+ hyperopt?: {
3633
+ default: number;
3634
+ max: number;
3635
+ min: number;
3636
+ type: "IntParameter" | "DecimalParameter" | "BooleanParameter" | "CategoricalParameter";
3637
+ field: string;
3638
+ space: string;
3639
+ }[] | undefined;
3640
+ name: string;
3641
+ _id: string;
3642
+ description: string;
3643
+ alias: string;
3644
+ group: string;
3645
+ optInputs: {
3646
+ name: string;
3647
+ type: string;
3648
+ displayName: string;
3649
+ defaultValue: number;
3650
+ hint: string;
3651
+ normName: string;
3652
+ }[];
3653
+ }[] | undefined;
3046
3654
  minimal_roi?: {
3047
3655
  minutes: number;
3048
3656
  profit: number;
3049
3657
  }[] | undefined;
3050
- exit_sell_signal?: boolean | undefined;
3051
- exit_profit_only?: boolean | undefined;
3052
- exit_profit_offset?: number | undefined;
3053
- timeinforce?: unknown;
3658
+ protections?: {
3659
+ stop_duration_candles?: number | undefined;
3660
+ lookback_period_candles?: unknown;
3661
+ trade_limit?: unknown;
3662
+ max_allowed_drawdown?: unknown;
3663
+ only_per_pair?: unknown;
3664
+ stop_duration_in_seconds?: unknown;
3665
+ required_profit?: unknown;
3666
+ enabled: boolean;
3667
+ type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
3668
+ method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
3669
+ }[] | undefined;
3054
3670
  order_types?: {
3055
3671
  stoploss?: string | undefined;
3056
3672
  entry?: "Limit" | "Market" | undefined;
@@ -3062,39 +3678,112 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3062
3678
  stoploss_on_exchange_interval?: number | undefined;
3063
3679
  stoploss_on_exchange_limit_ratio?: number | undefined;
3064
3680
  } | undefined;
3065
- protections?: {
3066
- stop_duration_candles?: number | undefined;
3067
- stop_duration_in_seconds?: unknown;
3068
- lookback_period_candles?: unknown;
3069
- trade_limit?: unknown;
3070
- required_profit?: unknown;
3071
- max_allowed_drawdown?: unknown;
3072
- only_per_pair?: unknown;
3073
- enabled: boolean;
3074
- method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
3075
- type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
3076
- }[] | undefined;
3077
- buywhen?: {
3078
- value?: number | undefined;
3079
- indicator2?: string | undefined;
3080
- type: "number" | "indicator";
3681
+ sellwhen?: {
3682
+ logic: "AND" | "OR";
3683
+ conditions: (/*elided*/ any | {
3684
+ indicator: string;
3685
+ condition: ">" | "<" | "==" | "crossed_above" | "crossed_below" | "crossed";
3686
+ compare_to: {
3687
+ type: "number" | "indicator";
3688
+ value: string | number;
3689
+ };
3690
+ })[];
3691
+ } | {
3081
3692
  indicator: string;
3082
3693
  condition: ">" | "<" | "==";
3083
- }[] | undefined;
3084
- sellwhen?: {
3085
- value?: number | undefined;
3086
- indicator2?: string | undefined;
3087
- type: "number" | "indicator";
3694
+ compare_to: {
3695
+ type: "number" | "indicator";
3696
+ value: string | number;
3697
+ };
3698
+ } | undefined;
3699
+ buywhen?: {
3700
+ logic: "AND" | "OR";
3701
+ conditions: (/*elided*/ any | {
3702
+ indicator: string;
3703
+ condition: ">" | "<" | "==";
3704
+ compare_to: {
3705
+ type: "number" | "indicator";
3706
+ value: string | number;
3707
+ };
3708
+ })[];
3709
+ } | {
3088
3710
  indicator: string;
3089
3711
  condition: ">" | "<" | "==";
3090
- }[] | undefined;
3091
- indicators?: unknown[] | undefined;
3092
- code?: unknown;
3712
+ compare_to: {
3713
+ type: "number" | "indicator";
3714
+ value: string | number;
3715
+ };
3716
+ } | undefined;
3717
+ timeinforce?: unknown;
3093
3718
  results?: unknown;
3719
+ file?: any;
3720
+ templateId?: string | {} | undefined;
3721
+ trailing?: {
3722
+ trailing_stop?: boolean | undefined;
3723
+ trailing_stop_positive?: number | undefined;
3724
+ trailing_stop_positive_offset?: number | undefined;
3725
+ trailing_only_offset_is_reached?: boolean | undefined;
3726
+ } | undefined;
3727
+ exit_sell_signal?: boolean | undefined;
3728
+ code?: unknown;
3094
3729
  configured?: boolean | undefined;
3095
3730
  name: any;
3096
3731
  'strategies/indicators': any;
3097
3732
  }>;
3733
+ options: any;
3734
+ exchange: Partial<{
3735
+ password?: string | undefined;
3736
+ name?: any;
3737
+ apiKey?: string | null | undefined;
3738
+ token?: string | undefined;
3739
+ secret?: string | null | undefined;
3740
+ error?: any;
3741
+ _id?: string | {} | undefined;
3742
+ createdAt?: any;
3743
+ updatedAt?: any;
3744
+ connected?: boolean | undefined;
3745
+ downloaded?: {
3746
+ updatedAt: any;
3747
+ size: string;
3748
+ pairs: {};
3749
+ sizes: any[];
3750
+ } | undefined;
3751
+ ccxt_config?: any;
3752
+ balances?: {
3753
+ total?: any;
3754
+ errors?: any;
3755
+ updatedAt: any;
3756
+ items: {
3757
+ total?: number | undefined;
3758
+ symbol: string;
3759
+ fiat: number;
3760
+ }[];
3761
+ sum: any;
3762
+ quotation: any;
3763
+ } | undefined;
3764
+ tags?: any;
3765
+ background?: any;
3766
+ avatar?: any;
3767
+ blacklist?: {
3768
+ left: string;
3769
+ right: string;
3770
+ }[] | undefined;
3771
+ whitelist?: any[] | undefined;
3772
+ ccxt_async_config?: any;
3773
+ which?: string | undefined;
3774
+ stakeCurrencies?: any[] | undefined;
3775
+ popularStakeCurrency?: string | null | undefined;
3776
+ notifyAboutWhitelistByEmail?: boolean | undefined;
3777
+ requiredCredentials?: any;
3778
+ uid?: string | undefined;
3779
+ login?: string | undefined;
3780
+ twofa?: string | undefined;
3781
+ privateKey?: string | undefined;
3782
+ walletAddress?: string | undefined;
3783
+ userId?: string | {} | undefined;
3784
+ __v?: any;
3785
+ }>;
3786
+ exchangeId: string;
3098
3787
  strategyId: string | {};
3099
3788
  pod: any;
3100
3789
  trader: Partial<{
@@ -3134,7 +3823,6 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3134
3823
  balance_dust_level: number;
3135
3824
  } | undefined;
3136
3825
  _id?: string | {} | undefined;
3137
- running?: boolean | undefined;
3138
3826
  plugins?: {
3139
3827
  number_assets?: number | undefined;
3140
3828
  refresh_period?: number | undefined;
@@ -3151,6 +3839,7 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3151
3839
  exit: number;
3152
3840
  } | undefined;
3153
3841
  cancel_open_orders_on_exit?: boolean | undefined;
3842
+ running?: boolean | undefined;
3154
3843
  tradable_balance_ratio?: number | undefined;
3155
3844
  webhook?: {
3156
3845
  url: string;
@@ -3235,15 +3924,16 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3235
3924
  host: string;
3236
3925
  name: any;
3237
3926
  provider: "docker";
3238
- strategies: string[];
3239
3927
  secret: string;
3240
3928
  key: string;
3241
3929
  createdAt: any;
3242
3930
  updatedAt: any;
3243
- "traders/pods": any;
3244
- userId: any;
3245
3931
  connected: boolean;
3246
3932
  which: string;
3933
+ userId: any;
3934
+ strategy: any;
3935
+ strategies: string[];
3936
+ "traders/pods": any;
3247
3937
  exchange: any;
3248
3938
  exchangeId: any;
3249
3939
  stake_currency: string;
@@ -3252,7 +3942,6 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3252
3942
  handling: string;
3253
3943
  initial_state: string;
3254
3944
  pairlists: any;
3255
- strategy: any;
3256
3945
  strategyId: string | {};
3257
3946
  entry_pricing: {
3258
3947
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -3320,7 +4009,6 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3320
4009
  balance_dust_level: number;
3321
4010
  } | undefined;
3322
4011
  _id?: string | {} | undefined;
3323
- running?: boolean | undefined;
3324
4012
  plugins?: {
3325
4013
  number_assets?: number | undefined;
3326
4014
  refresh_period?: number | undefined;
@@ -3337,6 +4025,7 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3337
4025
  exit: number;
3338
4026
  } | undefined;
3339
4027
  cancel_open_orders_on_exit?: boolean | undefined;
4028
+ running?: boolean | undefined;
3340
4029
  tradable_balance_ratio?: number | undefined;
3341
4030
  webhook?: {
3342
4031
  url: string;
@@ -3421,15 +4110,16 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3421
4110
  host: string;
3422
4111
  name: any;
3423
4112
  provider: "docker";
3424
- strategies: string[];
3425
4113
  secret: string;
3426
4114
  key: string;
3427
4115
  createdAt: any;
3428
4116
  updatedAt: any;
3429
- "traders/pods": any;
3430
- userId: any;
3431
4117
  connected: boolean;
3432
4118
  which: string;
4119
+ userId: any;
4120
+ strategy: any;
4121
+ strategies: string[];
4122
+ "traders/pods": any;
3433
4123
  exchange: any;
3434
4124
  exchangeId: any;
3435
4125
  stake_currency: string;
@@ -3438,7 +4128,6 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3438
4128
  handling: string;
3439
4129
  initial_state: string;
3440
4130
  pairlists: any;
3441
- strategy: any;
3442
4131
  strategyId: string | {};
3443
4132
  entry_pricing: {
3444
4133
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -3467,6 +4156,7 @@ export declare const tradersPodsApiDataResolver: import("@feathersjs/schema").Re
3467
4156
  CORS_origins: string[];
3468
4157
  };
3469
4158
  }> | undefined;
4159
+ requestId?: string | undefined;
3470
4160
  _id: string | {};
3471
4161
  createdAt: any;
3472
4162
  updatedAt: any;
@@ -3905,17 +4595,24 @@ export declare const tradersPodsApiPatchSchema: import("@feathersjs/typebox").TP
3905
4595
  exchangeId: import("@feathersjs/typebox").TString<string>;
3906
4596
  strategyId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
3907
4597
  strategy: import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
3908
- _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
3909
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4598
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
4599
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
3910
4600
  file: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
3911
4601
  templateId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
3912
4602
  name: import("@feathersjs/typebox").TAny;
4603
+ public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
3913
4604
  interval: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"1m">, import("@feathersjs/typebox").TLiteral<"5m">, import("@feathersjs/typebox").TLiteral<"30m">, import("@feathersjs/typebox").TLiteral<"2h">, import("@feathersjs/typebox").TLiteral<"6h">, import("@feathersjs/typebox").TLiteral<"12h">, import("@feathersjs/typebox").TLiteral<"1d">, import("@feathersjs/typebox").TLiteral<"1w">]>>;
3914
4605
  stoploss: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
3915
4606
  minimal_roi: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
3916
4607
  minutes: import("@feathersjs/typebox").TNumber;
3917
4608
  profit: import("@feathersjs/typebox").TNumber;
3918
4609
  }>>>;
4610
+ trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
4611
+ trailing_stop: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
4612
+ trailing_stop_positive: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
4613
+ trailing_stop_positive_offset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
4614
+ trailing_only_offset_is_reached: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
4615
+ }>>;
3919
4616
  exit_sell_signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
3920
4617
  exit_profit_only: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
3921
4618
  exit_profit_offset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
@@ -3943,21 +4640,65 @@ export declare const tradersPodsApiPatchSchema: import("@feathersjs/typebox").TP
3943
4640
  max_allowed_drawdown: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
3944
4641
  only_per_pair: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
3945
4642
  }>>>;
3946
- buywhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4643
+ buywhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TRecursive<import("@feathersjs/typebox").TObject<{
4644
+ logic: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AND">, import("@feathersjs/typebox").TLiteral<"OR">]>;
4645
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TSelf, import("@feathersjs/typebox").TObject<{
4646
+ indicator: import("@feathersjs/typebox").TString<string>;
4647
+ condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
4648
+ compare_to: import("@feathersjs/typebox").TObject<{
4649
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
4650
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
4651
+ }>;
4652
+ }>]>>;
4653
+ }>>, import("@feathersjs/typebox").TObject<{
3947
4654
  indicator: import("@feathersjs/typebox").TString<string>;
3948
4655
  condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
3949
- type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
3950
- value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
3951
- indicator2: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
3952
- }>>>;
3953
- sellwhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4656
+ compare_to: import("@feathersjs/typebox").TObject<{
4657
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
4658
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
4659
+ }>;
4660
+ }>]>>;
4661
+ sellwhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TRecursive<import("@feathersjs/typebox").TObject<{
4662
+ logic: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AND">, import("@feathersjs/typebox").TLiteral<"OR">]>;
4663
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TSelf, import("@feathersjs/typebox").TObject<{
4664
+ indicator: import("@feathersjs/typebox").TString<string>;
4665
+ condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">, import("@feathersjs/typebox").TLiteral<"crossed_above">, import("@feathersjs/typebox").TLiteral<"crossed_below">, import("@feathersjs/typebox").TLiteral<"crossed">]>;
4666
+ compare_to: import("@feathersjs/typebox").TObject<{
4667
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
4668
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
4669
+ }>;
4670
+ }>]>>;
4671
+ }>>, import("@feathersjs/typebox").TObject<{
3954
4672
  indicator: import("@feathersjs/typebox").TString<string>;
3955
4673
  condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
3956
- type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
3957
- value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
3958
- indicator2: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4674
+ compare_to: import("@feathersjs/typebox").TObject<{
4675
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
4676
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
4677
+ }>;
4678
+ }>]>>;
4679
+ indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4680
+ _id: import("@feathersjs/typebox").TString<string>;
4681
+ alias: import("@feathersjs/typebox").TString<string>;
4682
+ name: import("@feathersjs/typebox").TString<string>;
4683
+ group: import("@feathersjs/typebox").TString<string>;
4684
+ description: import("@feathersjs/typebox").TString<string>;
4685
+ optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4686
+ name: import("@feathersjs/typebox").TString<string>;
4687
+ displayName: import("@feathersjs/typebox").TString<string>;
4688
+ defaultValue: import("@feathersjs/typebox").TNumber;
4689
+ hint: import("@feathersjs/typebox").TString<string>;
4690
+ type: import("@feathersjs/typebox").TString<string>;
4691
+ normName: import("@feathersjs/typebox").TString<string>;
4692
+ }>>;
4693
+ hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4694
+ field: import("@feathersjs/typebox").TString<string>;
4695
+ space: import("@feathersjs/typebox").TString<string>;
4696
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"IntParameter">, import("@feathersjs/typebox").TLiteral<"DecimalParameter">, import("@feathersjs/typebox").TLiteral<"BooleanParameter">, import("@feathersjs/typebox").TLiteral<"CategoricalParameter">]>;
4697
+ min: import("@feathersjs/typebox").TInteger;
4698
+ max: import("@feathersjs/typebox").TInteger;
4699
+ default: import("@feathersjs/typebox").TInteger;
4700
+ }>>>;
3959
4701
  }>>>;
3960
- indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>>;
3961
4702
  code: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
3962
4703
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
3963
4704
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -4151,10 +4892,96 @@ export declare const tradersPodsApiPatchSchema: import("@feathersjs/typebox").TP
4151
4892
  _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
4152
4893
  name: import("@feathersjs/typebox").TString<string>;
4153
4894
  type: import("@feathersjs/typebox").TString<string>;
4895
+ revision: import("@feathersjs/typebox").TNumber;
4154
4896
  description: import("@feathersjs/typebox").TString<string>;
4155
4897
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
4156
4898
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
4157
- values: import("@feathersjs/typebox").TAny;
4899
+ public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
4900
+ values: import("@feathersjs/typebox").TObject<{
4901
+ interval: import("@feathersjs/typebox").TString<string>;
4902
+ stoploss: import("@feathersjs/typebox").TNumber;
4903
+ exit_profit_only: import("@feathersjs/typebox").TBoolean;
4904
+ exit_profit_offset: import("@feathersjs/typebox").TNumber;
4905
+ indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4906
+ _id: import("@feathersjs/typebox").TString<string>;
4907
+ alias: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4908
+ name: import("@feathersjs/typebox").TString<string>;
4909
+ group: import("@feathersjs/typebox").TString<string>;
4910
+ description: import("@feathersjs/typebox").TString<string>;
4911
+ optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4912
+ name: import("@feathersjs/typebox").TString<string>;
4913
+ displayName: import("@feathersjs/typebox").TString<string>;
4914
+ defaultValue: import("@feathersjs/typebox").TAny;
4915
+ hint: import("@feathersjs/typebox").TString<string>;
4916
+ type: import("@feathersjs/typebox").TString<string>;
4917
+ normName: import("@feathersjs/typebox").TString<string>;
4918
+ }>>;
4919
+ }>>>;
4920
+ minimal_roi: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4921
+ minutes: import("@feathersjs/typebox").TNumber;
4922
+ profit: import("@feathersjs/typebox").TNumber;
4923
+ }>>;
4924
+ protections: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4925
+ enabled: import("@feathersjs/typebox").TBoolean;
4926
+ type: import("@feathersjs/typebox").TString<string>;
4927
+ method: import("@feathersjs/typebox").TString<string>;
4928
+ stop_duration_candles: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
4929
+ lookback_period_candles: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
4930
+ trade_limit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
4931
+ max_allowed_drawdown: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
4932
+ only_per_pair: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
4933
+ }>>;
4934
+ order_types: import("@feathersjs/typebox").TObject<{
4935
+ entry: import("@feathersjs/typebox").TString<string>;
4936
+ exit: import("@feathersjs/typebox").TString<string>;
4937
+ emergencysell: import("@feathersjs/typebox").TString<string>;
4938
+ forcebuy: import("@feathersjs/typebox").TString<string>;
4939
+ forcesell: import("@feathersjs/typebox").TString<string>;
4940
+ stoploss: import("@feathersjs/typebox").TString<string>;
4941
+ stoploss_on_exchange: import("@feathersjs/typebox").TBoolean;
4942
+ }>;
4943
+ sellwhen: import("@feathersjs/typebox").TObject<{
4944
+ logic: import("@feathersjs/typebox").TString<string>;
4945
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4946
+ indicator: import("@feathersjs/typebox").TString<string>;
4947
+ condition: import("@feathersjs/typebox").TString<string>;
4948
+ compare_to: import("@feathersjs/typebox").TObject<{
4949
+ type: import("@feathersjs/typebox").TString<string>;
4950
+ value: import("@feathersjs/typebox").TAny;
4951
+ }>;
4952
+ }>>;
4953
+ }>;
4954
+ buywhen: import("@feathersjs/typebox").TObject<{
4955
+ logic: import("@feathersjs/typebox").TString<string>;
4956
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4957
+ indicator: import("@feathersjs/typebox").TString<string>;
4958
+ condition: import("@feathersjs/typebox").TString<string>;
4959
+ compare_to: import("@feathersjs/typebox").TObject<{
4960
+ type: import("@feathersjs/typebox").TString<string>;
4961
+ value: import("@feathersjs/typebox").TAny;
4962
+ }>;
4963
+ }>>;
4964
+ }>;
4965
+ }>;
4966
+ timeinforce: import("@feathersjs/typebox").TString<string>;
4967
+ optimize: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
4968
+ enabled: import("@feathersjs/typebox").TBoolean;
4969
+ best: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
4970
+ by: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"total_profit">, import("@feathersjs/typebox").TLiteral<"sharpe">]>;
4971
+ direction: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"max">, import("@feathersjs/typebox").TLiteral<"min">]>;
4972
+ }>>;
4973
+ if: import("@feathersjs/typebox").TObject<{
4974
+ hyperopt: import("@feathersjs/typebox").TObject<{
4975
+ results: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
4976
+ field: import("@feathersjs/typebox").TString<string>;
4977
+ operator: import("@feathersjs/typebox").TString<string>;
4978
+ compare: import("@feathersjs/typebox").TAny;
4979
+ type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4980
+ }>>;
4981
+ }>;
4982
+ }>;
4983
+ then: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{}>>;
4984
+ }>>;
4158
4985
  }>>>;
4159
4986
  'strategies/indicators': import("@feathersjs/typebox").TAny;
4160
4987
  }>>>;
@@ -4165,6 +4992,7 @@ export declare const tradersPodsApiPatchSchema: import("@feathersjs/typebox").TP
4165
4992
  }>>>>;
4166
4993
  createdAt: import("@feathersjs/typebox").TAny;
4167
4994
  updatedAt: import("@feathersjs/typebox").TAny;
4995
+ requestId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
4168
4996
  action: import("@feathersjs/typebox").TString<string>;
4169
4997
  options: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
4170
4998
  result: import("@feathersjs/typebox").TAny;
@@ -4177,61 +5005,8 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4177
5005
  stop?: boolean | undefined;
4178
5006
  provider: "docker";
4179
5007
  _id: string | {};
4180
- options: any;
4181
- exchange: Partial<{
4182
- password?: string | undefined;
4183
- name?: any;
4184
- apiKey?: string | null | undefined;
4185
- token?: string | undefined;
4186
- secret?: string | null | undefined;
4187
- _id?: string | {} | undefined;
4188
- avatar?: any;
4189
- createdAt?: any;
4190
- updatedAt?: any;
4191
- error?: any;
4192
- login?: string | undefined;
4193
- userId?: string | {} | undefined;
4194
- connected?: boolean | undefined;
4195
- downloaded?: {
4196
- updatedAt: any;
4197
- size: string;
4198
- pairs: {};
4199
- sizes: any[];
4200
- } | undefined;
4201
- ccxt_config?: any;
4202
- balances?: {
4203
- total?: any;
4204
- errors?: any;
4205
- updatedAt: any;
4206
- items: {
4207
- total?: number | undefined;
4208
- symbol: string;
4209
- fiat: number;
4210
- }[];
4211
- sum: any;
4212
- quotation: any;
4213
- } | undefined;
4214
- tags?: any;
4215
- background?: any;
4216
- blacklist?: {
4217
- left: string;
4218
- right: string;
4219
- }[] | undefined;
4220
- whitelist?: any[] | undefined;
4221
- ccxt_async_config?: any;
4222
- which?: string | undefined;
4223
- stakeCurrencies?: any[] | undefined;
4224
- popularStakeCurrency?: string | null | undefined;
4225
- notifyAboutWhitelistByEmail?: boolean | undefined;
4226
- requiredCredentials?: any;
4227
- uid?: string | undefined;
4228
- twofa?: string | undefined;
4229
- privateKey?: string | undefined;
4230
- walletAddress?: string | undefined;
4231
- __v?: any;
4232
- }>;
4233
- exchangeId: string;
4234
5008
  strategy: Partial<{
5009
+ public?: boolean | undefined;
4235
5010
  traders?: {
4236
5011
  telegram?: {
4237
5012
  access_hash?: string | null | undefined;
@@ -4269,7 +5044,6 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4269
5044
  balance_dust_level: number;
4270
5045
  } | undefined;
4271
5046
  _id?: string | {} | undefined;
4272
- running?: boolean | undefined;
4273
5047
  plugins?: {
4274
5048
  number_assets?: number | undefined;
4275
5049
  refresh_period?: number | undefined;
@@ -4286,6 +5060,7 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4286
5060
  exit: number;
4287
5061
  } | undefined;
4288
5062
  cancel_open_orders_on_exit?: boolean | undefined;
5063
+ running?: boolean | undefined;
4289
5064
  tradable_balance_ratio?: number | undefined;
4290
5065
  webhook?: {
4291
5066
  url: string;
@@ -4370,15 +5145,16 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4370
5145
  host: string;
4371
5146
  name: any;
4372
5147
  provider: "docker";
4373
- strategies: string[];
4374
5148
  secret: string;
4375
5149
  key: string;
4376
5150
  createdAt: any;
4377
5151
  updatedAt: any;
4378
- "traders/pods": any;
4379
- userId: any;
4380
5152
  connected: boolean;
4381
5153
  which: string;
5154
+ userId: any;
5155
+ strategy: any;
5156
+ strategies: string[];
5157
+ "traders/pods": any;
4382
5158
  exchange: any;
4383
5159
  exchangeId: any;
4384
5160
  stake_currency: string;
@@ -4387,7 +5163,6 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4387
5163
  handling: string;
4388
5164
  initial_state: string;
4389
5165
  pairlists: any;
4390
- strategy: any;
4391
5166
  strategyId: string | {};
4392
5167
  entry_pricing: {
4393
5168
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -4419,28 +5194,145 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4419
5194
  _id?: string | {} | undefined;
4420
5195
  createdAt?: any;
4421
5196
  updatedAt?: any;
5197
+ userId?: string | {} | undefined;
4422
5198
  'strategies/templates'?: {
5199
+ public?: boolean | undefined;
4423
5200
  _id?: string | {} | undefined;
4424
5201
  createdAt?: any;
4425
5202
  updatedAt?: any;
4426
- values: any;
5203
+ optimize?: {
5204
+ best?: {
5205
+ by: "total_profit" | "sharpe";
5206
+ direction: "max" | "min";
5207
+ } | undefined;
5208
+ enabled: boolean;
5209
+ then: {}[];
5210
+ if: {
5211
+ hyperopt: {
5212
+ results: {
5213
+ type?: string | undefined;
5214
+ field: string;
5215
+ operator: string;
5216
+ compare: any;
5217
+ }[];
5218
+ };
5219
+ };
5220
+ } | undefined;
5221
+ values: {
5222
+ indicators?: {
5223
+ alias?: string | undefined;
5224
+ name: string;
5225
+ _id: string;
5226
+ description: string;
5227
+ group: string;
5228
+ optInputs: {
5229
+ name: string;
5230
+ type: string;
5231
+ displayName: string;
5232
+ defaultValue: any;
5233
+ hint: string;
5234
+ normName: string;
5235
+ }[];
5236
+ }[] | undefined;
5237
+ interval: string;
5238
+ stoploss: number;
5239
+ exit_profit_only: boolean;
5240
+ exit_profit_offset: number;
5241
+ minimal_roi: {
5242
+ minutes: number;
5243
+ profit: number;
5244
+ }[];
5245
+ protections: {
5246
+ stop_duration_candles?: number | undefined;
5247
+ lookback_period_candles?: number | undefined;
5248
+ trade_limit?: number | undefined;
5249
+ max_allowed_drawdown?: number | undefined;
5250
+ only_per_pair?: boolean | undefined;
5251
+ enabled: boolean;
5252
+ type: string;
5253
+ method: string;
5254
+ }[];
5255
+ order_types: {
5256
+ stoploss: string;
5257
+ entry: string;
5258
+ exit: string;
5259
+ emergencysell: string;
5260
+ forcebuy: string;
5261
+ forcesell: string;
5262
+ stoploss_on_exchange: boolean;
5263
+ };
5264
+ sellwhen: {
5265
+ logic: string;
5266
+ conditions: {
5267
+ indicator: string;
5268
+ condition: string;
5269
+ compare_to: {
5270
+ type: string;
5271
+ value: any;
5272
+ };
5273
+ }[];
5274
+ };
5275
+ buywhen: {
5276
+ logic: string;
5277
+ conditions: {
5278
+ indicator: string;
5279
+ condition: string;
5280
+ compare_to: {
5281
+ type: string;
5282
+ value: any;
5283
+ };
5284
+ }[];
5285
+ };
5286
+ };
4427
5287
  name: string;
4428
- description: string;
4429
5288
  type: string;
5289
+ revision: number;
5290
+ description: string;
5291
+ timeinforce: string;
4430
5292
  } | undefined;
4431
- userId?: string | {} | undefined;
4432
- file?: any;
4433
- templateId?: string | {} | undefined;
4434
5293
  interval?: "1m" | "5m" | "30m" | "2h" | "6h" | "12h" | "1d" | "1w" | undefined;
4435
5294
  stoploss?: number | undefined;
5295
+ exit_profit_only?: boolean | undefined;
5296
+ exit_profit_offset?: number | undefined;
5297
+ indicators?: {
5298
+ hyperopt?: {
5299
+ default: number;
5300
+ max: number;
5301
+ min: number;
5302
+ type: "IntParameter" | "DecimalParameter" | "BooleanParameter" | "CategoricalParameter";
5303
+ field: string;
5304
+ space: string;
5305
+ }[] | undefined;
5306
+ name: string;
5307
+ _id: string;
5308
+ description: string;
5309
+ alias: string;
5310
+ group: string;
5311
+ optInputs: {
5312
+ name: string;
5313
+ type: string;
5314
+ displayName: string;
5315
+ defaultValue: number;
5316
+ hint: string;
5317
+ normName: string;
5318
+ }[];
5319
+ }[] | undefined;
4436
5320
  minimal_roi?: {
4437
5321
  minutes: number;
4438
5322
  profit: number;
4439
5323
  }[] | undefined;
4440
- exit_sell_signal?: boolean | undefined;
4441
- exit_profit_only?: boolean | undefined;
4442
- exit_profit_offset?: number | undefined;
4443
- timeinforce?: unknown;
5324
+ protections?: {
5325
+ stop_duration_candles?: number | undefined;
5326
+ lookback_period_candles?: unknown;
5327
+ trade_limit?: unknown;
5328
+ max_allowed_drawdown?: unknown;
5329
+ only_per_pair?: unknown;
5330
+ stop_duration_in_seconds?: unknown;
5331
+ required_profit?: unknown;
5332
+ enabled: boolean;
5333
+ type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
5334
+ method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
5335
+ }[] | undefined;
4444
5336
  order_types?: {
4445
5337
  stoploss?: string | undefined;
4446
5338
  entry?: "Limit" | "Market" | undefined;
@@ -4452,39 +5344,112 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4452
5344
  stoploss_on_exchange_interval?: number | undefined;
4453
5345
  stoploss_on_exchange_limit_ratio?: number | undefined;
4454
5346
  } | undefined;
4455
- protections?: {
4456
- stop_duration_candles?: number | undefined;
4457
- stop_duration_in_seconds?: unknown;
4458
- lookback_period_candles?: unknown;
4459
- trade_limit?: unknown;
4460
- required_profit?: unknown;
4461
- max_allowed_drawdown?: unknown;
4462
- only_per_pair?: unknown;
4463
- enabled: boolean;
4464
- method: "CooldownPeriod" | "LowProfitPairs" | "StoplossGuard" | "MaxDrawdown";
4465
- type: "coolDownPeriod" | "lowProfitPairs" | "stoplossGuard" | "maxDrawdown";
4466
- }[] | undefined;
4467
- buywhen?: {
4468
- value?: number | undefined;
4469
- indicator2?: string | undefined;
4470
- type: "number" | "indicator";
5347
+ sellwhen?: {
5348
+ logic: "AND" | "OR";
5349
+ conditions: (/*elided*/ any | {
5350
+ indicator: string;
5351
+ condition: ">" | "<" | "==" | "crossed_above" | "crossed_below" | "crossed";
5352
+ compare_to: {
5353
+ type: "number" | "indicator";
5354
+ value: string | number;
5355
+ };
5356
+ })[];
5357
+ } | {
4471
5358
  indicator: string;
4472
5359
  condition: ">" | "<" | "==";
4473
- }[] | undefined;
4474
- sellwhen?: {
4475
- value?: number | undefined;
4476
- indicator2?: string | undefined;
4477
- type: "number" | "indicator";
5360
+ compare_to: {
5361
+ type: "number" | "indicator";
5362
+ value: string | number;
5363
+ };
5364
+ } | undefined;
5365
+ buywhen?: {
5366
+ logic: "AND" | "OR";
5367
+ conditions: (/*elided*/ any | {
5368
+ indicator: string;
5369
+ condition: ">" | "<" | "==";
5370
+ compare_to: {
5371
+ type: "number" | "indicator";
5372
+ value: string | number;
5373
+ };
5374
+ })[];
5375
+ } | {
4478
5376
  indicator: string;
4479
5377
  condition: ">" | "<" | "==";
4480
- }[] | undefined;
4481
- indicators?: unknown[] | undefined;
4482
- code?: unknown;
5378
+ compare_to: {
5379
+ type: "number" | "indicator";
5380
+ value: string | number;
5381
+ };
5382
+ } | undefined;
5383
+ timeinforce?: unknown;
4483
5384
  results?: unknown;
5385
+ file?: any;
5386
+ templateId?: string | {} | undefined;
5387
+ trailing?: {
5388
+ trailing_stop?: boolean | undefined;
5389
+ trailing_stop_positive?: number | undefined;
5390
+ trailing_stop_positive_offset?: number | undefined;
5391
+ trailing_only_offset_is_reached?: boolean | undefined;
5392
+ } | undefined;
5393
+ exit_sell_signal?: boolean | undefined;
5394
+ code?: unknown;
4484
5395
  configured?: boolean | undefined;
4485
5396
  name: any;
4486
5397
  'strategies/indicators': any;
4487
5398
  }>;
5399
+ options: any;
5400
+ exchange: Partial<{
5401
+ password?: string | undefined;
5402
+ name?: any;
5403
+ apiKey?: string | null | undefined;
5404
+ token?: string | undefined;
5405
+ secret?: string | null | undefined;
5406
+ error?: any;
5407
+ _id?: string | {} | undefined;
5408
+ createdAt?: any;
5409
+ updatedAt?: any;
5410
+ connected?: boolean | undefined;
5411
+ downloaded?: {
5412
+ updatedAt: any;
5413
+ size: string;
5414
+ pairs: {};
5415
+ sizes: any[];
5416
+ } | undefined;
5417
+ ccxt_config?: any;
5418
+ balances?: {
5419
+ total?: any;
5420
+ errors?: any;
5421
+ updatedAt: any;
5422
+ items: {
5423
+ total?: number | undefined;
5424
+ symbol: string;
5425
+ fiat: number;
5426
+ }[];
5427
+ sum: any;
5428
+ quotation: any;
5429
+ } | undefined;
5430
+ tags?: any;
5431
+ background?: any;
5432
+ avatar?: any;
5433
+ blacklist?: {
5434
+ left: string;
5435
+ right: string;
5436
+ }[] | undefined;
5437
+ whitelist?: any[] | undefined;
5438
+ ccxt_async_config?: any;
5439
+ which?: string | undefined;
5440
+ stakeCurrencies?: any[] | undefined;
5441
+ popularStakeCurrency?: string | null | undefined;
5442
+ notifyAboutWhitelistByEmail?: boolean | undefined;
5443
+ requiredCredentials?: any;
5444
+ uid?: string | undefined;
5445
+ login?: string | undefined;
5446
+ twofa?: string | undefined;
5447
+ privateKey?: string | undefined;
5448
+ walletAddress?: string | undefined;
5449
+ userId?: string | {} | undefined;
5450
+ __v?: any;
5451
+ }>;
5452
+ exchangeId: string;
4488
5453
  strategyId: string | {};
4489
5454
  pod: any;
4490
5455
  trader: Partial<{
@@ -4524,7 +5489,6 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4524
5489
  balance_dust_level: number;
4525
5490
  } | undefined;
4526
5491
  _id?: string | {} | undefined;
4527
- running?: boolean | undefined;
4528
5492
  plugins?: {
4529
5493
  number_assets?: number | undefined;
4530
5494
  refresh_period?: number | undefined;
@@ -4541,6 +5505,7 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4541
5505
  exit: number;
4542
5506
  } | undefined;
4543
5507
  cancel_open_orders_on_exit?: boolean | undefined;
5508
+ running?: boolean | undefined;
4544
5509
  tradable_balance_ratio?: number | undefined;
4545
5510
  webhook?: {
4546
5511
  url: string;
@@ -4625,15 +5590,16 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4625
5590
  host: string;
4626
5591
  name: any;
4627
5592
  provider: "docker";
4628
- strategies: string[];
4629
5593
  secret: string;
4630
5594
  key: string;
4631
5595
  createdAt: any;
4632
5596
  updatedAt: any;
4633
- "traders/pods": any;
4634
- userId: any;
4635
5597
  connected: boolean;
4636
5598
  which: string;
5599
+ userId: any;
5600
+ strategy: any;
5601
+ strategies: string[];
5602
+ "traders/pods": any;
4637
5603
  exchange: any;
4638
5604
  exchangeId: any;
4639
5605
  stake_currency: string;
@@ -4642,7 +5608,6 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4642
5608
  handling: string;
4643
5609
  initial_state: string;
4644
5610
  pairlists: any;
4645
- strategy: any;
4646
5611
  strategyId: string | {};
4647
5612
  entry_pricing: {
4648
5613
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -4710,7 +5675,6 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4710
5675
  balance_dust_level: number;
4711
5676
  } | undefined;
4712
5677
  _id?: string | {} | undefined;
4713
- running?: boolean | undefined;
4714
5678
  plugins?: {
4715
5679
  number_assets?: number | undefined;
4716
5680
  refresh_period?: number | undefined;
@@ -4727,6 +5691,7 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4727
5691
  exit: number;
4728
5692
  } | undefined;
4729
5693
  cancel_open_orders_on_exit?: boolean | undefined;
5694
+ running?: boolean | undefined;
4730
5695
  tradable_balance_ratio?: number | undefined;
4731
5696
  webhook?: {
4732
5697
  url: string;
@@ -4811,15 +5776,16 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4811
5776
  host: string;
4812
5777
  name: any;
4813
5778
  provider: "docker";
4814
- strategies: string[];
4815
5779
  secret: string;
4816
5780
  key: string;
4817
5781
  createdAt: any;
4818
5782
  updatedAt: any;
4819
- "traders/pods": any;
4820
- userId: any;
4821
5783
  connected: boolean;
4822
5784
  which: string;
5785
+ userId: any;
5786
+ strategy: any;
5787
+ strategies: string[];
5788
+ "traders/pods": any;
4823
5789
  exchange: any;
4824
5790
  exchangeId: any;
4825
5791
  stake_currency: string;
@@ -4828,7 +5794,6 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4828
5794
  handling: string;
4829
5795
  initial_state: string;
4830
5796
  pairlists: any;
4831
- strategy: any;
4832
5797
  strategyId: string | {};
4833
5798
  entry_pricing: {
4834
5799
  price_side?: "ask" | "bid" | "same" | "other" | undefined;
@@ -4857,6 +5822,7 @@ export declare const tradersPodsApiPatchResolver: import("@feathersjs/schema").R
4857
5822
  CORS_origins: string[];
4858
5823
  };
4859
5824
  }> | undefined;
5825
+ requestId?: string | undefined;
4860
5826
  _id: string | {};
4861
5827
  createdAt: any;
4862
5828
  updatedAt: any;
@@ -5295,17 +6261,24 @@ export declare const tradersPodsApiQueryProperties: import("@feathersjs/typebox"
5295
6261
  exchangeId: import("@feathersjs/typebox").TString<string>;
5296
6262
  strategyId: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
5297
6263
  strategy: import("@feathersjs/typebox").TRef<import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
5298
- _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5299
- userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
6264
+ _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
6265
+ userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
5300
6266
  file: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
5301
6267
  templateId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TString<string>]>>;
5302
6268
  name: import("@feathersjs/typebox").TAny;
6269
+ public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
5303
6270
  interval: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"1m">, import("@feathersjs/typebox").TLiteral<"5m">, import("@feathersjs/typebox").TLiteral<"30m">, import("@feathersjs/typebox").TLiteral<"2h">, import("@feathersjs/typebox").TLiteral<"6h">, import("@feathersjs/typebox").TLiteral<"12h">, import("@feathersjs/typebox").TLiteral<"1d">, import("@feathersjs/typebox").TLiteral<"1w">]>>;
5304
6271
  stoploss: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
5305
6272
  minimal_roi: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
5306
6273
  minutes: import("@feathersjs/typebox").TNumber;
5307
6274
  profit: import("@feathersjs/typebox").TNumber;
5308
6275
  }>>>;
6276
+ trailing: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
6277
+ trailing_stop: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
6278
+ trailing_stop_positive: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
6279
+ trailing_stop_positive_offset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
6280
+ trailing_only_offset_is_reached: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
6281
+ }>>;
5309
6282
  exit_sell_signal: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
5310
6283
  exit_profit_only: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
5311
6284
  exit_profit_offset: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
@@ -5333,21 +6306,65 @@ export declare const tradersPodsApiQueryProperties: import("@feathersjs/typebox"
5333
6306
  max_allowed_drawdown: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
5334
6307
  only_per_pair: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
5335
6308
  }>>>;
5336
- buywhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6309
+ buywhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TRecursive<import("@feathersjs/typebox").TObject<{
6310
+ logic: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AND">, import("@feathersjs/typebox").TLiteral<"OR">]>;
6311
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TSelf, import("@feathersjs/typebox").TObject<{
6312
+ indicator: import("@feathersjs/typebox").TString<string>;
6313
+ condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
6314
+ compare_to: import("@feathersjs/typebox").TObject<{
6315
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
6316
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
6317
+ }>;
6318
+ }>]>>;
6319
+ }>>, import("@feathersjs/typebox").TObject<{
5337
6320
  indicator: import("@feathersjs/typebox").TString<string>;
5338
6321
  condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
5339
- type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
5340
- value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
5341
- indicator2: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5342
- }>>>;
5343
- sellwhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6322
+ compare_to: import("@feathersjs/typebox").TObject<{
6323
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
6324
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
6325
+ }>;
6326
+ }>]>>;
6327
+ sellwhen: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TRecursive<import("@feathersjs/typebox").TObject<{
6328
+ logic: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"AND">, import("@feathersjs/typebox").TLiteral<"OR">]>;
6329
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TSelf, import("@feathersjs/typebox").TObject<{
6330
+ indicator: import("@feathersjs/typebox").TString<string>;
6331
+ condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">, import("@feathersjs/typebox").TLiteral<"crossed_above">, import("@feathersjs/typebox").TLiteral<"crossed_below">, import("@feathersjs/typebox").TLiteral<"crossed">]>;
6332
+ compare_to: import("@feathersjs/typebox").TObject<{
6333
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
6334
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
6335
+ }>;
6336
+ }>]>>;
6337
+ }>>, import("@feathersjs/typebox").TObject<{
5344
6338
  indicator: import("@feathersjs/typebox").TString<string>;
5345
6339
  condition: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<">">, import("@feathersjs/typebox").TLiteral<"<">, import("@feathersjs/typebox").TLiteral<"==">]>;
5346
- type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
5347
- value: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
5348
- indicator2: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6340
+ compare_to: import("@feathersjs/typebox").TObject<{
6341
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"number">, import("@feathersjs/typebox").TLiteral<"indicator">]>;
6342
+ value: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TNumber, import("@feathersjs/typebox").TString<string>]>;
6343
+ }>;
6344
+ }>]>>;
6345
+ indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6346
+ _id: import("@feathersjs/typebox").TString<string>;
6347
+ alias: import("@feathersjs/typebox").TString<string>;
6348
+ name: import("@feathersjs/typebox").TString<string>;
6349
+ group: import("@feathersjs/typebox").TString<string>;
6350
+ description: import("@feathersjs/typebox").TString<string>;
6351
+ optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6352
+ name: import("@feathersjs/typebox").TString<string>;
6353
+ displayName: import("@feathersjs/typebox").TString<string>;
6354
+ defaultValue: import("@feathersjs/typebox").TNumber;
6355
+ hint: import("@feathersjs/typebox").TString<string>;
6356
+ type: import("@feathersjs/typebox").TString<string>;
6357
+ normName: import("@feathersjs/typebox").TString<string>;
6358
+ }>>;
6359
+ hyperopt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6360
+ field: import("@feathersjs/typebox").TString<string>;
6361
+ space: import("@feathersjs/typebox").TString<string>;
6362
+ type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"IntParameter">, import("@feathersjs/typebox").TLiteral<"DecimalParameter">, import("@feathersjs/typebox").TLiteral<"BooleanParameter">, import("@feathersjs/typebox").TLiteral<"CategoricalParameter">]>;
6363
+ min: import("@feathersjs/typebox").TInteger;
6364
+ max: import("@feathersjs/typebox").TInteger;
6365
+ default: import("@feathersjs/typebox").TInteger;
6366
+ }>>>;
5349
6367
  }>>>;
5350
- indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnknown>>;
5351
6368
  code: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnknown>;
5352
6369
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
5353
6370
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
@@ -5541,10 +6558,96 @@ export declare const tradersPodsApiQueryProperties: import("@feathersjs/typebox"
5541
6558
  _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>>;
5542
6559
  name: import("@feathersjs/typebox").TString<string>;
5543
6560
  type: import("@feathersjs/typebox").TString<string>;
6561
+ revision: import("@feathersjs/typebox").TNumber;
5544
6562
  description: import("@feathersjs/typebox").TString<string>;
5545
6563
  createdAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
5546
6564
  updatedAt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
5547
- values: import("@feathersjs/typebox").TAny;
6565
+ public: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
6566
+ values: import("@feathersjs/typebox").TObject<{
6567
+ interval: import("@feathersjs/typebox").TString<string>;
6568
+ stoploss: import("@feathersjs/typebox").TNumber;
6569
+ exit_profit_only: import("@feathersjs/typebox").TBoolean;
6570
+ exit_profit_offset: import("@feathersjs/typebox").TNumber;
6571
+ indicators: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6572
+ _id: import("@feathersjs/typebox").TString<string>;
6573
+ alias: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6574
+ name: import("@feathersjs/typebox").TString<string>;
6575
+ group: import("@feathersjs/typebox").TString<string>;
6576
+ description: import("@feathersjs/typebox").TString<string>;
6577
+ optInputs: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6578
+ name: import("@feathersjs/typebox").TString<string>;
6579
+ displayName: import("@feathersjs/typebox").TString<string>;
6580
+ defaultValue: import("@feathersjs/typebox").TAny;
6581
+ hint: import("@feathersjs/typebox").TString<string>;
6582
+ type: import("@feathersjs/typebox").TString<string>;
6583
+ normName: import("@feathersjs/typebox").TString<string>;
6584
+ }>>;
6585
+ }>>>;
6586
+ minimal_roi: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6587
+ minutes: import("@feathersjs/typebox").TNumber;
6588
+ profit: import("@feathersjs/typebox").TNumber;
6589
+ }>>;
6590
+ protections: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6591
+ enabled: import("@feathersjs/typebox").TBoolean;
6592
+ type: import("@feathersjs/typebox").TString<string>;
6593
+ method: import("@feathersjs/typebox").TString<string>;
6594
+ stop_duration_candles: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
6595
+ lookback_period_candles: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
6596
+ trade_limit: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
6597
+ max_allowed_drawdown: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TNumber>;
6598
+ only_per_pair: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
6599
+ }>>;
6600
+ order_types: import("@feathersjs/typebox").TObject<{
6601
+ entry: import("@feathersjs/typebox").TString<string>;
6602
+ exit: import("@feathersjs/typebox").TString<string>;
6603
+ emergencysell: import("@feathersjs/typebox").TString<string>;
6604
+ forcebuy: import("@feathersjs/typebox").TString<string>;
6605
+ forcesell: import("@feathersjs/typebox").TString<string>;
6606
+ stoploss: import("@feathersjs/typebox").TString<string>;
6607
+ stoploss_on_exchange: import("@feathersjs/typebox").TBoolean;
6608
+ }>;
6609
+ sellwhen: import("@feathersjs/typebox").TObject<{
6610
+ logic: import("@feathersjs/typebox").TString<string>;
6611
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6612
+ indicator: import("@feathersjs/typebox").TString<string>;
6613
+ condition: import("@feathersjs/typebox").TString<string>;
6614
+ compare_to: import("@feathersjs/typebox").TObject<{
6615
+ type: import("@feathersjs/typebox").TString<string>;
6616
+ value: import("@feathersjs/typebox").TAny;
6617
+ }>;
6618
+ }>>;
6619
+ }>;
6620
+ buywhen: import("@feathersjs/typebox").TObject<{
6621
+ logic: import("@feathersjs/typebox").TString<string>;
6622
+ conditions: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6623
+ indicator: import("@feathersjs/typebox").TString<string>;
6624
+ condition: import("@feathersjs/typebox").TString<string>;
6625
+ compare_to: import("@feathersjs/typebox").TObject<{
6626
+ type: import("@feathersjs/typebox").TString<string>;
6627
+ value: import("@feathersjs/typebox").TAny;
6628
+ }>;
6629
+ }>>;
6630
+ }>;
6631
+ }>;
6632
+ timeinforce: import("@feathersjs/typebox").TString<string>;
6633
+ optimize: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
6634
+ enabled: import("@feathersjs/typebox").TBoolean;
6635
+ best: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
6636
+ by: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"total_profit">, import("@feathersjs/typebox").TLiteral<"sharpe">]>;
6637
+ direction: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"max">, import("@feathersjs/typebox").TLiteral<"min">]>;
6638
+ }>>;
6639
+ if: import("@feathersjs/typebox").TObject<{
6640
+ hyperopt: import("@feathersjs/typebox").TObject<{
6641
+ results: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
6642
+ field: import("@feathersjs/typebox").TString<string>;
6643
+ operator: import("@feathersjs/typebox").TString<string>;
6644
+ compare: import("@feathersjs/typebox").TAny;
6645
+ type: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6646
+ }>>;
6647
+ }>;
6648
+ }>;
6649
+ then: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{}>>;
6650
+ }>>;
5548
6651
  }>>>;
5549
6652
  'strategies/indicators': import("@feathersjs/typebox").TAny;
5550
6653
  }>>>;
@@ -5555,10 +6658,11 @@ export declare const tradersPodsApiQueryProperties: import("@feathersjs/typebox"
5555
6658
  }>>>>;
5556
6659
  createdAt: import("@feathersjs/typebox").TAny;
5557
6660
  updatedAt: import("@feathersjs/typebox").TAny;
6661
+ requestId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
5558
6662
  action: import("@feathersjs/typebox").TString<string>;
5559
6663
  options: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TAny>;
5560
6664
  result: import("@feathersjs/typebox").TAny;
5561
- }>, ["_id", "traderId", "userId", "action", "createdAt", "result"]>;
6665
+ }>, ["_id", "traderId", "userId", "action", "createdAt", "result", "requestId"]>;
5562
6666
  export declare const tradersPodsApiQuerySchema: import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TObject<{
5563
6667
  $limit: import("@feathersjs/typebox").TNumber;
5564
6668
  $skip: import("@feathersjs/typebox").TNumber;
@@ -5568,9 +6672,10 @@ export declare const tradersPodsApiQuerySchema: import("@feathersjs/typebox").TI
5568
6672
  userId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
5569
6673
  traderId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
5570
6674
  result: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
6675
+ requestId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
5571
6676
  action: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
5572
6677
  }>;
5573
- $select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "userId" | "traderId" | "result" | "action")[]>;
6678
+ $select: import("@feathersjs/typebox").TUnsafe<("_id" | "createdAt" | "userId" | "traderId" | "result" | "requestId" | "action")[]>;
5574
6679
  $and: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TObject<{
5575
6680
  _id: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
5576
6681
  $gt: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
@@ -5627,6 +6732,17 @@ export declare const tradersPodsApiQuerySchema: import("@feathersjs/typebox").TI
5627
6732
  }>, import("@feathersjs/typebox").TObject<{
5628
6733
  [key: string]: import("@feathersjs/typebox").TSchema;
5629
6734
  } | undefined>]>>]>>;
6735
+ requestId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
6736
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6737
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6738
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6739
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6740
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6741
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
6742
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
6743
+ }>, import("@feathersjs/typebox").TObject<{
6744
+ [key: string]: import("@feathersjs/typebox").TSchema;
6745
+ } | undefined>]>>]>>;
5630
6746
  action: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
5631
6747
  $gt: import("@feathersjs/typebox").TString<string>;
5632
6748
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -5695,6 +6811,17 @@ export declare const tradersPodsApiQuerySchema: import("@feathersjs/typebox").TI
5695
6811
  }>, import("@feathersjs/typebox").TObject<{
5696
6812
  [key: string]: import("@feathersjs/typebox").TSchema;
5697
6813
  } | undefined>]>>]>>;
6814
+ requestId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
6815
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6816
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6817
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6818
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6819
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6820
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
6821
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
6822
+ }>, import("@feathersjs/typebox").TObject<{
6823
+ [key: string]: import("@feathersjs/typebox").TSchema;
6824
+ } | undefined>]>>]>>;
5698
6825
  action: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
5699
6826
  $gt: import("@feathersjs/typebox").TString<string>;
5700
6827
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -5764,6 +6891,17 @@ export declare const tradersPodsApiQuerySchema: import("@feathersjs/typebox").TI
5764
6891
  }>, import("@feathersjs/typebox").TObject<{
5765
6892
  [key: string]: import("@feathersjs/typebox").TSchema;
5766
6893
  } | undefined>]>>]>>;
6894
+ requestId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
6895
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6896
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6897
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6898
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6899
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6900
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
6901
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
6902
+ }>, import("@feathersjs/typebox").TObject<{
6903
+ [key: string]: import("@feathersjs/typebox").TSchema;
6904
+ } | undefined>]>>]>>;
5767
6905
  action: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
5768
6906
  $gt: import("@feathersjs/typebox").TString<string>;
5769
6907
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -5832,6 +6970,17 @@ export declare const tradersPodsApiQuerySchema: import("@feathersjs/typebox").TI
5832
6970
  }>, import("@feathersjs/typebox").TObject<{
5833
6971
  [key: string]: import("@feathersjs/typebox").TSchema;
5834
6972
  } | undefined>]>>]>>;
6973
+ requestId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
6974
+ $gt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6975
+ $gte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6976
+ $lt: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6977
+ $lte: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6978
+ $ne: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
6979
+ $in: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
6980
+ $nin: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>> | import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>>;
6981
+ }>, import("@feathersjs/typebox").TObject<{
6982
+ [key: string]: import("@feathersjs/typebox").TSchema;
6983
+ } | undefined>]>>]>>;
5835
6984
  action: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TPartial<import("@feathersjs/typebox").TIntersect<[import("@feathersjs/typebox").TObject<{
5836
6985
  $gt: import("@feathersjs/typebox").TString<string>;
5837
6986
  $gte: import("@feathersjs/typebox").TString<string>;
@@ -5855,9 +7004,10 @@ export declare const tradersPodsApiQueryResolver: import("@feathersjs/schema").R
5855
7004
  userId?: number | undefined;
5856
7005
  traderId?: number | undefined;
5857
7006
  result?: number | undefined;
7007
+ requestId?: number | undefined;
5858
7008
  action?: number | undefined;
5859
7009
  };
5860
- $select: ("_id" | "createdAt" | "userId" | "traderId" | "result" | "action")[];
7010
+ $select: ("_id" | "createdAt" | "userId" | "traderId" | "result" | "requestId" | "action")[];
5861
7011
  $and: ({
5862
7012
  _id?: string | {} | Partial<{
5863
7013
  $gt: string | {};
@@ -5872,6 +7022,15 @@ export declare const tradersPodsApiQueryResolver: import("@feathersjs/schema").R
5872
7022
  userId?: any;
5873
7023
  traderId?: any;
5874
7024
  result?: any;
7025
+ requestId?: string | Partial<{
7026
+ $gt?: string | undefined;
7027
+ $gte?: string | undefined;
7028
+ $lt?: string | undefined;
7029
+ $lte?: string | undefined;
7030
+ $ne?: string | undefined;
7031
+ $in: string | string[];
7032
+ $nin: string | string[];
7033
+ } & {}> | undefined;
5875
7034
  action?: string | Partial<{
5876
7035
  $gt: string;
5877
7036
  $gte: string;
@@ -5896,6 +7055,15 @@ export declare const tradersPodsApiQueryResolver: import("@feathersjs/schema").R
5896
7055
  userId?: any;
5897
7056
  traderId?: any;
5898
7057
  result?: any;
7058
+ requestId?: string | Partial<{
7059
+ $gt?: string | undefined;
7060
+ $gte?: string | undefined;
7061
+ $lt?: string | undefined;
7062
+ $lte?: string | undefined;
7063
+ $ne?: string | undefined;
7064
+ $in: string | string[];
7065
+ $nin: string | string[];
7066
+ } & {}> | undefined;
5899
7067
  action?: string | Partial<{
5900
7068
  $gt: string;
5901
7069
  $gte: string;
@@ -5921,6 +7089,15 @@ export declare const tradersPodsApiQueryResolver: import("@feathersjs/schema").R
5921
7089
  userId?: any;
5922
7090
  traderId?: any;
5923
7091
  result?: any;
7092
+ requestId?: string | Partial<{
7093
+ $gt?: string | undefined;
7094
+ $gte?: string | undefined;
7095
+ $lt?: string | undefined;
7096
+ $lte?: string | undefined;
7097
+ $ne?: string | undefined;
7098
+ $in: string | string[];
7099
+ $nin: string | string[];
7100
+ } & {}> | undefined;
5924
7101
  action?: string | Partial<{
5925
7102
  $gt: string;
5926
7103
  $gte: string;
@@ -5945,6 +7122,15 @@ export declare const tradersPodsApiQueryResolver: import("@feathersjs/schema").R
5945
7122
  userId?: any;
5946
7123
  traderId?: any;
5947
7124
  result?: any;
7125
+ requestId?: string | Partial<{
7126
+ $gt?: string | undefined;
7127
+ $gte?: string | undefined;
7128
+ $lt?: string | undefined;
7129
+ $lte?: string | undefined;
7130
+ $ne?: string | undefined;
7131
+ $in: string | string[];
7132
+ $nin: string | string[];
7133
+ } & {}> | undefined;
5948
7134
  action?: string | Partial<{
5949
7135
  $gt: string;
5950
7136
  $gte: string;