@gbozee/ultimate 0.0.2-210 → 0.0.2-212

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.
@@ -83,7 +83,7 @@ function getEntries(params) {
83
83
  risk_reward,
84
84
  kind,
85
85
  price_places,
86
- percent_change: distribution_params.curveFactor
86
+ percent_change: distribution_params?.curveFactor
87
87
  });
88
88
  break;
89
89
  case "geometric":
@@ -92,7 +92,7 @@ function getEntries(params) {
92
92
  risk_reward,
93
93
  kind,
94
94
  price_places,
95
- percent_change: distribution_params.curveFactor
95
+ percent_change: distribution_params?.curveFactor
96
96
  });
97
97
  break;
98
98
  case "normal":
@@ -101,7 +101,7 @@ function getEntries(params) {
101
101
  risk_reward,
102
102
  kind,
103
103
  price_places,
104
- stdDevFactor: distribution_params.stdDevFactor
104
+ stdDevFactor: distribution_params?.stdDevFactor
105
105
  });
106
106
  break;
107
107
  case "exponential":
@@ -110,7 +110,7 @@ function getEntries(params) {
110
110
  risk_reward,
111
111
  kind,
112
112
  price_places,
113
- lambda: distribution_params.lambda
113
+ lambda: distribution_params?.lambda
114
114
  });
115
115
  break;
116
116
  case "inverse-exponential":
@@ -119,7 +119,7 @@ function getEntries(params) {
119
119
  risk_reward,
120
120
  kind,
121
121
  price_places,
122
- curveFactor: distribution_params.curveFactor
122
+ curveFactor: distribution_params?.curveFactor
123
123
  });
124
124
  break;
125
125
  default:
@@ -479,7 +479,6 @@ class Signal {
479
479
  distribution,
480
480
  distribution_params = {}
481
481
  }) {
482
- console.log("distribution", distribution_params);
483
482
  let _stop_loss = stop_loss;
484
483
  if (!_stop_loss && stop_percent) {
485
484
  _stop_loss = kind === "long" ? current_price * Math.pow(1 + stop_percent, -1) : current_price * Math.pow(1 + stop_percent, 1);
package/dist/index.cjs CHANGED
@@ -55580,7 +55580,7 @@ function getEntries(params) {
55580
55580
  risk_reward,
55581
55581
  kind,
55582
55582
  price_places,
55583
- percent_change: distribution_params.curveFactor
55583
+ percent_change: distribution_params?.curveFactor
55584
55584
  });
55585
55585
  break;
55586
55586
  case "geometric":
@@ -55589,7 +55589,7 @@ function getEntries(params) {
55589
55589
  risk_reward,
55590
55590
  kind,
55591
55591
  price_places,
55592
- percent_change: distribution_params.curveFactor
55592
+ percent_change: distribution_params?.curveFactor
55593
55593
  });
55594
55594
  break;
55595
55595
  case "normal":
@@ -55598,7 +55598,7 @@ function getEntries(params) {
55598
55598
  risk_reward,
55599
55599
  kind,
55600
55600
  price_places,
55601
- stdDevFactor: distribution_params.stdDevFactor
55601
+ stdDevFactor: distribution_params?.stdDevFactor
55602
55602
  });
55603
55603
  break;
55604
55604
  case "exponential":
@@ -55607,7 +55607,7 @@ function getEntries(params) {
55607
55607
  risk_reward,
55608
55608
  kind,
55609
55609
  price_places,
55610
- lambda: distribution_params.lambda
55610
+ lambda: distribution_params?.lambda
55611
55611
  });
55612
55612
  break;
55613
55613
  case "inverse-exponential":
@@ -55616,7 +55616,7 @@ function getEntries(params) {
55616
55616
  risk_reward,
55617
55617
  kind,
55618
55618
  price_places,
55619
- curveFactor: distribution_params.curveFactor
55619
+ curveFactor: distribution_params?.curveFactor
55620
55620
  });
55621
55621
  break;
55622
55622
  default:
@@ -55976,7 +55976,6 @@ class Signal {
55976
55976
  distribution,
55977
55977
  distribution_params = {}
55978
55978
  }) {
55979
- console.log("distribution", distribution_params);
55980
55979
  let _stop_loss = stop_loss;
55981
55980
  if (!_stop_loss && stop_percent) {
55982
55981
  _stop_loss = kind === "long" ? current_price * Math.pow(1 + stop_percent, -1) : current_price * Math.pow(1 + stop_percent, 1);
package/dist/index.js CHANGED
@@ -55517,7 +55517,7 @@ function getEntries(params) {
55517
55517
  risk_reward,
55518
55518
  kind,
55519
55519
  price_places,
55520
- percent_change: distribution_params.curveFactor
55520
+ percent_change: distribution_params?.curveFactor
55521
55521
  });
55522
55522
  break;
55523
55523
  case "geometric":
@@ -55526,7 +55526,7 @@ function getEntries(params) {
55526
55526
  risk_reward,
55527
55527
  kind,
55528
55528
  price_places,
55529
- percent_change: distribution_params.curveFactor
55529
+ percent_change: distribution_params?.curveFactor
55530
55530
  });
55531
55531
  break;
55532
55532
  case "normal":
@@ -55535,7 +55535,7 @@ function getEntries(params) {
55535
55535
  risk_reward,
55536
55536
  kind,
55537
55537
  price_places,
55538
- stdDevFactor: distribution_params.stdDevFactor
55538
+ stdDevFactor: distribution_params?.stdDevFactor
55539
55539
  });
55540
55540
  break;
55541
55541
  case "exponential":
@@ -55544,7 +55544,7 @@ function getEntries(params) {
55544
55544
  risk_reward,
55545
55545
  kind,
55546
55546
  price_places,
55547
- lambda: distribution_params.lambda
55547
+ lambda: distribution_params?.lambda
55548
55548
  });
55549
55549
  break;
55550
55550
  case "inverse-exponential":
@@ -55553,7 +55553,7 @@ function getEntries(params) {
55553
55553
  risk_reward,
55554
55554
  kind,
55555
55555
  price_places,
55556
- curveFactor: distribution_params.curveFactor
55556
+ curveFactor: distribution_params?.curveFactor
55557
55557
  });
55558
55558
  break;
55559
55559
  default:
@@ -55913,7 +55913,6 @@ class Signal {
55913
55913
  distribution,
55914
55914
  distribution_params = {}
55915
55915
  }) {
55916
- console.log("distribution", distribution_params);
55917
55916
  let _stop_loss = stop_loss;
55918
55917
  if (!_stop_loss && stop_percent) {
55919
55918
  _stop_loss = kind === "long" ? current_price * Math.pow(1 + stop_percent, -1) : current_price * Math.pow(1 + stop_percent, 1);
@@ -62266,7 +62266,7 @@ function getEntries(params) {
62266
62266
  risk_reward,
62267
62267
  kind,
62268
62268
  price_places,
62269
- percent_change: distribution_params.curveFactor
62269
+ percent_change: distribution_params?.curveFactor
62270
62270
  });
62271
62271
  break;
62272
62272
  case "geometric":
@@ -62275,7 +62275,7 @@ function getEntries(params) {
62275
62275
  risk_reward,
62276
62276
  kind,
62277
62277
  price_places,
62278
- percent_change: distribution_params.curveFactor
62278
+ percent_change: distribution_params?.curveFactor
62279
62279
  });
62280
62280
  break;
62281
62281
  case "normal":
@@ -62284,7 +62284,7 @@ function getEntries(params) {
62284
62284
  risk_reward,
62285
62285
  kind,
62286
62286
  price_places,
62287
- stdDevFactor: distribution_params.stdDevFactor
62287
+ stdDevFactor: distribution_params?.stdDevFactor
62288
62288
  });
62289
62289
  break;
62290
62290
  case "exponential":
@@ -62293,7 +62293,7 @@ function getEntries(params) {
62293
62293
  risk_reward,
62294
62294
  kind,
62295
62295
  price_places,
62296
- lambda: distribution_params.lambda
62296
+ lambda: distribution_params?.lambda
62297
62297
  });
62298
62298
  break;
62299
62299
  case "inverse-exponential":
@@ -62302,7 +62302,7 @@ function getEntries(params) {
62302
62302
  risk_reward,
62303
62303
  kind,
62304
62304
  price_places,
62305
- curveFactor: distribution_params.curveFactor
62305
+ curveFactor: distribution_params?.curveFactor
62306
62306
  });
62307
62307
  break;
62308
62308
  default:
@@ -62662,7 +62662,6 @@ class Signal {
62662
62662
  distribution,
62663
62663
  distribution_params = {}
62664
62664
  }) {
62665
- console.log("distribution", distribution_params);
62666
62665
  let _stop_loss = stop_loss;
62667
62666
  if (!_stop_loss && stop_percent) {
62668
62667
  _stop_loss = kind === "long" ? current_price * Math.pow(1 + stop_percent, -1) : current_price * Math.pow(1 + stop_percent, 1);
@@ -62239,7 +62239,7 @@ function getEntries(params) {
62239
62239
  risk_reward,
62240
62240
  kind,
62241
62241
  price_places,
62242
- percent_change: distribution_params.curveFactor
62242
+ percent_change: distribution_params?.curveFactor
62243
62243
  });
62244
62244
  break;
62245
62245
  case "geometric":
@@ -62248,7 +62248,7 @@ function getEntries(params) {
62248
62248
  risk_reward,
62249
62249
  kind,
62250
62250
  price_places,
62251
- percent_change: distribution_params.curveFactor
62251
+ percent_change: distribution_params?.curveFactor
62252
62252
  });
62253
62253
  break;
62254
62254
  case "normal":
@@ -62257,7 +62257,7 @@ function getEntries(params) {
62257
62257
  risk_reward,
62258
62258
  kind,
62259
62259
  price_places,
62260
- stdDevFactor: distribution_params.stdDevFactor
62260
+ stdDevFactor: distribution_params?.stdDevFactor
62261
62261
  });
62262
62262
  break;
62263
62263
  case "exponential":
@@ -62266,7 +62266,7 @@ function getEntries(params) {
62266
62266
  risk_reward,
62267
62267
  kind,
62268
62268
  price_places,
62269
- lambda: distribution_params.lambda
62269
+ lambda: distribution_params?.lambda
62270
62270
  });
62271
62271
  break;
62272
62272
  case "inverse-exponential":
@@ -62275,7 +62275,7 @@ function getEntries(params) {
62275
62275
  risk_reward,
62276
62276
  kind,
62277
62277
  price_places,
62278
- curveFactor: distribution_params.curveFactor
62278
+ curveFactor: distribution_params?.curveFactor
62279
62279
  });
62280
62280
  break;
62281
62281
  default:
@@ -62635,7 +62635,6 @@ class Signal {
62635
62635
  distribution,
62636
62636
  distribution_params = {}
62637
62637
  }) {
62638
- console.log("distribution", distribution_params);
62639
62638
  let _stop_loss = stop_loss;
62640
62639
  if (!_stop_loss && stop_percent) {
62641
62640
  _stop_loss = kind === "long" ? current_price * Math.pow(1 + stop_percent, -1) : current_price * Math.pow(1 + stop_percent, 1);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gbozee/ultimate",
3
3
  "type": "module",
4
- "version": "0.0.2-210",
4
+ "version": "0.0.2-212",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "scripts": {
32
- "trigger:deploy": "npx trigger.dev@latest deploy --self-hosted --push",
32
+ "trigger:deploy": "npx trigger.dev@3.3.17 deploy --self-hosted --push",
33
33
  "trigger:dev": "npx trigger.dev@latest dev --profile default",
34
34
  "yarn:publish": "yarn publish --prerelease",
35
35
  "build": "bun run build.ts",