@injectivelabs/sdk-ts 1.20.26 → 1.20.28

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.
Files changed (142) hide show
  1. package/dist/cjs/{BaseGrpcConsumer-me9h4XPt.d.cts → BaseGrpcConsumer-D-Ocoffv.d.cts} +1 -1
  2. package/dist/cjs/{MsgSetDenomMetadata-tA6IVCia.cjs → MsgSetDenomMetadata-DNaPq8w6.cjs} +477 -49
  3. package/dist/cjs/SocialTradingGrpcApi-Cm79vDb5.cjs +158 -0
  4. package/dist/cjs/{StreamManagerV2-DqJ4fWu_.cjs → StreamManagerV2-B6TX-Isx.cjs} +4 -0
  5. package/dist/cjs/client/abacus.d.cts +5 -5
  6. package/dist/cjs/client/chain.d.cts +15 -14
  7. package/dist/cjs/client/indexer.cjs +1 -1
  8. package/dist/cjs/client/indexer.d.cts +16 -15
  9. package/dist/cjs/client/olp.d.cts +5 -5
  10. package/dist/cjs/client/platformServices.cjs +8 -0
  11. package/dist/cjs/client/platformServices.d.cts +6 -0
  12. package/dist/cjs/client/tcAbacus.d.cts +5 -5
  13. package/dist/cjs/client/wasm.d.cts +4 -4
  14. package/dist/cjs/core/accounts.d.cts +15 -14
  15. package/dist/cjs/core/modules.cjs +8 -2
  16. package/dist/cjs/core/modules.d.cts +16 -15
  17. package/dist/cjs/core/tx.cjs +1 -1
  18. package/dist/cjs/core/tx.d.cts +15 -14
  19. package/dist/cjs/cosmjs.cjs +2 -2
  20. package/dist/cjs/cosmjs.d.cts +2 -2
  21. package/dist/cjs/exports.cjs +2 -2
  22. package/dist/cjs/exports.d.cts +2 -2
  23. package/dist/cjs/{index-kR_oqvag.d.cts → index-B674D7pD.d.cts} +4 -4
  24. package/dist/cjs/{index-q5FdLZwj.d.cts → index-BSIx102w.d.cts} +10840 -10249
  25. package/dist/cjs/{index-J9cwHdjs.d.cts → index-BURuy3tW.d.cts} +1 -1
  26. package/dist/cjs/{index-BORRXTW4.d.cts → index-BZDon-tA.d.cts} +2 -2
  27. package/dist/cjs/{index-pjxJkZI4.d.cts → index-Bnw2tGrY.d.cts} +1 -1
  28. package/dist/cjs/{index-CFiDirCt.d.cts → index-C3kDJwt_.d.cts} +1 -1
  29. package/dist/cjs/{index-CEkvXgP3.d.cts → index-C9A-6Kpk.d.cts} +6 -6
  30. package/dist/cjs/{index-Dnv1vSBK.d.cts → index-Cbl-NhtN.d.cts} +1 -1
  31. package/dist/cjs/index-yXqxYazb.d.cts +305 -0
  32. package/dist/cjs/index.cjs +12 -4
  33. package/dist/cjs/index.d.cts +16 -15
  34. package/dist/cjs/proto/cosmos-tx.d.cts +1 -1
  35. package/dist/cjs/service.cjs +1 -1
  36. package/dist/cjs/service.d.cts +4 -4
  37. package/dist/cjs/{tx_pb-wznwSZgU.d.cts → tx_pb-BzYfNmn2.d.cts} +4 -4
  38. package/dist/cjs/types/light.d.cts +1 -1
  39. package/dist/cjs/types.d.cts +3 -3
  40. package/dist/cjs/utils/address.d.cts +1 -1
  41. package/dist/cjs/utils/constants.d.cts +1 -1
  42. package/dist/cjs/utils/encoding.d.cts +1 -1
  43. package/dist/cjs/utils/light.d.cts +4 -4
  44. package/dist/cjs/utils.d.cts +15 -14
  45. package/dist/esm/{AbacusGrpcApi-DVO7c0mB.js → AbacusGrpcApi-yHhbSjrF.js} +2 -2
  46. package/dist/esm/{BaseGrpcConsumer-Ci8sUY5h.js → BaseGrpcConsumer-6MH_z0ci.js} +3 -3
  47. package/dist/esm/{BaseGrpcConsumer-BRgferJ5.d.ts → BaseGrpcConsumer-BEeBd9vk.d.ts} +1 -1
  48. package/dist/esm/{BaseIndexerGrpcConsumer-MGB306RP.js → BaseIndexerGrpcConsumer-CPx95BY0.js} +1 -1
  49. package/dist/esm/{ChainGrpcExchangeApi-S5nJzebX.js → ChainGrpcExchangeApi-CGspD5dV.js} +4 -4
  50. package/dist/esm/{ChainRestTendermintApi-D_FQwKrf.js → ChainRestTendermintApi-C3N6b45h.js} +5 -5
  51. package/dist/esm/{DirectEthSecp256k1Wallet-D-KJbto6.js → DirectEthSecp256k1Wallet-CpbdozpK.js} +3 -3
  52. package/dist/esm/{ExecArgNeptuneWithdraw-ljDnPI2p.js → ExecArgNeptuneWithdraw-DmYVr5B4.js} +4 -4
  53. package/dist/esm/{IndexerGrpcWeb3GwApi-BWuDmOjX.js → IndexerGrpcWeb3GwApi-ER1GujRh.js} +4 -4
  54. package/dist/esm/{MsgBase-CishJWMN.js → MsgBase-DYaDzmLm.js} +1 -1
  55. package/dist/esm/{MsgSetDenomMetadata-DGdnd-QI.js → MsgSetDenomMetadata-OfZ7D1U-.js} +449 -58
  56. package/dist/esm/{OLPGrpcApi-BSFkBk80.js → OLPGrpcApi-Kp0vZ0Pu.js} +2 -2
  57. package/dist/esm/{QueryTradingStrategyContractTotalStrategies-C47sauu5.js → QueryTradingStrategyContractTotalStrategies-Bl44Zu8U.js} +4 -4
  58. package/dist/esm/SocialTradingGrpcApi-Gvt1eym5.js +151 -0
  59. package/dist/esm/{StreamManagerV2-CxVdNAtc.js → StreamManagerV2-CFg9pADw.js} +13 -9
  60. package/dist/esm/{TcAbacusGrpcApi-k3COziPh.js → TcAbacusGrpcApi-D4HZcXCV.js} +2 -2
  61. package/dist/esm/{accounts-3rypojw1.js → accounts-D7g8pgWl.js} +6 -6
  62. package/dist/esm/{chain-CQHfHLCM.js → chain-ChIDr_pP.js} +6 -6
  63. package/dist/esm/client/abacus.d.ts +5 -5
  64. package/dist/esm/client/abacus.js +6 -6
  65. package/dist/esm/client/chain.d.ts +15 -14
  66. package/dist/esm/client/chain.js +14 -14
  67. package/dist/esm/client/indexer.d.ts +16 -15
  68. package/dist/esm/client/indexer.js +15 -15
  69. package/dist/esm/client/olp.d.ts +5 -5
  70. package/dist/esm/client/olp.js +7 -7
  71. package/dist/esm/client/platformServices.d.ts +6 -0
  72. package/dist/esm/client/platformServices.js +8 -0
  73. package/dist/esm/client/tcAbacus.d.ts +5 -5
  74. package/dist/esm/client/tcAbacus.js +6 -6
  75. package/dist/esm/client/wasm.d.ts +4 -4
  76. package/dist/esm/client/wasm.js +17 -17
  77. package/dist/esm/core/accounts.d.ts +15 -14
  78. package/dist/esm/core/accounts.js +9 -9
  79. package/dist/esm/core/modules.d.ts +16 -15
  80. package/dist/esm/core/modules.js +21 -21
  81. package/dist/esm/core/tx.d.ts +15 -14
  82. package/dist/esm/core/tx.js +17 -17
  83. package/dist/esm/cosmjs.d.ts +2 -2
  84. package/dist/esm/cosmjs.js +18 -18
  85. package/dist/esm/exports.d.ts +2 -2
  86. package/dist/esm/exports.js +18 -18
  87. package/dist/esm/{index-BqmPYCxy.d.ts → index-B0keqriy.d.ts} +6 -6
  88. package/dist/esm/{index-o-N-zxKg.d.ts → index-BX0RYyak.d.ts} +2 -2
  89. package/dist/esm/{index-DjJS2GlY.d.ts → index-CUuBRId3.d.ts} +1 -1
  90. package/dist/esm/{index-VDXk-hTA.d.ts → index-Cp-Ayqjs.d.ts} +1 -1
  91. package/dist/esm/{index-Bbgn_zqu.d.ts → index-D8HsSSPt.d.ts} +4 -4
  92. package/dist/esm/{index-EwPuu2Cr.d.ts → index-DYBPtGG-.d.ts} +1 -1
  93. package/dist/esm/{index-CGReRoZv.d.ts → index-D_iauVcE.d.ts} +10840 -10249
  94. package/dist/esm/{index-DmQ5vaqU.d.ts → index-Do1evAZC.d.ts} +1 -1
  95. package/dist/esm/index-tsEWBsAJ.d.ts +305 -0
  96. package/dist/esm/index.d.ts +16 -15
  97. package/dist/esm/index.js +30 -29
  98. package/dist/esm/proto/cosmos-tx.d.ts +1 -1
  99. package/dist/esm/{service-BER-mZkG.js → service-ByVrhiMR.js} +3 -3
  100. package/dist/esm/service.d.ts +4 -4
  101. package/dist/esm/service.js +11 -11
  102. package/dist/esm/{tx-Pg714BW8.js → tx-C3kGdMjp.js} +7 -7
  103. package/dist/esm/{tx_pb-DZQILTFk.d.ts → tx_pb-DMlxbcd8.d.ts} +4 -4
  104. package/dist/esm/types/light.d.ts +1 -1
  105. package/dist/esm/types/light.js +1 -1
  106. package/dist/esm/types.d.ts +3 -3
  107. package/dist/esm/types.js +3 -3
  108. package/dist/esm/utils/address.d.ts +1 -1
  109. package/dist/esm/utils/address.js +1 -1
  110. package/dist/esm/utils/constants.d.ts +1 -1
  111. package/dist/esm/utils/constants.js +1 -1
  112. package/dist/esm/utils/encoding.d.ts +1 -1
  113. package/dist/esm/utils/encoding.js +1 -1
  114. package/dist/esm/utils/light.d.ts +4 -4
  115. package/dist/esm/utils/light.js +4 -4
  116. package/dist/esm/{utils-B3t50ZnB.js → utils-BPuX8T_g.js} +1 -1
  117. package/dist/esm/utils.d.ts +15 -14
  118. package/dist/esm/utils.js +6 -6
  119. package/package.json +27 -6
  120. /package/dist/cjs/{DirectEthSecp256k1Wallet-BpU2M9A8.cjs → DirectEthSecp256k1Wallet-DMVCWKfg.cjs} +0 -0
  121. /package/dist/cjs/{address-light-B5-DYwES.d.cts → address-light-CnSMr-vR.d.cts} +0 -0
  122. /package/dist/cjs/{coins-JbAREn6e.d.cts → coins-CSrwziXH.d.cts} +0 -0
  123. /package/dist/cjs/{constants-DSzHAIp3.d.cts → constants-DQTrjP5R.d.cts} +0 -0
  124. /package/dist/cjs/{encoding-light-CrQ0cICT.d.cts → encoding-light-D-6m9tHO.d.cts} +0 -0
  125. /package/dist/cjs/{light-4nNsYXxr.d.cts → light-B-3BDUJ7.d.cts} +0 -0
  126. /package/dist/cjs/{service-nm5Ct4_w.cjs → service-DAfIXxMj.cjs} +0 -0
  127. /package/dist/cjs/{tx-BlFLQ52d.cjs → tx-D8W0e6qZ.cjs} +0 -0
  128. /package/dist/esm/{BaseRestConsumer-L3j9-i4T.js → BaseRestConsumer-BjN9JApr.js} +0 -0
  129. /package/dist/esm/{address-light-C9skTx0P.js → address-light-B2JvY3Or.js} +0 -0
  130. /package/dist/esm/{address-light-BcZDS-ks.d.ts → address-light-DEMtolvF.d.ts} +0 -0
  131. /package/dist/esm/{coins-ceq0Id0M.d.ts → coins-EA0hT1HY.d.ts} +0 -0
  132. /package/dist/esm/{coins-D4vONigS.js → coins-MO-ob9NV.js} +0 -0
  133. /package/dist/esm/{constants-BZ28P_pH.d.ts → constants-Cde3Np7d.d.ts} +0 -0
  134. /package/dist/esm/{constants-CCVyqUU9.js → constants-J9ftgKqC.js} +0 -0
  135. /package/dist/esm/{defineProperty-C0TI9N8m.js → defineProperty-BwBXXd7t.js} +0 -0
  136. /package/dist/esm/{encoding-light-18k0e_8v.d.ts → encoding-light--y1VYXkX.d.ts} +0 -0
  137. /package/dist/esm/{encoding-light-DHtTGSg1.js → encoding-light-BpntDob-.js} +0 -0
  138. /package/dist/esm/{grpc-aI_RLGoG.js → grpc-D2EQHGkK.js} +0 -0
  139. /package/dist/esm/{light-BflupdEX.js → light-BBrX6IRm.js} +0 -0
  140. /package/dist/esm/{light-Cr4m0DAA.d.ts → light-BFGvKXwS.d.ts} +0 -0
  141. /package/dist/esm/{stream-BhshHZxL.js → stream-AVOxjM-h.js} +0 -0
  142. /package/dist/esm/{types-BAV0654v.js → types-CD1KNXoO.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-BRgferJ5.js";
1
+ import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-BEeBd9vk.js";
2
2
 
3
3
  //#region ../../node_modules/.pnpm/@injectivelabs+tc-abacus-proto-ts-v2@1.18.6/node_modules/@injectivelabs/tc-abacus-proto-ts-v2/generated/injective_tc_abacus_rpc_pb.d.ts
4
4
 
@@ -0,0 +1,305 @@
1
+ import { t as BaseGrpcConsumer } from "./BaseGrpcConsumer-BEeBd9vk.js";
2
+
3
+ //#region ../../node_modules/.pnpm/@injectivelabs+platform-services-proto-ts-v2@1.0.0/node_modules/@injectivelabs/platform-services-proto-ts-v2/generated/goagen_api_positions_service_pb.d.ts
4
+
5
+ /**
6
+ * Persisted derivative position
7
+ *
8
+ * @generated from protobuf message positions_service.Position
9
+ */
10
+ interface Position {
11
+ /**
12
+ * @generated from protobuf field: string id = 1
13
+ */
14
+ id: string;
15
+ /**
16
+ * @generated from protobuf field: string market_id = 2
17
+ */
18
+ marketId: string;
19
+ /**
20
+ * @generated from protobuf field: string account_address = 3
21
+ */
22
+ accountAddress: string;
23
+ /**
24
+ * @generated from protobuf field: string subaccount_id = 4
25
+ */
26
+ subaccountId: string;
27
+ /**
28
+ * @generated from protobuf field: string state = 5
29
+ */
30
+ state: string;
31
+ /**
32
+ * @generated from protobuf field: optional string close_reason = 6
33
+ */
34
+ closeReason?: string;
35
+ /**
36
+ * @generated from protobuf field: string side = 7
37
+ */
38
+ side: string;
39
+ /**
40
+ * @generated from protobuf field: string side_at_open = 8
41
+ */
42
+ sideAtOpen: string;
43
+ /**
44
+ * @generated from protobuf field: string pnl = 9
45
+ */
46
+ pnl: string;
47
+ /**
48
+ * @generated from protobuf field: string fees = 10
49
+ */
50
+ fees: string;
51
+ /**
52
+ * @generated from protobuf field: string net_pnl = 11
53
+ */
54
+ netPnl: string;
55
+ /**
56
+ * @generated from protobuf field: sint64 num_of_buy_trades = 12
57
+ */
58
+ numOfBuyTrades: bigint;
59
+ /**
60
+ * @generated from protobuf field: sint64 num_of_sell_trades = 13
61
+ */
62
+ numOfSellTrades: bigint;
63
+ /**
64
+ * @generated from protobuf field: sint64 total_trades = 14
65
+ */
66
+ totalTrades: bigint;
67
+ /**
68
+ * @generated from protobuf field: string avg_entry_price = 15
69
+ */
70
+ avgEntryPrice: string;
71
+ /**
72
+ * @generated from protobuf field: string quantity = 16
73
+ */
74
+ quantity: string;
75
+ /**
76
+ * @generated from protobuf field: string max_quantity = 17
77
+ */
78
+ maxQuantity: string;
79
+ /**
80
+ * @generated from protobuf field: string min_quantity = 18
81
+ */
82
+ minQuantity: string;
83
+ /**
84
+ * @generated from protobuf field: string initial_margin = 19
85
+ */
86
+ initialMargin: string;
87
+ /**
88
+ * @generated from protobuf field: string final_margin = 20
89
+ */
90
+ finalMargin: string;
91
+ /**
92
+ * @generated from protobuf field: string opened_at = 21
93
+ */
94
+ openedAt: string;
95
+ /**
96
+ * @generated from protobuf field: uint64 opened_height = 22
97
+ */
98
+ openedHeight: bigint;
99
+ /**
100
+ * @generated from protobuf field: string updated_at = 23
101
+ */
102
+ updatedAt: string;
103
+ /**
104
+ * @generated from protobuf field: uint64 updated_height = 24
105
+ */
106
+ updatedHeight: bigint;
107
+ /**
108
+ * @generated from protobuf field: optional string closed_at = 25
109
+ */
110
+ closedAt?: string;
111
+ /**
112
+ * @generated from protobuf field: optional uint64 closed_height = 26
113
+ */
114
+ closedHeight?: bigint;
115
+ /**
116
+ * @generated from protobuf field: sint64 duration_in_seconds = 27
117
+ */
118
+ durationInSeconds: bigint;
119
+ }
120
+ /**
121
+ * Daily realized PNL
122
+ *
123
+ * @generated from protobuf message positions_service.DailyPNL
124
+ */
125
+ interface DailyPNL {
126
+ /**
127
+ * UTC date in YYYY-MM-DD format
128
+ *
129
+ * @generated from protobuf field: string date = 1
130
+ */
131
+ date: string;
132
+ /**
133
+ * @generated from protobuf field: string pnl = 2
134
+ */
135
+ pnl: string;
136
+ }
137
+ /**
138
+ * Account-level rolling position stats
139
+ *
140
+ * @generated from protobuf message positions_service.AccountPositionStats
141
+ */
142
+ interface AccountPositionStats {
143
+ /**
144
+ * @generated from protobuf field: string account_address = 1
145
+ */
146
+ accountAddress: string;
147
+ /**
148
+ * @generated from protobuf field: sint64 wins = 2
149
+ */
150
+ wins: bigint;
151
+ /**
152
+ * @generated from protobuf field: sint64 losses = 3
153
+ */
154
+ losses: bigint;
155
+ /**
156
+ * @generated from protobuf field: sint64 closed_positions = 4
157
+ */
158
+ closedPositions: bigint;
159
+ /**
160
+ * @generated from protobuf field: sint64 trade_count = 5
161
+ */
162
+ tradeCount: bigint;
163
+ /**
164
+ * @generated from protobuf field: string pnl = 6
165
+ */
166
+ pnl: string;
167
+ /**
168
+ * Valid-margin realized PNL divided by summed positive initial margin; 0.25
169
+ * means 25%.
170
+ *
171
+ * @generated from protobuf field: string pnl_percentage = 7
172
+ */
173
+ pnlPercentage: string;
174
+ /**
175
+ * @generated from protobuf field: string win_rate = 8
176
+ */
177
+ winRate: string;
178
+ /**
179
+ * @generated from protobuf field: string leverage = 9
180
+ */
181
+ leverage: string;
182
+ /**
183
+ * @generated from protobuf field: string max_drawdown = 10
184
+ */
185
+ maxDrawdown: string;
186
+ /**
187
+ * Cumulative realized PNL samples for the selected rolling window; empty for
188
+ * all_time.
189
+ *
190
+ * @generated from protobuf field: repeated string equity_curve = 11
191
+ */
192
+ equityCurve: string[];
193
+ }
194
+ /**
195
+ * @generated MessageType for protobuf message positions_service.Position
196
+ */
197
+ declare const Position = new Position$Type();
198
+ /**
199
+ * @generated MessageType for protobuf message positions_service.DailyPNL
200
+ */
201
+ declare const DailyPNL = new DailyPNL$Type();
202
+ /**
203
+ * @generated MessageType for protobuf message positions_service.AccountPositionStats
204
+ */
205
+ declare const AccountPositionStats = new AccountPositionStats$Type();
206
+ //#endregion
207
+ //#region src/client/platformServices/types/platformServices.d.ts
208
+ type PlatformServicesPositionsStatsWindow = '24h' | '7d' | '30d' | 'all_time';
209
+ type PlatformServicesPositionsSortBy = 'pnl' | 'trade_count' | 'num_trades' | 'win_rate';
210
+ type PlatformServicesPositionsSortDirection = 'asc' | 'desc';
211
+ interface PlatformServicesListPositionsParams {
212
+ pageSize?: number;
213
+ nextToken?: string;
214
+ accountAddress?: string;
215
+ }
216
+ interface PlatformServicesGetAccountPositionStatsParams {
217
+ accountAddress: string;
218
+ window?: PlatformServicesPositionsStatsWindow;
219
+ }
220
+ interface PlatformServicesGetAccountDailyPNLParams {
221
+ to: string;
222
+ from: string;
223
+ accountAddress: string;
224
+ }
225
+ interface PlatformServicesListAccountPositionStatsParams {
226
+ pageSize?: number;
227
+ nextToken?: string;
228
+ accountAddress?: string[];
229
+ sortBy?: PlatformServicesPositionsSortBy;
230
+ window?: PlatformServicesPositionsStatsWindow;
231
+ sortDirection?: PlatformServicesPositionsSortDirection;
232
+ }
233
+ interface PlatformServicesPosition {
234
+ id: string;
235
+ pnl: string;
236
+ side: string;
237
+ fees: string;
238
+ state: string;
239
+ netPnl: string;
240
+ marketId: string;
241
+ quantity: string;
242
+ openedAt: string;
243
+ updatedAt: string;
244
+ closedAt?: string;
245
+ sideAtOpen: string;
246
+ totalTrades: string;
247
+ maxQuantity: string;
248
+ minQuantity: string;
249
+ finalMargin: string;
250
+ subaccountId: string;
251
+ closeReason?: string;
252
+ openedHeight: string;
253
+ avgEntryPrice: string;
254
+ initialMargin: string;
255
+ updatedHeight: string;
256
+ closedHeight?: string;
257
+ accountAddress: string;
258
+ numOfBuyTrades: string;
259
+ numOfSellTrades: string;
260
+ durationInSeconds: string;
261
+ }
262
+ interface PlatformServicesListPositionsResponse {
263
+ positions: PlatformServicesPosition[];
264
+ nextToken?: string;
265
+ }
266
+ interface PlatformServicesAccountPositionStats {
267
+ pnl: string;
268
+ wins: string;
269
+ losses: string;
270
+ winRate: string;
271
+ leverage: string;
272
+ tradeCount: string;
273
+ maxDrawdown: string;
274
+ pnlPercentage: string;
275
+ equityCurve: string[];
276
+ accountAddress: string;
277
+ closedPositions: string;
278
+ }
279
+ interface PlatformServicesDailyPNL {
280
+ pnl: string;
281
+ date: string;
282
+ }
283
+ interface PlatformServicesGetAccountDailyPNLResponse {
284
+ accountAddress: string;
285
+ dailyPnl: PlatformServicesDailyPNL[];
286
+ }
287
+ interface PlatformServicesListAccountPositionStatsResponse {
288
+ nextToken?: string;
289
+ accounts: PlatformServicesAccountPositionStats[];
290
+ }
291
+ type GrpcPlatformServicesPosition = Position;
292
+ type GrpcPlatformServicesAccountPositionStats = AccountPositionStats;
293
+ type GrpcPlatformServicesDailyPNL = DailyPNL;
294
+ //#endregion
295
+ //#region src/client/platformServices/grpc/SocialTradingGrpcApi.d.ts
296
+ declare class SocialTradingGrpcApi extends BaseGrpcConsumer {
297
+ protected module: string;
298
+ private get client();
299
+ fetchPositions(params?: PlatformServicesListPositionsParams): Promise<PlatformServicesListPositionsResponse>;
300
+ fetchAccountPositionStats(params: PlatformServicesGetAccountPositionStatsParams): Promise<PlatformServicesAccountPositionStats>;
301
+ fetchAccountDailyPNL(params: PlatformServicesGetAccountDailyPNLParams): Promise<PlatformServicesGetAccountDailyPNLResponse>;
302
+ fetchAccountPositionStatsList(params?: PlatformServicesListAccountPositionStatsParams): Promise<PlatformServicesListAccountPositionStatsResponse>;
303
+ }
304
+ //#endregion
305
+ export { PlatformServicesPositionsStatsWindow as _, PlatformServicesAccountPositionStats as a, PlatformServicesGetAccountDailyPNLResponse as c, PlatformServicesListAccountPositionStatsResponse as d, PlatformServicesListPositionsParams as f, PlatformServicesPositionsSortDirection as g, PlatformServicesPositionsSortBy as h, GrpcPlatformServicesPosition as i, PlatformServicesGetAccountPositionStatsParams as l, PlatformServicesPosition as m, GrpcPlatformServicesAccountPositionStats as n, PlatformServicesDailyPNL as o, PlatformServicesListPositionsResponse as p, GrpcPlatformServicesDailyPNL as r, PlatformServicesGetAccountDailyPNLParams as s, SocialTradingGrpcApi as t, PlatformServicesListAccountPositionStatsParams as u };