binance-api-node
Advanced tools
Comparing version 0.10.13 to 0.10.14
@@ -529,2 +529,8 @@ "use strict"; | ||
return privCall('/fapi/v2/balance', payload); | ||
}, | ||
futuresPositionMode: function futuresPositionMode(payload) { | ||
return privCall('/fapi/v1/positionSide/dual', payload, 'GET'); | ||
}, | ||
futuresPositionModeChange: function futuresPositionModeChange(payload) { | ||
return privCall('/fapi/v1/positionSide/dual', payload, 'POST'); | ||
} | ||
@@ -531,0 +537,0 @@ }; |
@@ -277,2 +277,7 @@ // tslint:disable:interface-name | ||
futuresAccountBalance(options?: { recvWindow: number }): Promise<FuturesBalanceResult[]> | ||
futuresPositionMode(options?: { recvWindow: number }): Promise<PositionModeResult> | ||
futuresPositionModeChange(options: { | ||
dualSidePosition: string | ||
recvWindow: number | ||
}): Promise<ChangePositionModeResult> | ||
marginOrder(options: NewOrder): Promise<Order> | ||
@@ -779,3 +784,12 @@ marginAllOrders(options: { symbol: string, useServerTime?: boolean }): Promise<QueryOrderResult[]> | ||
orderId: number | ||
orderListId: number | ||
clientOrderId: string | ||
price: string | ||
origQty: string | ||
executedQty: string | ||
cummulativeQuoteQty: string | ||
status: string | ||
timeInForce: string | ||
type: string | ||
side: string | ||
} | ||
@@ -886,2 +900,11 @@ | ||
} | ||
export interface ChangePositionModeResult { | ||
code: number | ||
msg: string | ||
} | ||
export interface PositionModeResult { | ||
dualSidePosition: boolean | ||
} | ||
} |
{ | ||
"name": "binance-api-node", | ||
"version": "0.10.13", | ||
"version": "0.10.14", | ||
"description": "A node API wrapper for Binance", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
113168
1940