@gbozee/ultimate 0.0.2-182 → 0.0.2-184

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.
@@ -435,6 +435,8 @@ export interface PositionsView {
435
435
  compound_instance?: CompoundInstance;
436
436
  support?: SupportTable;
437
437
  symbol_config: SymbolConfig;
438
+ resistance?: SupportTable;
439
+ anchor?: Omit<PositionsView, "expand">;
438
440
  };
439
441
  pnl?: number;
440
442
  support_price?: number;
package/dist/index.cjs CHANGED
@@ -54702,7 +54702,18 @@ class AppDatabase {
54702
54702
  return result;
54703
54703
  }
54704
54704
  get positionExpand() {
54705
- return "b_config, account_strategy, p_account, proxy, compound_instance.ref,support,symbol_config";
54705
+ const fields = [
54706
+ "b_config",
54707
+ "account_strategy",
54708
+ "p_account",
54709
+ "proxy",
54710
+ "compound_instance.ref",
54711
+ "support",
54712
+ "resistance",
54713
+ "symbol_config",
54714
+ "anchor"
54715
+ ];
54716
+ return fields.join(", ");
54706
54717
  }
54707
54718
  async fetchCentralPositions(payload) {
54708
54719
  const { asset: assetName, symbol, customFilter = "" } = payload;
package/dist/index.d.ts CHANGED
@@ -161,6 +161,8 @@ export interface PositionsView {
161
161
  compound_instance?: CompoundInstance;
162
162
  support?: SupportTable;
163
163
  symbol_config: SymbolConfig;
164
+ resistance?: SupportTable;
165
+ anchor?: Omit<PositionsView, "expand">;
164
166
  };
165
167
  pnl?: number;
166
168
  support_price?: number;
package/dist/index.js CHANGED
@@ -54640,7 +54640,18 @@ class AppDatabase {
54640
54640
  return result;
54641
54641
  }
54642
54642
  get positionExpand() {
54643
- return "b_config, account_strategy, p_account, proxy, compound_instance.ref,support,symbol_config";
54643
+ const fields = [
54644
+ "b_config",
54645
+ "account_strategy",
54646
+ "p_account",
54647
+ "proxy",
54648
+ "compound_instance.ref",
54649
+ "support",
54650
+ "resistance",
54651
+ "symbol_config",
54652
+ "anchor"
54653
+ ];
54654
+ return fields.join(", ");
54644
54655
  }
54645
54656
  async fetchCentralPositions(payload) {
54646
54657
  const { asset: assetName, symbol, customFilter = "" } = payload;
@@ -61396,7 +61396,18 @@ class AppDatabase {
61396
61396
  return result;
61397
61397
  }
61398
61398
  get positionExpand() {
61399
- return "b_config, account_strategy, p_account, proxy, compound_instance.ref,support,symbol_config";
61399
+ const fields = [
61400
+ "b_config",
61401
+ "account_strategy",
61402
+ "p_account",
61403
+ "proxy",
61404
+ "compound_instance.ref",
61405
+ "support",
61406
+ "resistance",
61407
+ "symbol_config",
61408
+ "anchor"
61409
+ ];
61410
+ return fields.join(", ");
61400
61411
  }
61401
61412
  async fetchCentralPositions(payload) {
61402
61413
  const { asset: assetName, symbol, customFilter = "" } = payload;
@@ -61369,7 +61369,18 @@ class AppDatabase {
61369
61369
  return result;
61370
61370
  }
61371
61371
  get positionExpand() {
61372
- return "b_config, account_strategy, p_account, proxy, compound_instance.ref,support,symbol_config";
61372
+ const fields = [
61373
+ "b_config",
61374
+ "account_strategy",
61375
+ "p_account",
61376
+ "proxy",
61377
+ "compound_instance.ref",
61378
+ "support",
61379
+ "resistance",
61380
+ "symbol_config",
61381
+ "anchor"
61382
+ ];
61383
+ return fields.join(", ");
61373
61384
  }
61374
61385
  async fetchCentralPositions(payload) {
61375
61386
  const { asset: assetName, symbol, customFilter = "" } = payload;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gbozee/ultimate",
3
3
  "type": "module",
4
- "version": "0.0.2-182",
4
+ "version": "0.0.2-184",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",