@gbozee/ultimate 0.0.2-141 → 0.0.2-143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -5
- package/dist/index.js +6 -5
- package/dist/mcp-server.cjs +6 -5
- package/dist/mcp-server.js +6 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -55083,7 +55083,7 @@ class Strategy {
|
|
|
55083
55083
|
}
|
|
55084
55084
|
}
|
|
55085
55085
|
|
|
55086
|
-
// src/exchanges/binance.ts
|
|
55086
|
+
// src/exchanges/binance/index.ts
|
|
55087
55087
|
var import_binance = __toESM(require_lib2());
|
|
55088
55088
|
// src/types/index.ts
|
|
55089
55089
|
class BaseExchange {
|
|
@@ -55413,7 +55413,7 @@ class BaseExchange {
|
|
|
55413
55413
|
}
|
|
55414
55414
|
}
|
|
55415
55415
|
|
|
55416
|
-
// src/exchanges/binance.ts
|
|
55416
|
+
// src/exchanges/binance/index.ts
|
|
55417
55417
|
var import_p_limit = __toESM(require_p_limit());
|
|
55418
55418
|
var CONSTANTS = {
|
|
55419
55419
|
SPOT_TO_FIAT: "MAIN_C2C",
|
|
@@ -56517,7 +56517,7 @@ async function cancelOrdersParallel(payload) {
|
|
|
56517
56517
|
return results;
|
|
56518
56518
|
}
|
|
56519
56519
|
|
|
56520
|
-
// src/exchanges/bybit.ts
|
|
56520
|
+
// src/exchanges/bybit/index.ts
|
|
56521
56521
|
var import_bybit_api = __toESM(require_lib3());
|
|
56522
56522
|
var import_p_limit2 = __toESM(require_p_limit());
|
|
56523
56523
|
async function initClient2(credentials, options) {
|
|
@@ -56863,7 +56863,8 @@ function buildPosition2(position2, orders, options) {
|
|
|
56863
56863
|
stop_loss,
|
|
56864
56864
|
take_profit,
|
|
56865
56865
|
tp_quantity,
|
|
56866
|
-
stop_quantity
|
|
56866
|
+
stop_quantity,
|
|
56867
|
+
liquidation: position2.liqPrice ? parseFloat(position2.liqPrice) : null
|
|
56867
56868
|
};
|
|
56868
56869
|
}
|
|
56869
56870
|
var emptyPosition2 = {
|
|
@@ -58478,7 +58479,7 @@ class ExchangeAccount {
|
|
|
58478
58479
|
symbol: payload.symbol,
|
|
58479
58480
|
quantity: payload.use_current ? instance.quantity : trades[0].avg_size,
|
|
58480
58481
|
kind: app_config.kind,
|
|
58481
|
-
stop:
|
|
58482
|
+
stop: stop_orders.stop,
|
|
58482
58483
|
price_places: app_config.price_places,
|
|
58483
58484
|
decimal_places: app_config.decimal_places,
|
|
58484
58485
|
place: true
|
package/dist/index.js
CHANGED
|
@@ -55031,7 +55031,7 @@ class Strategy {
|
|
|
55031
55031
|
}
|
|
55032
55032
|
}
|
|
55033
55033
|
|
|
55034
|
-
// src/exchanges/binance.ts
|
|
55034
|
+
// src/exchanges/binance/index.ts
|
|
55035
55035
|
var import_binance = __toESM(require_lib2(), 1);
|
|
55036
55036
|
// src/types/index.ts
|
|
55037
55037
|
class BaseExchange {
|
|
@@ -55361,7 +55361,7 @@ class BaseExchange {
|
|
|
55361
55361
|
}
|
|
55362
55362
|
}
|
|
55363
55363
|
|
|
55364
|
-
// src/exchanges/binance.ts
|
|
55364
|
+
// src/exchanges/binance/index.ts
|
|
55365
55365
|
var import_p_limit = __toESM(require_p_limit(), 1);
|
|
55366
55366
|
var CONSTANTS = {
|
|
55367
55367
|
SPOT_TO_FIAT: "MAIN_C2C",
|
|
@@ -56465,7 +56465,7 @@ async function cancelOrdersParallel(payload) {
|
|
|
56465
56465
|
return results;
|
|
56466
56466
|
}
|
|
56467
56467
|
|
|
56468
|
-
// src/exchanges/bybit.ts
|
|
56468
|
+
// src/exchanges/bybit/index.ts
|
|
56469
56469
|
var import_bybit_api = __toESM(require_lib3(), 1);
|
|
56470
56470
|
var import_p_limit2 = __toESM(require_p_limit(), 1);
|
|
56471
56471
|
async function initClient2(credentials, options) {
|
|
@@ -56811,7 +56811,8 @@ function buildPosition2(position2, orders, options) {
|
|
|
56811
56811
|
stop_loss,
|
|
56812
56812
|
take_profit,
|
|
56813
56813
|
tp_quantity,
|
|
56814
|
-
stop_quantity
|
|
56814
|
+
stop_quantity,
|
|
56815
|
+
liquidation: position2.liqPrice ? parseFloat(position2.liqPrice) : null
|
|
56815
56816
|
};
|
|
56816
56817
|
}
|
|
56817
56818
|
var emptyPosition2 = {
|
|
@@ -58426,7 +58427,7 @@ class ExchangeAccount {
|
|
|
58426
58427
|
symbol: payload.symbol,
|
|
58427
58428
|
quantity: payload.use_current ? instance.quantity : trades[0].avg_size,
|
|
58428
58429
|
kind: app_config.kind,
|
|
58429
|
-
stop:
|
|
58430
|
+
stop: stop_orders.stop,
|
|
58430
58431
|
price_places: app_config.price_places,
|
|
58431
58432
|
decimal_places: app_config.decimal_places,
|
|
58432
58433
|
place: true
|
package/dist/mcp-server.cjs
CHANGED
|
@@ -61759,7 +61759,7 @@ class Strategy {
|
|
|
61759
61759
|
}
|
|
61760
61760
|
}
|
|
61761
61761
|
|
|
61762
|
-
// src/exchanges/binance.ts
|
|
61762
|
+
// src/exchanges/binance/index.ts
|
|
61763
61763
|
var import_binance = __toESM(require_lib2());
|
|
61764
61764
|
// src/types/index.ts
|
|
61765
61765
|
class BaseExchange {
|
|
@@ -62089,7 +62089,7 @@ class BaseExchange {
|
|
|
62089
62089
|
}
|
|
62090
62090
|
}
|
|
62091
62091
|
|
|
62092
|
-
// src/exchanges/binance.ts
|
|
62092
|
+
// src/exchanges/binance/index.ts
|
|
62093
62093
|
var import_p_limit = __toESM(require_p_limit());
|
|
62094
62094
|
var CONSTANTS = {
|
|
62095
62095
|
SPOT_TO_FIAT: "MAIN_C2C",
|
|
@@ -63193,7 +63193,7 @@ async function cancelOrdersParallel(payload) {
|
|
|
63193
63193
|
return results;
|
|
63194
63194
|
}
|
|
63195
63195
|
|
|
63196
|
-
// src/exchanges/bybit.ts
|
|
63196
|
+
// src/exchanges/bybit/index.ts
|
|
63197
63197
|
var import_bybit_api = __toESM(require_lib3());
|
|
63198
63198
|
var import_p_limit2 = __toESM(require_p_limit());
|
|
63199
63199
|
async function initClient2(credentials, options) {
|
|
@@ -63539,7 +63539,8 @@ function buildPosition2(position2, orders, options) {
|
|
|
63539
63539
|
stop_loss,
|
|
63540
63540
|
take_profit,
|
|
63541
63541
|
tp_quantity,
|
|
63542
|
-
stop_quantity
|
|
63542
|
+
stop_quantity,
|
|
63543
|
+
liquidation: position2.liqPrice ? parseFloat(position2.liqPrice) : null
|
|
63543
63544
|
};
|
|
63544
63545
|
}
|
|
63545
63546
|
var emptyPosition2 = {
|
|
@@ -65154,7 +65155,7 @@ class ExchangeAccount {
|
|
|
65154
65155
|
symbol: payload.symbol,
|
|
65155
65156
|
quantity: payload.use_current ? instance.quantity : trades[0].avg_size,
|
|
65156
65157
|
kind: app_config.kind,
|
|
65157
|
-
stop:
|
|
65158
|
+
stop: stop_orders.stop,
|
|
65158
65159
|
price_places: app_config.price_places,
|
|
65159
65160
|
decimal_places: app_config.decimal_places,
|
|
65160
65161
|
place: true
|
package/dist/mcp-server.js
CHANGED
|
@@ -61736,7 +61736,7 @@ class Strategy {
|
|
|
61736
61736
|
}
|
|
61737
61737
|
}
|
|
61738
61738
|
|
|
61739
|
-
// src/exchanges/binance.ts
|
|
61739
|
+
// src/exchanges/binance/index.ts
|
|
61740
61740
|
var import_binance = __toESM(require_lib2(), 1);
|
|
61741
61741
|
// src/types/index.ts
|
|
61742
61742
|
class BaseExchange {
|
|
@@ -62066,7 +62066,7 @@ class BaseExchange {
|
|
|
62066
62066
|
}
|
|
62067
62067
|
}
|
|
62068
62068
|
|
|
62069
|
-
// src/exchanges/binance.ts
|
|
62069
|
+
// src/exchanges/binance/index.ts
|
|
62070
62070
|
var import_p_limit = __toESM(require_p_limit(), 1);
|
|
62071
62071
|
var CONSTANTS = {
|
|
62072
62072
|
SPOT_TO_FIAT: "MAIN_C2C",
|
|
@@ -63170,7 +63170,7 @@ async function cancelOrdersParallel(payload) {
|
|
|
63170
63170
|
return results;
|
|
63171
63171
|
}
|
|
63172
63172
|
|
|
63173
|
-
// src/exchanges/bybit.ts
|
|
63173
|
+
// src/exchanges/bybit/index.ts
|
|
63174
63174
|
var import_bybit_api = __toESM(require_lib3(), 1);
|
|
63175
63175
|
var import_p_limit2 = __toESM(require_p_limit(), 1);
|
|
63176
63176
|
async function initClient2(credentials, options) {
|
|
@@ -63516,7 +63516,8 @@ function buildPosition2(position2, orders, options) {
|
|
|
63516
63516
|
stop_loss,
|
|
63517
63517
|
take_profit,
|
|
63518
63518
|
tp_quantity,
|
|
63519
|
-
stop_quantity
|
|
63519
|
+
stop_quantity,
|
|
63520
|
+
liquidation: position2.liqPrice ? parseFloat(position2.liqPrice) : null
|
|
63520
63521
|
};
|
|
63521
63522
|
}
|
|
63522
63523
|
var emptyPosition2 = {
|
|
@@ -65131,7 +65132,7 @@ class ExchangeAccount {
|
|
|
65131
65132
|
symbol: payload.symbol,
|
|
65132
65133
|
quantity: payload.use_current ? instance.quantity : trades[0].avg_size,
|
|
65133
65134
|
kind: app_config.kind,
|
|
65134
|
-
stop:
|
|
65135
|
+
stop: stop_orders.stop,
|
|
65135
65136
|
price_places: app_config.price_places,
|
|
65136
65137
|
decimal_places: app_config.decimal_places,
|
|
65137
65138
|
place: true
|