@gbozee/ultimate 0.0.2-121 → 0.0.2-123

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 CHANGED
@@ -656,11 +656,12 @@ export declare class AppDatabase {
656
656
  symbol: string;
657
657
  kind: "long" | "short";
658
658
  account: ExchangeType;
659
+ raw?: boolean;
659
660
  cancelExchangeOrders: (payload: {
660
661
  symbol: string;
661
662
  orders: number[];
662
663
  }) => Promise<any>;
663
- }): Promise<void>;
664
+ }): Promise<any[]>;
664
665
  cancelOrders(payload: {
665
666
  cancelExchangeOrders: (payload: {
666
667
  symbol: string;
@@ -1516,7 +1517,7 @@ declare class ExchangePosition {
1516
1517
  cancelOrders(payload: {
1517
1518
  limit?: boolean;
1518
1519
  price?: number;
1519
- }): Promise<void | {
1520
+ }): Promise<any[] | {
1520
1521
  success: boolean;
1521
1522
  message: string;
1522
1523
  exchange_result?: undefined;
@@ -1626,7 +1627,10 @@ declare class ExchangePosition {
1626
1627
  }): Promise<any>;
1627
1628
  }
1628
1629
  declare class ExchangeAccount$1 {
1629
- private instance;
1630
+ instance: {
1631
+ owner: string;
1632
+ exchange: string;
1633
+ };
1630
1634
  exchange: BaseExchange;
1631
1635
  main_exchange?: BaseExchange;
1632
1636
  private app_db;
@@ -1707,7 +1711,8 @@ declare class ExchangeAccount$1 {
1707
1711
  all?: boolean;
1708
1712
  stop?: boolean;
1709
1713
  limit?: boolean;
1710
- }): Promise<void | {
1714
+ raw?: boolean;
1715
+ }): Promise<any[] | {
1711
1716
  success: boolean;
1712
1717
  message: string;
1713
1718
  exchange_result?: undefined;
@@ -2359,7 +2364,7 @@ declare class App {
2359
2364
  price?: number;
2360
2365
  all?: boolean;
2361
2366
  stop?: boolean;
2362
- }): Promise<void | {
2367
+ }): Promise<any[] | {
2363
2368
  success: boolean;
2364
2369
  message: string;
2365
2370
  exchange_result?: undefined;