@gbozee/ultimate 0.0.2-next.41 → 0.0.2-next.44
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 +3 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -11
- package/dist/mcp-server.cjs +3 -11
- package/dist/mcp-server.js +3 -11
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -65734,7 +65734,8 @@ class BinanceExchange extends BaseExchange {
|
|
|
65734
65734
|
symbol: payload.symbol,
|
|
65735
65735
|
chartType: payload.chartType,
|
|
65736
65736
|
limit: payload.limit,
|
|
65737
|
-
raw: payload.raw
|
|
65737
|
+
raw: payload.raw,
|
|
65738
|
+
count: payload.count
|
|
65738
65739
|
});
|
|
65739
65740
|
}
|
|
65740
65741
|
async getExchangeInfo(options) {
|
|
@@ -67315,16 +67316,7 @@ async function reduceMajorPositionCalculation(input, exchange_instance) {
|
|
|
67315
67316
|
};
|
|
67316
67317
|
let placeNewOrderData = null;
|
|
67317
67318
|
const async_place_stop = async () => {
|
|
67318
|
-
if (!input.not_reduce && input.to_place.stop_price && input.to_place.quantity) {
|
|
67319
|
-
await exchange_instance.placeStopOrder({
|
|
67320
|
-
symbol: input.position.symbol,
|
|
67321
|
-
kind: input.to_place.kind,
|
|
67322
|
-
stop: input.to_place.stop_price,
|
|
67323
|
-
quantity: Math.abs(input.to_place.quantity),
|
|
67324
|
-
price_places: input.price_places,
|
|
67325
|
-
decimal_places: input.decimal_places
|
|
67326
|
-
});
|
|
67327
|
-
}
|
|
67319
|
+
if (!input.not_reduce && input.to_place.stop_price && input.to_place.quantity) {}
|
|
67328
67320
|
};
|
|
67329
67321
|
const [_tp, _increase, _place_stop] = await Promise.all([
|
|
67330
67322
|
async_tp(),
|
package/dist/index.d.ts
CHANGED
|
@@ -444,7 +444,7 @@ declare abstract class BaseExchange {
|
|
|
444
444
|
price_places?: string;
|
|
445
445
|
decimal_places?: string;
|
|
446
446
|
}): Promise<any>;
|
|
447
|
-
|
|
447
|
+
abstract _placeStopOrder(payload: {
|
|
448
448
|
symbol: string;
|
|
449
449
|
stop: number;
|
|
450
450
|
quantity: number;
|
package/dist/index.js
CHANGED
|
@@ -65647,7 +65647,8 @@ class BinanceExchange extends BaseExchange {
|
|
|
65647
65647
|
symbol: payload.symbol,
|
|
65648
65648
|
chartType: payload.chartType,
|
|
65649
65649
|
limit: payload.limit,
|
|
65650
|
-
raw: payload.raw
|
|
65650
|
+
raw: payload.raw,
|
|
65651
|
+
count: payload.count
|
|
65651
65652
|
});
|
|
65652
65653
|
}
|
|
65653
65654
|
async getExchangeInfo(options) {
|
|
@@ -67228,16 +67229,7 @@ async function reduceMajorPositionCalculation(input, exchange_instance) {
|
|
|
67228
67229
|
};
|
|
67229
67230
|
let placeNewOrderData = null;
|
|
67230
67231
|
const async_place_stop = async () => {
|
|
67231
|
-
if (!input.not_reduce && input.to_place.stop_price && input.to_place.quantity) {
|
|
67232
|
-
await exchange_instance.placeStopOrder({
|
|
67233
|
-
symbol: input.position.symbol,
|
|
67234
|
-
kind: input.to_place.kind,
|
|
67235
|
-
stop: input.to_place.stop_price,
|
|
67236
|
-
quantity: Math.abs(input.to_place.quantity),
|
|
67237
|
-
price_places: input.price_places,
|
|
67238
|
-
decimal_places: input.decimal_places
|
|
67239
|
-
});
|
|
67240
|
-
}
|
|
67232
|
+
if (!input.not_reduce && input.to_place.stop_price && input.to_place.quantity) {}
|
|
67241
67233
|
};
|
|
67242
67234
|
const [_tp, _increase, _place_stop] = await Promise.all([
|
|
67243
67235
|
async_tp(),
|
package/dist/mcp-server.cjs
CHANGED
|
@@ -69457,7 +69457,8 @@ class BinanceExchange extends BaseExchange {
|
|
|
69457
69457
|
symbol: payload.symbol,
|
|
69458
69458
|
chartType: payload.chartType,
|
|
69459
69459
|
limit: payload.limit,
|
|
69460
|
-
raw: payload.raw
|
|
69460
|
+
raw: payload.raw,
|
|
69461
|
+
count: payload.count
|
|
69461
69462
|
});
|
|
69462
69463
|
}
|
|
69463
69464
|
async getExchangeInfo(options) {
|
|
@@ -71038,16 +71039,7 @@ async function reduceMajorPositionCalculation(input, exchange_instance) {
|
|
|
71038
71039
|
};
|
|
71039
71040
|
let placeNewOrderData = null;
|
|
71040
71041
|
const async_place_stop = async () => {
|
|
71041
|
-
if (!input.not_reduce && input.to_place.stop_price && input.to_place.quantity) {
|
|
71042
|
-
await exchange_instance.placeStopOrder({
|
|
71043
|
-
symbol: input.position.symbol,
|
|
71044
|
-
kind: input.to_place.kind,
|
|
71045
|
-
stop: input.to_place.stop_price,
|
|
71046
|
-
quantity: Math.abs(input.to_place.quantity),
|
|
71047
|
-
price_places: input.price_places,
|
|
71048
|
-
decimal_places: input.decimal_places
|
|
71049
|
-
});
|
|
71050
|
-
}
|
|
71042
|
+
if (!input.not_reduce && input.to_place.stop_price && input.to_place.quantity) {}
|
|
71051
71043
|
};
|
|
71052
71044
|
const [_tp, _increase, _place_stop] = await Promise.all([
|
|
71053
71045
|
async_tp(),
|
package/dist/mcp-server.js
CHANGED
|
@@ -69430,7 +69430,8 @@ class BinanceExchange extends BaseExchange {
|
|
|
69430
69430
|
symbol: payload.symbol,
|
|
69431
69431
|
chartType: payload.chartType,
|
|
69432
69432
|
limit: payload.limit,
|
|
69433
|
-
raw: payload.raw
|
|
69433
|
+
raw: payload.raw,
|
|
69434
|
+
count: payload.count
|
|
69434
69435
|
});
|
|
69435
69436
|
}
|
|
69436
69437
|
async getExchangeInfo(options) {
|
|
@@ -71011,16 +71012,7 @@ async function reduceMajorPositionCalculation(input, exchange_instance) {
|
|
|
71011
71012
|
};
|
|
71012
71013
|
let placeNewOrderData = null;
|
|
71013
71014
|
const async_place_stop = async () => {
|
|
71014
|
-
if (!input.not_reduce && input.to_place.stop_price && input.to_place.quantity) {
|
|
71015
|
-
await exchange_instance.placeStopOrder({
|
|
71016
|
-
symbol: input.position.symbol,
|
|
71017
|
-
kind: input.to_place.kind,
|
|
71018
|
-
stop: input.to_place.stop_price,
|
|
71019
|
-
quantity: Math.abs(input.to_place.quantity),
|
|
71020
|
-
price_places: input.price_places,
|
|
71021
|
-
decimal_places: input.decimal_places
|
|
71022
|
-
});
|
|
71023
|
-
}
|
|
71015
|
+
if (!input.not_reduce && input.to_place.stop_price && input.to_place.quantity) {}
|
|
71024
71016
|
};
|
|
71025
71017
|
const [_tp, _increase, _place_stop] = await Promise.all([
|
|
71026
71018
|
async_tp(),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gbozee/ultimate",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.2-next.
|
|
4
|
+
"version": "0.0.2-next.44",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
|
+
"trigger:all": "bun trigger:deploy && bun trigger:deploy_dev",
|
|
32
33
|
"trigger:deploy_dev": "bunx trigger.dev@3.3.17 deploy --self-hosted --push --skip-update-check --config trigger2.config.ts",
|
|
33
34
|
"trigger:deploy": "bunx trigger.dev@3.3.17 deploy --self-hosted --push --skip-update-check",
|
|
34
35
|
"trigger:dev": "npx trigger.dev@latest dev --profile default",
|