wenay-common 1.0.21 → 1.0.22

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 (76) hide show
  1. package/lib/{srcClient/index.js → index.js} +16 -16
  2. package/package.json +5 -1
  3. package/lib/src/Common/BaseTypes.d.ts +0 -38
  4. package/lib/src/Common/BaseTypes.js +0 -3
  5. package/lib/src/Common/BaseTypes.js.map +0 -1
  6. package/lib/src/Common/ByteStream.d.ts +0 -96
  7. package/lib/src/Common/ByteStream.js +0 -427
  8. package/lib/src/Common/ByteStream.js.map +0 -1
  9. package/lib/src/Common/Color.d.ts +0 -26
  10. package/lib/src/Common/Color.js +0 -52
  11. package/lib/src/Common/Color.js.map +0 -1
  12. package/lib/src/Common/Common.d.ts +0 -232
  13. package/lib/src/Common/Common.js +0 -615
  14. package/lib/src/Common/Common.js.map +0 -1
  15. package/lib/src/Common/List.d.ts +0 -64
  16. package/lib/src/Common/List.js +0 -194
  17. package/lib/src/Common/List.js.map +0 -1
  18. package/lib/src/Common/ListNodeAnd.d.ts +0 -46
  19. package/lib/src/Common/ListNodeAnd.js +0 -90
  20. package/lib/src/Common/ListNodeAnd.js.map +0 -1
  21. package/lib/src/Common/Math.d.ts +0 -27
  22. package/lib/src/Common/Math.js +0 -71
  23. package/lib/src/Common/Math.js.map +0 -1
  24. package/lib/src/Common/Time.d.ts +0 -181
  25. package/lib/src/Common/Time.js +0 -356
  26. package/lib/src/Common/Time.js.map +0 -1
  27. package/lib/src/Exchange/Bars.d.ts +0 -182
  28. package/lib/src/Exchange/Bars.js +0 -454
  29. package/lib/src/Exchange/Bars.js.map +0 -1
  30. package/lib/src/Exchange/ConnectData/Binance/BinanceLib/base.d.ts +0 -28
  31. package/lib/src/Exchange/ConnectData/Binance/BinanceLib/base.js +0 -9
  32. package/lib/src/Exchange/ConnectData/Binance/BinanceLib/base.js.map +0 -1
  33. package/lib/src/Exchange/ConnectData/Binance/BinanceLib/spot.d.ts +0 -600
  34. package/lib/src/Exchange/ConnectData/Binance/BinanceLib/spot.js +0 -356
  35. package/lib/src/Exchange/ConnectData/Binance/BinanceLib/spot.js.map +0 -1
  36. package/lib/src/Exchange/ConnectData/Binance/BinanceLib/type.d.ts +0 -4
  37. package/lib/src/Exchange/ConnectData/Binance/BinanceLib/type.js +0 -108
  38. package/lib/src/Exchange/ConnectData/Binance/BinanceLib/type.js.map +0 -1
  39. package/lib/src/Exchange/ConnectData/Binance/commonOrder.d.ts +0 -1
  40. package/lib/src/Exchange/ConnectData/Binance/commonOrder.js +0 -9
  41. package/lib/src/Exchange/ConnectData/Binance/commonOrder.js.map +0 -1
  42. package/lib/src/Exchange/ConnectData/Binance/funcTimeWait.d.ts +0 -22
  43. package/lib/src/Exchange/ConnectData/Binance/funcTimeWait.js +0 -44
  44. package/lib/src/Exchange/ConnectData/Binance/funcTimeWait.js.map +0 -1
  45. package/lib/src/Exchange/ConnectData/Binance/interfaces.d.ts +0 -345
  46. package/lib/src/Exchange/ConnectData/Binance/interfaces.js +0 -3
  47. package/lib/src/Exchange/ConnectData/Binance/interfaces.js.map +0 -1
  48. package/lib/src/Exchange/ConnectData/Binance/order.d.ts +0 -204
  49. package/lib/src/Exchange/ConnectData/Binance/order.js +0 -417
  50. package/lib/src/Exchange/ConnectData/Binance/order.js.map +0 -1
  51. package/lib/src/Exchange/ConnectData/Binance/signatureCoder.d.ts +0 -14
  52. package/lib/src/Exchange/ConnectData/Binance/signatureCoder.js +0 -26
  53. package/lib/src/Exchange/ConnectData/Binance/signatureCoder.js.map +0 -1
  54. package/lib/src/Exchange/ConnectData/Binance/use.d.ts +0 -44
  55. package/lib/src/Exchange/ConnectData/Binance/use.js +0 -90
  56. package/lib/src/Exchange/ConnectData/Binance/use.js.map +0 -1
  57. package/lib/src/Exchange/ConnectData/Binance.d.ts +0 -122
  58. package/lib/src/Exchange/ConnectData/Binance.js +0 -514
  59. package/lib/src/Exchange/ConnectData/Binance.js.map +0 -1
  60. package/lib/src/Exchange/IHistoryBase.d.ts +0 -157
  61. package/lib/src/Exchange/IHistoryBase.js +0 -3
  62. package/lib/src/Exchange/IHistoryBase.js.map +0 -1
  63. package/lib/src/Exchange/LoadBase.d.ts +0 -59
  64. package/lib/src/Exchange/LoadBase.js +0 -103
  65. package/lib/src/Exchange/LoadBase.js.map +0 -1
  66. package/lib/src/Exchange/MarketData.d.ts +0 -78
  67. package/lib/src/Exchange/MarketData.js +0 -358
  68. package/lib/src/Exchange/MarketData.js.map +0 -1
  69. package/lib/src/Exchange/mini.d.ts +0 -68
  70. package/lib/src/Exchange/mini.js +0 -3
  71. package/lib/src/Exchange/mini.js.map +0 -1
  72. package/lib/srcClient/index.d.ts +0 -15
  73. package/lib/srcClient/index.js.map +0 -1
  74. package/lib/srcServer/index.d.ts +0 -16
  75. package/lib/srcServer/index.js +0 -40
  76. package/lib/srcServer/index.js.map +0 -1
@@ -1,345 +0,0 @@
1
- type tSide = "BUY" | "SELL";
2
- type tType = "LIMIT" | "MARKET" | "STOP_LOSS" | "STOP_LOSS_LIMIT" | "TAKE_PROFIT" | "TAKE_PROFIT_LIMIT" | "LIMIT_MAKER";
3
- type tStatus = "NEW" | "PARTIALLY_FILLED" | "FILLED" | "CANCELED" | "PENDING_CANCEL" | "REJECTED" | "EXPIRED";
4
- interface IIsoAssetRes {
5
- "asset": string;
6
- "borrowEnabled": boolean;
7
- "borrowed": string | number;
8
- "free": string | number;
9
- "interest": string | number;
10
- "locked": string | number;
11
- "netAsset": string | number;
12
- "netAssetOfBtc": string | number;
13
- "repayEnabled": boolean;
14
- "totalAsset": string | number;
15
- }
16
- export interface IIsolatedAcc {
17
- "baseAsset": IIsoAssetRes;
18
- "quoteAsset": IIsoAssetRes;
19
- "symbol": string;
20
- "isolatedCreated": boolean;
21
- "marginLevel": string | number;
22
- "marginLevelStatus": "EXCESSIVE" | "NORMAL" | "MARGIN_CALL" | "PRE_LIQUIDATION" | "FORCE_LIQUIDATION";
23
- "marginRatio": string | number;
24
- "indexPrice": string | number;
25
- "liquidatePrice": string | number;
26
- "liquidateRate": string | number;
27
- "tradeEnabled": boolean;
28
- "enabled": boolean;
29
- }
30
- export type IBorrowable = {
31
- "amount": number;
32
- "borrowLimit": number;
33
- code?: number;
34
- };
35
- export interface IOrderUpdateSpotOrMargin {
36
- symbol: string;
37
- orderId: number;
38
- clientOrderId: string;
39
- origQty: number;
40
- executedQty: number;
41
- price: number;
42
- side: tSide;
43
- type: tType;
44
- status: tStatus;
45
- rejectReason?: "NONE" | number | string;
46
- }
47
- export interface IOrderUpdateSpotOrMarginMapById {
48
- [key: string]: IOrderUpdateSpotOrMargin;
49
- }
50
- export interface IOrderSpotOrMargin {
51
- symbol: string;
52
- side: tSide;
53
- type: tType;
54
- timeInForce: "GTC" | "IOC" | "FOK" | "GTX";
55
- quantity: number;
56
- price?: number;
57
- newClientOrderId?: string;
58
- timestamp: number;
59
- }
60
- export interface IHistoryTradeSpot {
61
- symbol: string;
62
- id: number;
63
- orderId: number;
64
- orderListId?: number;
65
- price: number;
66
- qty: number;
67
- quoteQty?: number;
68
- commission: number;
69
- commissionAsset: string;
70
- time: number;
71
- isBuyer: boolean;
72
- isMaker: boolean;
73
- isBestMatch: boolean;
74
- }
75
- export interface ISpotOrderRaw {
76
- symbol: string;
77
- code?: number;
78
- orderId: number;
79
- orderListId: number;
80
- clientOrderId: string;
81
- origClientOrderId?: string;
82
- transactTime?: number;
83
- price: number;
84
- origQty: number;
85
- executedQty: number;
86
- cummulativeQuoteQty: number;
87
- status: tStatus;
88
- timeInForce: "GTC" | "IOC" | "FOK" | "GTX";
89
- type: tType;
90
- side: tSide;
91
- strategyId?: number;
92
- strategyType?: number;
93
- fills?: [
94
- {
95
- "price": number;
96
- "qty": number;
97
- "commission": number;
98
- "commissionAsset": string;
99
- "tradeId": number;
100
- }[]
101
- ];
102
- }
103
- export interface IMarginAsset {
104
- asset: string;
105
- free: number;
106
- locked: number;
107
- borrowed: number;
108
- interest: number;
109
- netAsset: number;
110
- isRequest?: boolean;
111
- }
112
- export interface IMarginAssets {
113
- [key: string]: IMarginAsset;
114
- }
115
- export interface ISpotAsset {
116
- asset: string;
117
- free: number;
118
- locked: number;
119
- }
120
- export interface ISpotAssets {
121
- [key: string]: ISpotAsset;
122
- }
123
- export interface IFuturesAssets {
124
- [key: string]: {
125
- asset: string;
126
- walletBalance: number;
127
- availableBalance?: number;
128
- };
129
- }
130
- export interface IFuturesPositions {
131
- [key: string]: IAccUpdatePositionFutures;
132
- }
133
- export interface IBBO {
134
- bestAsk: number;
135
- bestBid: number;
136
- }
137
- interface IIsoAssetRes {
138
- "asset": string;
139
- "borrowEnabled": boolean;
140
- "borrowed": string | number;
141
- "free": string | number;
142
- "interest": string | number;
143
- "locked": string | number;
144
- "netAsset": string | number;
145
- "netAssetOfBtc": string | number;
146
- "repayEnabled": boolean;
147
- "totalAsset": string | number;
148
- }
149
- export interface IIsolatedAcc {
150
- "baseAsset": IIsoAssetRes;
151
- "quoteAsset": IIsoAssetRes;
152
- "symbol": string;
153
- "isolatedCreated": boolean;
154
- "marginLevel": string | number;
155
- "marginLevelStatus": "EXCESSIVE" | "NORMAL" | "MARGIN_CALL" | "PRE_LIQUIDATION" | "FORCE_LIQUIDATION";
156
- "marginRatio": string | number;
157
- "indexPrice": string | number;
158
- "liquidatePrice": string | number;
159
- "liquidateRate": string | number;
160
- "tradeEnabled": boolean;
161
- "enabled": boolean;
162
- }
163
- export interface IAssetRawFutures {
164
- asset: string;
165
- walletBalance: string;
166
- unrealizedProfit: string;
167
- marginBalance: string;
168
- maintMargin: string;
169
- initialMargin: string;
170
- positionInitialMargin: string;
171
- openOrderInitialMargin: string;
172
- crossWalletBalance: string;
173
- crossUnPnl: string;
174
- availableBalance: string;
175
- maxWithdrawAmount: string;
176
- marginAvailable: boolean;
177
- updateTime: number;
178
- }
179
- export interface IPositionRawFutures {
180
- symbol: string;
181
- initialMargin: string;
182
- maintMargin: string;
183
- unrealizedProfit: string;
184
- positionInitialMargin: string;
185
- openOrderInitialMargin: string;
186
- leverage: string;
187
- isolated: boolean;
188
- entryPrice: string;
189
- maxNotional: string;
190
- positionSide: 'BOTH' | 'LONG' | 'SHORT';
191
- positionAmt: string;
192
- }
193
- export interface IAccountInfoRawFutures {
194
- feeTier: number;
195
- canTrade: boolean;
196
- canDeposit: boolean;
197
- canWithdraw: boolean;
198
- updateTime: number;
199
- totalInitialMargin: string;
200
- totalMaintMargin: string;
201
- totalWalletBalance: string;
202
- totalUnrealizedProfit: string;
203
- totalMarginBalance: string;
204
- totalPositionInitialMargin: string;
205
- totalOpenOrderInitialMargin: string;
206
- totalCrossWalletBalance: string;
207
- totalCrossUnPnl: string;
208
- availableBalance: string;
209
- maxWithdrawAmount: string;
210
- assets: IAssetRawFutures[];
211
- positions: IPositionRawFutures[];
212
- }
213
- export interface IOrderFutures {
214
- symbol?: string;
215
- clientOrderId?: string;
216
- side?: 'BUY' | 'SELL';
217
- orderType?: 'MARKET' | 'LIMIT' | 'STOP' | 'TAKE_PROFIT' | 'LIQUIDATION' | 'TRAILING_STOP_MARKET';
218
- timeInForce?: 'GTC' | 'IOC' | 'FOK' | 'GTX';
219
- originalQuantity: number;
220
- originalPrice?: number;
221
- averagePrice?: number;
222
- orderStatus: 'NEW' | 'PARTIALLY_FILLED' | 'FILLED' | 'CANCELED' | 'REJECTED' | 'EXPIRED' | 'NEW_INSURANCE' | 'NEW_ADL';
223
- orderId: number;
224
- orderLastFilledQuantity?: number;
225
- orderFilledAccumulatedQuantity: number;
226
- positionSide?: 'LONG' | 'SHORT' | 'BOTH';
227
- }
228
- export interface IOrderFuturesMapById {
229
- [key: string]: IOrderFutures;
230
- }
231
- export interface IOrderUpdateCallbackFutures {
232
- eventType: string;
233
- eventTime: number;
234
- transaction: number;
235
- order: IOrderFutures;
236
- }
237
- export interface IOrderRawFutures {
238
- avgPrice: string;
239
- clientOrderId: string;
240
- cumQuote: string;
241
- executedQty: string;
242
- orderId: number;
243
- origQty: string;
244
- origType: 'MARKET' | 'LIMIT' | 'STOP' | 'TAKE_PROFIT' | 'LIQUIDATION' | 'TRAILING_STOP_MARKET';
245
- price: string;
246
- reduceOnly: boolean;
247
- side: 'BUY' | 'SELL';
248
- positionSide: 'LONG' | 'SHORT' | 'BOTH';
249
- status: 'NEW' | 'PARTIALLY_FILLED' | 'FILLED' | 'CANCELED' | 'EXPIRED' | 'NEW_INSURANCE' | 'NEW_ADL';
250
- stopPrice: string;
251
- closePosition: boolean;
252
- symbol: string;
253
- time: number;
254
- timeInForce: 'GTC' | 'IOC' | 'FOK' | 'GTX';
255
- type: 'MARKET' | 'LIMIT' | 'STOP' | 'TAKE_PROFIT' | 'LIQUIDATION' | 'TRAILING_STOP_MARKET';
256
- activatePrice: string;
257
- priceRate: string;
258
- updateTime: number;
259
- workingType: 'MARK_PRICE' | 'CONTRACT_PRICE';
260
- priceProtect: boolean;
261
- code?: number;
262
- msg?: string;
263
- }
264
- export interface IMgCallPositionFutures {
265
- symbol: string;
266
- positionSide: string;
267
- positionAmount: string;
268
- marginType: string;
269
- isolatedWallet: string;
270
- markPrice: string;
271
- unrealizedPnL: string;
272
- maintenanceMargin: string;
273
- }
274
- export interface IMarginCallCallbackFutures {
275
- eventType: string;
276
- eventTime: number;
277
- crossWalletBalance: string;
278
- positions: IMgCallPositionFutures[];
279
- }
280
- export interface IOrderUpdateCallbackFutures {
281
- eventType: string;
282
- eventTime: number;
283
- transaction: number;
284
- order: IOrderFutures;
285
- }
286
- export interface IAccUpdatePositionFutures {
287
- symbol: string;
288
- positionAmount: number;
289
- entryPrice: number;
290
- accumulatedRealized?: number;
291
- unrealizedPnL: number;
292
- marginType?: string;
293
- isolatedWallet?: number;
294
- positionSide: 'BOTH' | 'LONG' | 'SHORT';
295
- isRequest?: boolean;
296
- }
297
- export interface IAccUpdateBalanceFutures {
298
- asset: string;
299
- walletBalance: string;
300
- crossWalletBalance: string;
301
- }
302
- export interface IAccUpdateCallbackFutures {
303
- eventType: string;
304
- eventTime: number;
305
- transaction: number;
306
- updateData: {
307
- eventReasonType: 'DEPOSIT' | 'WITHDRAW' | 'ORDER' | 'FUNDING_FEE' | 'WITHDRAW_REJECT' | 'ADJUSTMENT' | 'INSURANCE_CLEAR' | 'ADMIN_DEPOSIT' | 'ADMIN_WITHDRAW' | 'MARGIN_TRANSFER' | 'MARGIN_TYPE_CHANGE' | 'ASSET_TRANSFER' | 'OPTIONS_PREMIUM_FEE' | 'OPTIONS_SETTLE_PROFIT' | 'AUTO_EXCHANGE';
308
- balances: IAccUpdateBalanceFutures[];
309
- positions: IAccUpdatePositionFutures[];
310
- };
311
- }
312
- export interface ITradeHistoryFutures {
313
- buyer: boolean;
314
- commission: string;
315
- commissionAsset: string;
316
- id: number;
317
- maker: boolean;
318
- orderId: number;
319
- price: string;
320
- qty: string;
321
- quoteQty: string;
322
- realizedPnl: string;
323
- side: 'BUY' | 'SELL';
324
- positionSide: 'BOTH' | 'LONG' | 'SHORT';
325
- symbol: string;
326
- time: number;
327
- }
328
- export interface IIsolatedFeeData {
329
- "vipLevel": number;
330
- "symbol": string;
331
- "leverage": string | number;
332
- "data": [
333
- {
334
- "coin": string;
335
- "dailyInterest": string | number;
336
- "borrowLimit": string | number;
337
- },
338
- {
339
- "coin": string;
340
- "dailyInterest": string | number;
341
- "borrowLimit": string | number;
342
- }
343
- ];
344
- }
345
- export {};
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=interfaces.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../src/Exchange/ConnectData/Binance/interfaces.ts"],"names":[],"mappings":""}
@@ -1,204 +0,0 @@
1
- import { AxiosStatic } from "axios";
2
- import { IBorrowable, IIsolatedAcc } from "./interfaces";
3
- export declare namespace spaceBinance {
4
- type tOrderSymbolMarket = {
5
- symbol: string;
6
- minLot: number;
7
- stepLot: number;
8
- stepPrice: number;
9
- };
10
- type tOrderMarket = tOrderSymbolMarket & {
11
- volume: number;
12
- params?: {
13
- reduceOnly: boolean;
14
- };
15
- };
16
- type tOrderLimit = tOrderMarket & {
17
- price: number;
18
- };
19
- type tOrderCancel = tOrderMarket & {
20
- orderId: number;
21
- };
22
- type IOrder = {
23
- buy(data: tOrderMarket): Promise<void>;
24
- sell(data: tOrderMarket): Promise<void>;
25
- buyLimit(data: tOrderLimit): Promise<void>;
26
- sellLimit(data: tOrderLimit): Promise<void>;
27
- cancelOrders(data: tOrderCancel): Promise<void>;
28
- getOrders(): Promise<void>;
29
- };
30
- export function binanceSpot(binance: any): IOrder;
31
- export function binanceFutures(binance: any): IOrder;
32
- export function binanceIso(binance: any): IOrder;
33
- type tAcc = "SPOT" | "MARGIN" | "FUTURES";
34
- type tTransfer = {
35
- from: tAcc;
36
- to: tAcc;
37
- amount: number;
38
- asset?: string;
39
- };
40
- export function transferMoneyF(binance: any): (data: tTransfer) => Promise<true>;
41
- export type tFtt = {
42
- apiKey: string;
43
- axios: AxiosStatic;
44
- apiSecret: string;
45
- };
46
- export type tFF = {
47
- type: "IP" | "UID" | string;
48
- wight: number;
49
- timeMs: number;
50
- max: number;
51
- };
52
- type standard<T extends (...args: any) => any> = {
53
- wight: tFF | tFF[];
54
- function: T;
55
- };
56
- type tMaxBorrowableCrossF = (asset: string) => Promise<IBorrowable>;
57
- type tSimpleFunc = (...arg: any) => any;
58
- type tSimpleFunc2<T> = (arg: T) => (standard<tSimpleFunc>);
59
- export class BinanceDataFunc {
60
- [ket: string]: tSimpleFunc2<tFtt>;
61
- maxBorrowableCrossF({ axios, apiKey, apiSecret }: tFtt): standard<tMaxBorrowableCrossF>;
62
- maxBorrowableIsolatedF({ axios, apiKey, apiSecret }: tFtt): {
63
- wight: {
64
- type: string;
65
- wight: number;
66
- max: number;
67
- timeMs: number;
68
- };
69
- function: (asset: string, isolatedSymbol: string) => Promise<IBorrowable>;
70
- };
71
- maxTransferableCrossF({ axios, apiKey, apiSecret }: tFtt): {
72
- wight: {
73
- type: string;
74
- wight: number;
75
- max: number;
76
- timeMs: number;
77
- };
78
- function: (asset: string, isolatedSymbol: string) => Promise<{
79
- amount: number;
80
- }>;
81
- };
82
- maxTransferableIsolatedF({ axios, apiKey, apiSecret }: tFtt): {
83
- wight: {
84
- type: string;
85
- wight: number;
86
- max: number;
87
- timeMs: number;
88
- };
89
- function: (asset: string, isolatedSymbol: string) => Promise<{
90
- amount: number;
91
- }>;
92
- };
93
- transferIsolatedF({ axios, apiKey, apiSecret }: tFtt): {
94
- wight: {
95
- type: string;
96
- wight: number;
97
- max: number;
98
- timeMs: number;
99
- };
100
- function: (asset: string, symbol: string, amount: number | string, fromAccountType: 'ISOLATED_MARGIN' | 'MARGIN') => Promise<{
101
- tranId: number;
102
- code?: number;
103
- }>;
104
- };
105
- transferIsolatedToSpotF({ axios, apiKey, apiSecret }: tFtt): {
106
- wight: {
107
- type: string;
108
- wight: number;
109
- max: number;
110
- timeMs: number;
111
- };
112
- function: (asset: string, symbol: string, amount: number | string, transFrom: 'ISOLATED_MARGIN' | 'SPOT') => Promise<{
113
- tranId: number;
114
- code?: number;
115
- }>;
116
- };
117
- updateIsolatedAccsInfoАF({ axios, apiKey, apiSecret }: tFtt): {
118
- wight: {
119
- type: string;
120
- wight: number;
121
- max: number;
122
- timeMs: number;
123
- };
124
- function: (asset: string, symbol: string, amount: number | string, transFrom: 'ISOLATED_MARGIN' | 'SPOT') => Promise<{
125
- assets?: IIsolatedAcc[] | undefined;
126
- totalAssetOfBtc?: number | undefined;
127
- }>;
128
- };
129
- disableIsolatedAccF({ axios, apiKey, apiSecret }: tFtt): {
130
- wight: {
131
- type: string;
132
- wight: number;
133
- max: number;
134
- timeMs: number;
135
- };
136
- function: (symbol: string) => Promise<boolean>;
137
- };
138
- enableIsolatedAccF({ axios, apiKey, apiSecret }: tFtt): {
139
- wight: {
140
- type: string;
141
- wight: number;
142
- max: number;
143
- timeMs: number;
144
- };
145
- function: (symbol: string) => Promise<boolean>;
146
- };
147
- getIsolatedAccountsLimitF({ axios, apiKey, apiSecret }: tFtt): {
148
- wight: {
149
- type: string;
150
- wight: number;
151
- max: number;
152
- timeMs: number;
153
- };
154
- function: (symbol: string) => Promise<any>;
155
- };
156
- getIsolationFeeDataF({ axios, apiKey, apiSecret }: tFtt): {
157
- wight: {
158
- type: string;
159
- wight: number;
160
- max: number;
161
- timeMs: number;
162
- };
163
- function: (symbol: string) => Promise<any>;
164
- };
165
- getIsolationFeeDataBySymbolF({ axios, apiKey, apiSecret }: tFtt): {
166
- wight: {
167
- type: string;
168
- wight: number;
169
- max: number;
170
- timeMs: number;
171
- };
172
- function: (symbol: string) => Promise<any>;
173
- };
174
- getAllCrossMarginPairs({ axios, apiKey, apiSecret }: tFtt): {
175
- wight: {
176
- type: string;
177
- wight: number;
178
- max: number;
179
- timeMs: number;
180
- };
181
- function: () => Promise<any>;
182
- };
183
- getAllCrossIsolatePairs({ axios, apiKey, apiSecret }: tFtt): {
184
- wight: {
185
- type: string;
186
- wight: number;
187
- max: number;
188
- timeMs: number;
189
- };
190
- function: () => Promise<any>;
191
- };
192
- crossMarginAccountDetails({ axios, apiKey, apiSecret }: tFtt): {
193
- wight: {
194
- type: string;
195
- wight: number;
196
- max: number;
197
- timeMs: number;
198
- };
199
- function: () => Promise<any>;
200
- };
201
- }
202
- export const binanceFunc: BinanceDataFunc;
203
- export {};
204
- }