@gbozee/ultimate 0.0.2-156 → 0.0.2-157
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 +3053 -37
- package/dist/index.d.ts +9 -1
- package/dist/index.js +3053 -37
- package/dist/mcp-server.cjs +3053 -37
- package/dist/mcp-server.js +3053 -37
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -2015,6 +2015,7 @@ declare class ExchangePosition {
|
|
|
2015
2015
|
neg_pnl: any;
|
|
2016
2016
|
entry: any;
|
|
2017
2017
|
}>;
|
|
2018
|
+
get appConfig(): AppConfig;
|
|
2018
2019
|
}
|
|
2019
2020
|
declare class ExchangeAccount$1 {
|
|
2020
2021
|
instance: {
|
|
@@ -2026,6 +2027,7 @@ declare class ExchangeAccount$1 {
|
|
|
2026
2027
|
private app_db;
|
|
2027
2028
|
long_position?: ExchangePosition;
|
|
2028
2029
|
short_position?: ExchangePosition;
|
|
2030
|
+
raw_positions?: PositionsView[];
|
|
2029
2031
|
constructor(payload: ExchangeType, options: {
|
|
2030
2032
|
exchange: BaseExchange;
|
|
2031
2033
|
app_db: AppDatabase;
|
|
@@ -2785,10 +2787,16 @@ declare class App {
|
|
|
2785
2787
|
getNonEssentialSymbols(): Promise<Set<any>>;
|
|
2786
2788
|
refreshAllPositionsWithSymbol(payload: {
|
|
2787
2789
|
symbol: string;
|
|
2790
|
+
callback?: (payload: {
|
|
2791
|
+
symbol: string;
|
|
2792
|
+
account: ExchangeType;
|
|
2793
|
+
}) => Promise<any>;
|
|
2788
2794
|
}): Promise<void>;
|
|
2789
2795
|
autoFollowPositions(): Promise<void>;
|
|
2790
2796
|
getMoverExchangeInstances(): Promise<ExchangeAccount[]>;
|
|
2791
|
-
updateTpOnAllMarkets(
|
|
2797
|
+
updateTpOnAllMarkets(callback?: (payload: {
|
|
2798
|
+
account: ExchangeType;
|
|
2799
|
+
}) => Promise<any>): Promise<void>;
|
|
2792
2800
|
triggerMoverTask(payload: {
|
|
2793
2801
|
callback: (params: {
|
|
2794
2802
|
symbol: string;
|