@gbozee/ultimate 0.0.2-156 → 0.0.2-158
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/frontend-index.d.ts +1 -0
- package/dist/frontend-index.js +2 -1
- package/dist/index.cjs +3055 -38
- package/dist/index.d.ts +10 -1
- package/dist/index.js +3055 -38
- package/dist/mcp-server.cjs +3055 -38
- package/dist/mcp-server.js +3055 -38
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -240,6 +240,7 @@ export type GlobalConfig = {
|
|
|
240
240
|
risk_reward: number;
|
|
241
241
|
reverse_factor: number;
|
|
242
242
|
leverage?: number;
|
|
243
|
+
max_quantity?: number;
|
|
243
244
|
};
|
|
244
245
|
interface Position$1 {
|
|
245
246
|
id: number;
|
|
@@ -2015,6 +2016,7 @@ declare class ExchangePosition {
|
|
|
2015
2016
|
neg_pnl: any;
|
|
2016
2017
|
entry: any;
|
|
2017
2018
|
}>;
|
|
2019
|
+
get appConfig(): AppConfig;
|
|
2018
2020
|
}
|
|
2019
2021
|
declare class ExchangeAccount$1 {
|
|
2020
2022
|
instance: {
|
|
@@ -2026,6 +2028,7 @@ declare class ExchangeAccount$1 {
|
|
|
2026
2028
|
private app_db;
|
|
2027
2029
|
long_position?: ExchangePosition;
|
|
2028
2030
|
short_position?: ExchangePosition;
|
|
2031
|
+
raw_positions?: PositionsView[];
|
|
2029
2032
|
constructor(payload: ExchangeType, options: {
|
|
2030
2033
|
exchange: BaseExchange;
|
|
2031
2034
|
app_db: AppDatabase;
|
|
@@ -2785,10 +2788,16 @@ declare class App {
|
|
|
2785
2788
|
getNonEssentialSymbols(): Promise<Set<any>>;
|
|
2786
2789
|
refreshAllPositionsWithSymbol(payload: {
|
|
2787
2790
|
symbol: string;
|
|
2791
|
+
callback?: (payload: {
|
|
2792
|
+
symbol: string;
|
|
2793
|
+
account: ExchangeType;
|
|
2794
|
+
}) => Promise<any>;
|
|
2788
2795
|
}): Promise<void>;
|
|
2789
2796
|
autoFollowPositions(): Promise<void>;
|
|
2790
2797
|
getMoverExchangeInstances(): Promise<ExchangeAccount[]>;
|
|
2791
|
-
updateTpOnAllMarkets(
|
|
2798
|
+
updateTpOnAllMarkets(callback?: (payload: {
|
|
2799
|
+
account: ExchangeType;
|
|
2800
|
+
}) => Promise<any>): Promise<void>;
|
|
2792
2801
|
triggerMoverTask(payload: {
|
|
2793
2802
|
callback: (params: {
|
|
2794
2803
|
symbol: string;
|