@gbozee/ultimate 0.0.2-11 → 0.0.2-14
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.d.ts +8 -10
- package/dist/index.js +3299 -20
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -121,6 +121,10 @@ export interface BaseExchange {
|
|
|
121
121
|
symbol: string;
|
|
122
122
|
leverage: number;
|
|
123
123
|
}): Promise<any>;
|
|
124
|
+
generateConfig(payload: {
|
|
125
|
+
symbol: string;
|
|
126
|
+
limit?: number;
|
|
127
|
+
}): Promise<any>;
|
|
124
128
|
}
|
|
125
129
|
export interface BaseSystemFields {
|
|
126
130
|
id: string;
|
|
@@ -331,6 +335,7 @@ export declare class AppDatabase {
|
|
|
331
335
|
}>;
|
|
332
336
|
createOrUpdateWindingDownMarket(symbol: string): Promise<import("pocketbase").RecordModel>;
|
|
333
337
|
getWindingDownMarkets(symbol?: string): Promise<WindingDownMarket[]>;
|
|
338
|
+
getBullishMarket(symbol: string): Promise<BullishMarket>;
|
|
334
339
|
getBullishMarkets(options?: {
|
|
335
340
|
new_markets: Array<{
|
|
336
341
|
symbol: string;
|
|
@@ -431,11 +436,7 @@ declare class ExchangeAccount$1 {
|
|
|
431
436
|
update?: boolean;
|
|
432
437
|
as_view?: boolean;
|
|
433
438
|
leverage?: number;
|
|
434
|
-
}): Promise<(PositionsView & {
|
|
435
|
-
expand?: {
|
|
436
|
-
config: ScheduledTrade;
|
|
437
|
-
};
|
|
438
|
-
}) | (PositionsView & {
|
|
439
|
+
}): Promise<PositionsView | (PositionsView & {
|
|
439
440
|
expand?: {
|
|
440
441
|
config: ScheduledTrade;
|
|
441
442
|
};
|
|
@@ -597,6 +598,7 @@ declare class ExchangeAccount$1 {
|
|
|
597
598
|
revert?: boolean;
|
|
598
599
|
}): Promise<import("pocketbase").RecordModel[]>;
|
|
599
600
|
windDownSymbol(symbol: string, risk_reward?: number): Promise<void>;
|
|
601
|
+
triggerBullishMarket(symbol: string): Promise<any>;
|
|
600
602
|
}
|
|
601
603
|
declare class App {
|
|
602
604
|
private app_db;
|
|
@@ -612,11 +614,7 @@ declare class App {
|
|
|
612
614
|
kind?: "long" | "short";
|
|
613
615
|
update?: boolean;
|
|
614
616
|
as_view?: boolean;
|
|
615
|
-
}): Promise<(PositionsView & {
|
|
616
|
-
expand?: {
|
|
617
|
-
config: ScheduledTrade;
|
|
618
|
-
};
|
|
619
|
-
}) | (PositionsView & {
|
|
617
|
+
}): Promise<PositionsView | (PositionsView & {
|
|
620
618
|
expand?: {
|
|
621
619
|
config: ScheduledTrade;
|
|
622
620
|
};
|