@gbozee/ultimate 0.0.2-43 → 0.0.2-46

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
@@ -746,6 +746,15 @@ export declare function determine_break_even_price(payload: {
746
746
  price: number;
747
747
  direction: string;
748
748
  };
749
+ export declare function determine_amount_to_buy(payload: {
750
+ orders: any[];
751
+ kind: "long" | "short";
752
+ decimal_places?: string;
753
+ price_places?: string;
754
+ place?: boolean;
755
+ position: any;
756
+ existingOrders: any[];
757
+ }): any[];
749
758
  declare class ExchangePosition {
750
759
  exchange: BaseExchange;
751
760
  exchange_account: ExchangeAccount$1;
@@ -1401,6 +1410,7 @@ export declare function initApp(payload: {
1401
1410
  proxy?: any;
1402
1411
  ignore_proxy?: boolean;
1403
1412
  canWithdraw?: boolean;
1413
+ triggerToken?: string;
1404
1414
  }): Promise<App>;
1405
1415
  export declare function initialize(payload: {
1406
1416
  password?: string;