binance 3.0.0-beta.0 → 3.0.0-beta.1
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/lib/types/futures.d.ts
CHANGED
|
@@ -454,6 +454,7 @@ export interface FuturesAccountPosition {
|
|
|
454
454
|
maxNotional: numberInString;
|
|
455
455
|
positionSide: PositionSide;
|
|
456
456
|
positionAmt: numberInString;
|
|
457
|
+
crossUnPnl: numberInString;
|
|
457
458
|
notional: numberInString;
|
|
458
459
|
isolatedWallet: numberInString;
|
|
459
460
|
updateTime: number;
|
|
@@ -187,10 +187,10 @@ export interface WsAPIOperationResponseMap {
|
|
|
187
187
|
/**
|
|
188
188
|
* Futures:
|
|
189
189
|
*/
|
|
190
|
-
'v2/account.balance': FuturesAccountBalance
|
|
191
|
-
'account.balance': FuturesAccountBalance
|
|
192
|
-
'v2/account.status': FuturesAccountInformation
|
|
193
|
-
'account.status': FuturesAccountInformation
|
|
190
|
+
'v2/account.balance': WSAPIResponse<FuturesAccountBalance>;
|
|
191
|
+
'account.balance': WSAPIResponse<FuturesAccountBalance>;
|
|
192
|
+
'v2/account.status': WSAPIResponse<FuturesAccountInformation>;
|
|
193
|
+
'account.status': WSAPIResponse<FuturesAccountInformation>;
|
|
194
194
|
/**
|
|
195
195
|
* Trading responses
|
|
196
196
|
* https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api/trading-requests
|
package/package.json
CHANGED