@0xmonaco/types 0.7.5 → 0.7.7

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 (81) hide show
  1. package/package.json +2 -2
  2. package/dist/api/index.d.ts +0 -18
  3. package/dist/api/index.js +0 -6
  4. package/dist/applications/index.d.ts +0 -23
  5. package/dist/applications/index.js +0 -5
  6. package/dist/applications/responses.d.ts +0 -22
  7. package/dist/applications/responses.js +0 -5
  8. package/dist/auth/index.d.ts +0 -81
  9. package/dist/auth/index.js +0 -6
  10. package/dist/auth/responses.d.ts +0 -67
  11. package/dist/auth/responses.js +0 -5
  12. package/dist/contracts/balances.d.ts +0 -43
  13. package/dist/contracts/balances.js +0 -5
  14. package/dist/contracts/index.d.ts +0 -27
  15. package/dist/contracts/index.js +0 -5
  16. package/dist/fees/index.d.ts +0 -39
  17. package/dist/fees/index.js +0 -6
  18. package/dist/fees/responses.d.ts +0 -54
  19. package/dist/fees/responses.js +0 -86
  20. package/dist/index.d.ts +0 -20
  21. package/dist/index.js +0 -21
  22. package/dist/margin-accounts/index.d.ts +0 -110
  23. package/dist/margin-accounts/index.js +0 -0
  24. package/dist/market/index.d.ts +0 -312
  25. package/dist/market/index.js +0 -5
  26. package/dist/positions/index.d.ts +0 -128
  27. package/dist/positions/index.js +0 -0
  28. package/dist/profile/index.d.ts +0 -405
  29. package/dist/profile/index.js +0 -5
  30. package/dist/sdk/index.d.ts +0 -131
  31. package/dist/sdk/index.js +0 -0
  32. package/dist/sdk/network.d.ts +0 -25
  33. package/dist/sdk/network.js +0 -5
  34. package/dist/trading/index.d.ts +0 -132
  35. package/dist/trading/index.js +0 -6
  36. package/dist/trading/orders.d.ts +0 -137
  37. package/dist/trading/orders.js +0 -9
  38. package/dist/trading/responses.d.ts +0 -347
  39. package/dist/trading/responses.js +0 -5
  40. package/dist/validation/common.d.ts +0 -179
  41. package/dist/validation/common.js +0 -199
  42. package/dist/validation/index.d.ts +0 -22
  43. package/dist/validation/index.js +0 -24
  44. package/dist/validation/margin-accounts.d.ts +0 -55
  45. package/dist/validation/margin-accounts.js +0 -59
  46. package/dist/validation/market.d.ts +0 -214
  47. package/dist/validation/market.js +0 -225
  48. package/dist/validation/positions.d.ts +0 -89
  49. package/dist/validation/positions.js +0 -93
  50. package/dist/validation/profile.d.ts +0 -69
  51. package/dist/validation/profile.js +0 -44
  52. package/dist/validation/trading.d.ts +0 -350
  53. package/dist/validation/trading.js +0 -313
  54. package/dist/validation/vault.d.ts +0 -66
  55. package/dist/validation/vault.js +0 -79
  56. package/dist/vault/index.d.ts +0 -84
  57. package/dist/vault/index.js +0 -5
  58. package/dist/vault/responses.d.ts +0 -51
  59. package/dist/vault/responses.js +0 -5
  60. package/dist/websocket/base.d.ts +0 -31
  61. package/dist/websocket/base.js +0 -5
  62. package/dist/websocket/clients/orderbook-client.d.ts +0 -14
  63. package/dist/websocket/clients/orderbook-client.js +0 -3
  64. package/dist/websocket/events/balance-events.d.ts +0 -48
  65. package/dist/websocket/events/balance-events.js +0 -6
  66. package/dist/websocket/events/conditional-order-events.d.ts +0 -33
  67. package/dist/websocket/events/conditional-order-events.js +0 -0
  68. package/dist/websocket/events/index.d.ts +0 -7
  69. package/dist/websocket/events/index.js +0 -7
  70. package/dist/websocket/events/movement-events.d.ts +0 -64
  71. package/dist/websocket/events/movement-events.js +0 -6
  72. package/dist/websocket/events/ohlcv-events.d.ts +0 -31
  73. package/dist/websocket/events/ohlcv-events.js +0 -5
  74. package/dist/websocket/events/orderbook-events.d.ts +0 -72
  75. package/dist/websocket/events/orderbook-events.js +0 -5
  76. package/dist/websocket/events/orders-events.d.ts +0 -284
  77. package/dist/websocket/events/orders-events.js +0 -0
  78. package/dist/websocket/events/trade-events.d.ts +0 -34
  79. package/dist/websocket/events/trade-events.js +0 -5
  80. package/dist/websocket/index.d.ts +0 -8
  81. package/dist/websocket/index.js +0 -8
@@ -1,110 +0,0 @@
1
- import type { BaseAPI } from "../api";
2
- import type { OrderSide, OrderType, PositionSide } from "../trading";
3
- export interface MarginAccountSummary {
4
- margin_account_id: string;
5
- label?: string;
6
- account_state: string;
7
- equity: string;
8
- initial_margin_required: string;
9
- maintenance_margin_required: string;
10
- free_collateral: string;
11
- withdrawable_collateral: string;
12
- total_position_notional: string;
13
- unrealized_pnl: string;
14
- realized_pnl: string;
15
- updated_at: string;
16
- }
17
- export interface ListMarginAccountsParams {
18
- page?: number;
19
- page_size?: number;
20
- state?: string;
21
- }
22
- export interface ListMarginAccountsResponse {
23
- accounts: MarginAccountSummary[];
24
- total: number;
25
- page: number;
26
- page_size: number;
27
- }
28
- export interface CreateMarginAccountRequest {
29
- label?: string;
30
- collateralAsset?: string;
31
- }
32
- export interface CreateMarginAccountResponse {
33
- margin_account_id: string;
34
- label?: string;
35
- account_state: string;
36
- collateral_asset: string;
37
- created_at: string;
38
- }
39
- export interface GetAvailableCollateralParams {
40
- asset?: string;
41
- }
42
- export interface GetAvailableCollateralResponse {
43
- asset: string;
44
- wallet_available: string;
45
- wallet_locked: string;
46
- margin_transferable?: string;
47
- }
48
- export interface TransferCollateralRequest {
49
- asset: string;
50
- amount: string;
51
- }
52
- export interface TransferCollateralResponse {
53
- movement_id: string;
54
- margin_account_id: string;
55
- asset: string;
56
- amount: string;
57
- status: string;
58
- new_equity: string;
59
- new_total_collateral_value: string;
60
- new_withdrawable_collateral: string;
61
- }
62
- export interface GetMarginAccountMovementsParams {
63
- movement_type?: string;
64
- page?: number;
65
- page_size?: number;
66
- }
67
- export interface MarginAccountMovement {
68
- movement_id: string;
69
- margin_account_id: string;
70
- movement_type: string;
71
- asset: string;
72
- amount: string;
73
- created_at: string;
74
- }
75
- export interface GetMarginAccountMovementsResponse {
76
- movements: MarginAccountMovement[];
77
- total: number;
78
- page: number;
79
- page_size: number;
80
- }
81
- export interface SimulateOrderRiskRequest {
82
- tradingPairId: string;
83
- side: OrderSide;
84
- positionSide: PositionSide;
85
- orderType: OrderType;
86
- price?: string;
87
- quantity: string;
88
- leverage: string;
89
- reduceOnly?: boolean;
90
- }
91
- export interface SimulateOrderRiskResponse {
92
- accepted: boolean;
93
- reject_reason?: string;
94
- equity_after: string;
95
- initial_margin_required_after: string;
96
- maintenance_margin_required_after: string;
97
- free_collateral_after: string;
98
- estimated_fee?: string;
99
- estimated_liquidation_price?: string;
100
- }
101
- export interface MarginAccountsAPI extends BaseAPI {
102
- listMarginAccounts(params?: ListMarginAccountsParams): Promise<ListMarginAccountsResponse>;
103
- createMarginAccount(request?: CreateMarginAccountRequest): Promise<CreateMarginAccountResponse>;
104
- getMarginAccountSummary(marginAccountId: string): Promise<MarginAccountSummary>;
105
- getAvailableCollateral(params?: GetAvailableCollateralParams): Promise<GetAvailableCollateralResponse>;
106
- transferCollateralToMarginAccount(marginAccountId: string, request: TransferCollateralRequest): Promise<TransferCollateralResponse>;
107
- transferCollateralFromMarginAccount(marginAccountId: string, request: TransferCollateralRequest): Promise<TransferCollateralResponse>;
108
- getMarginAccountMovements(marginAccountId: string, params?: GetMarginAccountMovementsParams): Promise<GetMarginAccountMovementsResponse>;
109
- simulateOrderRisk(marginAccountId: string, request: SimulateOrderRiskRequest): Promise<SimulateOrderRiskResponse>;
110
- }
File without changes
@@ -1,312 +0,0 @@
1
- /**
2
- * Market Types
3
- *
4
- * Types for market data operations including trading pair metadata and OHLCV data.
5
- */
6
- import type { BaseAPI } from "../api";
7
- /**
8
- * Trading pair metadata
9
- */
10
- export interface TradingPair {
11
- /** Unique identifier */
12
- id: string;
13
- /** Trading pair symbol e.g. BTC/USDC */
14
- symbol: string;
15
- /** Base token symbol */
16
- base_token: string;
17
- /** Quote token symbol */
18
- quote_token: string;
19
- /** Base asset ID (UUID) */
20
- base_asset_id: string;
21
- /** Quote asset ID (UUID) */
22
- quote_asset_id: string;
23
- /** Base token contract address */
24
- base_token_contract: string;
25
- /** Quote token contract address */
26
- quote_token_contract: string;
27
- /** Base token decimals */
28
- base_decimals: number;
29
- /** Base token icon URL */
30
- base_icon_url: string;
31
- /** Quote token decimals */
32
- quote_decimals: number;
33
- /** Quote token icon URL */
34
- quote_icon_url: string;
35
- /** Market type (e.g. SPOT) */
36
- market_type: string;
37
- /** Whether the market is active */
38
- is_active: boolean;
39
- /** Maker fee in basis points */
40
- maker_fee_bps: number;
41
- /** Taker fee in basis points */
42
- taker_fee_bps: number;
43
- /** Minimum order size */
44
- min_order_size: string;
45
- /** Maximum order size */
46
- max_order_size: string;
47
- /** Tick size for price increments */
48
- tick_size: string;
49
- }
50
- /**
51
- * OHLCV candlestick data point (matches API response format)
52
- *
53
- * Note: Field naming follows backend API format where:
54
- * - T = Start timestamp (open_time from backend)
55
- * - t = End timestamp (close_time from backend)
56
- */
57
- export interface Candlestick {
58
- /** Start timestamp for the candlestick period (Unix timestamp in milliseconds) */
59
- T: number;
60
- /** End timestamp for the candlestick period (Unix timestamp in milliseconds) */
61
- t: number;
62
- /** Opening price */
63
- o: string;
64
- /** Highest price during the period */
65
- h: string;
66
- /** Lowest price during the period */
67
- l: string;
68
- /** Closing price */
69
- c: string;
70
- /** Volume traded during the period */
71
- v: string;
72
- /** Symbol */
73
- s: string;
74
- /** Interval */
75
- i: string;
76
- /** Number of trades */
77
- n: number;
78
- }
79
- /**
80
- * Supported candlestick intervals
81
- */
82
- export type Interval = "1m" | "5m" | "15m" | "1h" | "4h" | "1d";
83
- /**
84
- * Candlestick subscription configuration
85
- */
86
- export interface CandlestickSubscription {
87
- /** Trading pair ID (UUID) */
88
- tradingPairId: string;
89
- /** Candlestick interval */
90
- interval: Interval;
91
- }
92
- /**
93
- * Query parameters for fetching candlestick data
94
- *
95
- * All parameters are optional and can be used independently:
96
- * - Use `endTime` + `limit` for backward pagination (TradingView primary pattern)
97
- * - Use `startTime` + `limit` for forward pagination
98
- * - Use just `limit` for most recent bars
99
- * - Use `startTime` + `endTime` + `limit` for a specific range (capped at limit)
100
- */
101
- export interface GetCandlesticksParams {
102
- /** Start time (Unix ms). Use with `limit` for forward pagination from this timestamp. */
103
- startTime?: number;
104
- /** End time (Unix ms). Use with `limit` for backward pagination ending at this timestamp. */
105
- endTime?: number;
106
- /** Maximum number of bars to return (max: 500, server defaults to 350 if omitted) */
107
- limit?: number;
108
- }
109
- /**
110
- * Query parameters for fetching trading pairs
111
- */
112
- export interface GetTradingPairsParams {
113
- /** Page number (starts from 1) */
114
- page?: number;
115
- /** Number of items per page (max 100) */
116
- page_size?: number;
117
- /** Filter by market type (SPOT, MARGIN) */
118
- market_type?: string;
119
- /** Filter by base token symbol */
120
- base_token?: string;
121
- /** Filter by quote token symbol */
122
- quote_token?: string;
123
- /** Filter by active status */
124
- is_active?: boolean;
125
- }
126
- /**
127
- * Response for listing trading pairs with pagination
128
- */
129
- export interface GetTradingPairsResponse {
130
- trading_pairs: TradingPair[];
131
- page: number;
132
- page_size: number;
133
- total: number;
134
- total_pages: number;
135
- }
136
- /**
137
- * Response for a single trading pair
138
- */
139
- export interface GetTradingPairResponse {
140
- trading_pair: TradingPair;
141
- }
142
- /**
143
- * API response wrapper for single trading pair
144
- */
145
- export interface GetCandlestickResponse {
146
- data: Candlestick[];
147
- }
148
- /**
149
- * Market metadata with 24-hour statistics
150
- */
151
- export interface MarketMetadata {
152
- /** Trading pair symbol (e.g., "BTC/USDC") */
153
- symbol: string;
154
- /** Base token icon URL */
155
- base_icon_url: string;
156
- /** Quote token icon URL */
157
- quote_icon_url: string;
158
- /** Current price (8 decimal precision, null if no trades yet) */
159
- last_price: string | null;
160
- /** Unix timestamp (ms) of latest price (null if no trades yet) */
161
- last_price_timestamp: number | null;
162
- /** 24h high price (null if <24h data) */
163
- high_24h: string | null;
164
- /** 24h low price (null if <24h data) */
165
- low_24h: string | null;
166
- /** 24h volume in base asset (null if <24h data) */
167
- volume_24h: string | null;
168
- /** Absolute price change in 24h (null if <24h data) */
169
- price_change_24h: string | null;
170
- /** Percentage price change in 24h (2 decimals, null if <24h data) */
171
- price_change_percent_24h: string | null;
172
- /** Unix timestamp (ms) when market started trading (null if not available) */
173
- market_initialization_timestamp: number | null;
174
- }
175
- export interface RiskTier {
176
- notional_floor: string;
177
- notional_cap?: string;
178
- initial_margin_ratio: string;
179
- maintenance_margin_ratio: string;
180
- max_leverage: string;
181
- }
182
- export interface PerpMarketConfig {
183
- trading_pair_id: string;
184
- symbol: string;
185
- min_leverage: string;
186
- max_leverage: string;
187
- initial_margin_ratio: string;
188
- maintenance_margin_ratio: string;
189
- funding_interval_seconds: number;
190
- liquidation_fee_bps?: string;
191
- risk_tiers: RiskTier[];
192
- updated_at: string;
193
- }
194
- export interface PerpMarketSummary {
195
- trading_pair_id: string;
196
- symbol: string;
197
- last_price: string;
198
- mark_price: string;
199
- index_price: string;
200
- high_24h?: string;
201
- low_24h?: string;
202
- volume_24h?: string;
203
- price_change_24h?: string;
204
- price_change_percent_24h?: string;
205
- open_interest: string;
206
- current_funding_rate?: string;
207
- estimated_next_funding_rate?: string;
208
- next_funding_time?: string;
209
- market_status: string;
210
- market_regime: string;
211
- updated_at: string;
212
- }
213
- export interface MarkPrice {
214
- trading_pair_id: string;
215
- mark_price: string;
216
- oracle_provider: string;
217
- oracle_epoch?: string;
218
- updated_at: string;
219
- regime: string;
220
- }
221
- export interface IndexComponent {
222
- provider: string;
223
- price: string;
224
- weight?: string;
225
- updated_at?: string;
226
- }
227
- export interface IndexPrice {
228
- trading_pair_id: string;
229
- index_price: string;
230
- components: IndexComponent[];
231
- updated_at: string;
232
- }
233
- export interface FundingState {
234
- trading_pair_id: string;
235
- current_funding_rate: string;
236
- estimated_next_funding_rate?: string;
237
- next_funding_time: string;
238
- funding_interval_seconds: number;
239
- last_funding_time?: string;
240
- updated_at: string;
241
- }
242
- export interface FundingRecord {
243
- trading_pair_id: string;
244
- funding_rate: string;
245
- funding_time: string;
246
- cumulative_funding_per_unit?: string;
247
- }
248
- export interface ListFundingHistoryParams {
249
- start_time?: string;
250
- end_time?: string;
251
- page?: number;
252
- page_size?: number;
253
- }
254
- export interface ListFundingHistoryResponse {
255
- records: FundingRecord[];
256
- total: number;
257
- page: number;
258
- page_size: number;
259
- }
260
- export interface OpenInterest {
261
- trading_pair_id: string;
262
- open_interest_base: string;
263
- open_interest_notional: string;
264
- updated_at: string;
265
- }
266
- /**
267
- * Market API interface.
268
- * Provides methods for fetching market metadata and trading pair information.
269
- */
270
- export interface MarketAPI extends BaseAPI {
271
- /**
272
- * Fetch all available trading pairs supported by Monaco.
273
- * @param params - Optional query parameters for filtering and pagination
274
- * @returns Promise resolving to paginated response with trading pairs
275
- */
276
- getPaginatedTradingPairs(params?: GetTradingPairsParams): Promise<GetTradingPairsResponse>;
277
- /**
278
- * Fetch metadata for a single trading pair by its symbol (e.g. BTC-USDC).
279
- * @param symbol - Trading pair symbol
280
- * @returns Promise resolving to trading pair or undefined if not found
281
- */
282
- getTradingPairBySymbol(symbol: string): Promise<TradingPair | undefined>;
283
- /**
284
- * Fetch historical candlestick data for a trading pair.
285
- *
286
- * Supports TradingView-compliant query patterns:
287
- * - `endTime` + `limit`: Backward pagination (bars ending at timestamp)
288
- * - `startTime` + `limit`: Forward pagination (bars starting from timestamp)
289
- * - `limit` only: Most recent bars
290
- * - `startTime` + `endTime` + `limit`: Specific range (capped at limit)
291
- *
292
- * @param tradingPairId - Trading pair UUID
293
- * @param interval - Candlestick interval (1m, 5m, 15m, 1h, 4h, 1d)
294
- * @param params - Optional query parameters (startTime, endTime, limit). Server defaults to 350 bars if limit omitted.
295
- * @returns Promise resolving to array of candlesticks (oldest to newest)
296
- */
297
- getCandlesticks(tradingPairId: string, interval: Interval, params?: GetCandlesticksParams): Promise<Candlestick[]>;
298
- /**
299
- * Get comprehensive market metadata including 24h statistics.
300
- * @param tradingPairId - Trading pair UUID
301
- * @returns Promise resolving to market metadata with current price and 24h stats
302
- * @throws {Error} If pair not found or no data available
303
- */
304
- getMarketMetadata(tradingPairId: string): Promise<MarketMetadata>;
305
- getPerpMarketConfig(tradingPairId: string): Promise<PerpMarketConfig>;
306
- getPerpMarketSummary(tradingPairId: string): Promise<PerpMarketSummary>;
307
- getMarkPrice(tradingPairId: string): Promise<MarkPrice>;
308
- getIndexPrice(tradingPairId: string): Promise<IndexPrice>;
309
- getFundingState(tradingPairId: string): Promise<FundingState>;
310
- listFundingHistory(tradingPairId: string, params?: ListFundingHistoryParams): Promise<ListFundingHistoryResponse>;
311
- getOpenInterest(tradingPairId: string): Promise<OpenInterest>;
312
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * Market Types
3
- *
4
- * Types for market data operations including trading pair metadata and OHLCV data.
5
- */
@@ -1,128 +0,0 @@
1
- import type { BaseAPI } from "../api";
2
- import type { OrderType, PositionSide, TimeInForce } from "../trading";
3
- export type PositionStatus = "OPEN" | "CLOSED" | "LIQUIDATING";
4
- export type ClosePositionType = "MARKET" | "LIMIT" | "IOC";
5
- export interface Position {
6
- position_id: string;
7
- margin_account_id: string;
8
- trading_pair_id: string;
9
- side: PositionSide;
10
- size: string;
11
- entry_price: string;
12
- mark_price: string;
13
- index_price?: string;
14
- unrealized_pnl: string;
15
- realized_pnl: string;
16
- isolated_margin: string;
17
- leverage?: string;
18
- maintenance_margin_required: string;
19
- initial_margin_required?: string;
20
- liquidation_price: string;
21
- status: PositionStatus;
22
- updated_at: string;
23
- }
24
- export interface ListPositionsParams {
25
- margin_account_id?: string;
26
- trading_pair_id?: string;
27
- status?: PositionStatus;
28
- page?: number;
29
- page_size?: number;
30
- }
31
- export interface ListPositionsResponse {
32
- positions: Position[];
33
- total: number;
34
- page: number;
35
- page_size: number;
36
- }
37
- export type GetPositionResponse = Position;
38
- export interface ClosePositionRequest {
39
- closeType: ClosePositionType;
40
- limitPrice?: string;
41
- slippageToleranceBps?: number;
42
- quantity?: string;
43
- }
44
- export interface ClosePositionResponse {
45
- close_order_id: string;
46
- status: string;
47
- message: string;
48
- submitted_quantity: string;
49
- }
50
- export interface PositionRisk {
51
- position_id: string;
52
- mark_price: string;
53
- index_price?: string;
54
- unrealized_pnl: string;
55
- liquidation_price: string;
56
- margin_ratio: string;
57
- maintenance_margin_required: string;
58
- initial_margin_required?: string;
59
- updated_at: string;
60
- }
61
- export interface AddPositionMarginRequest {
62
- amount: string;
63
- asset: string;
64
- }
65
- export interface ReducePositionMarginRequest {
66
- amount: string;
67
- }
68
- export interface PositionMarginResponse {
69
- position_id: string;
70
- margin_account_id: string;
71
- new_isolated_margin: string;
72
- status: string;
73
- message: string;
74
- }
75
- export interface TpSlLeg {
76
- triggerPrice: string;
77
- orderType: OrderType;
78
- limitPrice?: string;
79
- quantity?: string;
80
- timeInForce?: Extract<TimeInForce, "GTC" | "IOC">;
81
- slippageToleranceBps?: number;
82
- expiresAt?: string;
83
- }
84
- export interface AttachPositionTpSlRequest {
85
- takeProfit?: TpSlLeg;
86
- stopLoss?: TpSlLeg;
87
- }
88
- export interface AttachPositionTpSlResponse {
89
- position_id: string;
90
- take_profit_order_id?: string;
91
- stop_loss_order_id?: string;
92
- status: "SUCCESS" | "FAILED";
93
- message: string;
94
- }
95
- export interface ListPositionHistoryParams {
96
- position_id?: string;
97
- margin_account_id?: string;
98
- trading_pair_id?: string;
99
- page?: number;
100
- page_size?: number;
101
- }
102
- export interface PositionHistoryEvent {
103
- event_id: string;
104
- position_id?: string;
105
- margin_account_id?: string;
106
- trading_pair_id?: string;
107
- event_type: string;
108
- quantity?: string;
109
- price?: string;
110
- realized_pnl?: string;
111
- timestamp: string;
112
- }
113
- export interface ListPositionHistoryResponse {
114
- events: PositionHistoryEvent[];
115
- total: number;
116
- page: number;
117
- page_size: number;
118
- }
119
- export interface PositionsAPI extends BaseAPI {
120
- listPositions(params?: ListPositionsParams): Promise<ListPositionsResponse>;
121
- getPosition(positionId: string): Promise<GetPositionResponse>;
122
- closePosition(positionId: string, request: ClosePositionRequest): Promise<ClosePositionResponse>;
123
- getPositionRisk(positionId: string): Promise<PositionRisk>;
124
- addPositionMargin(positionId: string, request: AddPositionMarginRequest): Promise<PositionMarginResponse>;
125
- reducePositionMargin(positionId: string, request: ReducePositionMarginRequest): Promise<PositionMarginResponse>;
126
- attachPositionTpSl(positionId: string, request: AttachPositionTpSlRequest): Promise<AttachPositionTpSlResponse>;
127
- listPositionHistory(params?: ListPositionHistoryParams): Promise<ListPositionHistoryResponse>;
128
- }
File without changes