@gbozee/ultimate 0.0.2-16 → 0.0.2-19
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 +13 -1
- package/dist/index.js +1232 -3751
- package/package.json +5 -1
package/dist/index.d.ts
CHANGED
|
@@ -125,6 +125,9 @@ export interface BaseExchange {
|
|
|
125
125
|
symbol: string;
|
|
126
126
|
limit?: number;
|
|
127
127
|
}): Promise<any>;
|
|
128
|
+
checkDelistedMovers(payload: {
|
|
129
|
+
movePercent: number;
|
|
130
|
+
}): Promise<any>;
|
|
128
131
|
}
|
|
129
132
|
export interface BaseSystemFields {
|
|
130
133
|
id: string;
|
|
@@ -404,7 +407,7 @@ export type AppConfig = {
|
|
|
404
407
|
};
|
|
405
408
|
declare class ExchangeAccount$1 {
|
|
406
409
|
private instance;
|
|
407
|
-
|
|
410
|
+
exchange: BaseExchange;
|
|
408
411
|
private app_db;
|
|
409
412
|
constructor(payload: ExchangeType, options: {
|
|
410
413
|
exchange: BaseExchange;
|
|
@@ -700,6 +703,14 @@ declare class App {
|
|
|
700
703
|
}>;
|
|
701
704
|
updateAllAccountWithSymbols(with_positions?: boolean): Promise<void>;
|
|
702
705
|
windDownSymbol(symbol: string): Promise<boolean>;
|
|
706
|
+
fetchAndUpdateTopMovers(payload: {
|
|
707
|
+
movePercent: number;
|
|
708
|
+
account: ExchangeType;
|
|
709
|
+
totalRisk: number;
|
|
710
|
+
}): Promise<{
|
|
711
|
+
updated_bullish: BullishMarket[];
|
|
712
|
+
moved_to_winding: WindingDownMarket[];
|
|
713
|
+
}>;
|
|
703
714
|
}
|
|
704
715
|
export declare function initApp(payload: {
|
|
705
716
|
db: {
|
|
@@ -712,6 +723,7 @@ export declare function initApp(payload: {
|
|
|
712
723
|
api_secret: string;
|
|
713
724
|
}>;
|
|
714
725
|
}): Promise<App>;
|
|
726
|
+
export declare function initialize(): Promise<App>;
|
|
715
727
|
|
|
716
728
|
export {
|
|
717
729
|
ExchangeAccount$1 as ExchangeAccount,
|