binance-api-node
Advanced tools
Comparing version 0.12.7 to 0.12.8
@@ -559,2 +559,5 @@ "use strict"; | ||
}, | ||
marginGetOrderOco: function marginGetOrderOco(payload) { | ||
return privCall('/sapi/v1/margin/orderList', payload); | ||
}, | ||
marginCancelOrder: function marginCancelOrder(payload) { | ||
@@ -561,0 +564,0 @@ return privCall('/sapi/v1/margin/order', payload, 'DELETE'); |
@@ -254,2 +254,17 @@ // tslint:disable:interface-name | ||
export interface DustTransferResult { | ||
amount: string; | ||
fromAsset: string; | ||
operateTime: number; | ||
serviceChargeAmount: string; | ||
tranId: number; | ||
transferedAmount: string; | ||
} | ||
export interface DustTransfer { | ||
totalServiceCharge: string | ||
totalTransfered: string | ||
transferResult: DustTransferResult[] | ||
} | ||
export interface DepositHistoryResponse { | ||
@@ -608,2 +623,6 @@ [index: number]: { | ||
}): DustLog | ||
dustTransfer(options: { | ||
asset: string[], | ||
recvWindow?: number, | ||
}) | ||
universalTransfer(options: UniversalTransfer): Promise<{ tranId: number }> | ||
@@ -736,2 +755,9 @@ universalTransferHistory( | ||
}): Promise<Order> | ||
marginGetOrderOco(options: { | ||
symbol: string | ||
isIsolated?: string | boolean | ||
orderId?: string | ||
origClientOrderId?: string | ||
recvWindow?: number | ||
}): Promise<QueryOrderOcoResult> | ||
marginAllOrders(options: { | ||
@@ -1892,2 +1918,14 @@ symbol: string | ||
export interface QueryMarginOrderOcoResult { | ||
orderListId: number | ||
contingencyType: OcoOrderType.CONTINGENCY_TYPE | ||
listStatusType: ListStatusType_LT | ||
listOrderStatus: ListOrderStatus_LT | ||
listClientOrderId: string | ||
transactionTime: number | ||
symbol: string | ||
isIsolated: Boolean | ||
orders: Order[] | ||
} | ||
export interface CancelOrderResult { | ||
@@ -1894,0 +1932,0 @@ symbol: string |
{ | ||
"name": "binance-api-node", | ||
"version": "0.12.7", | ||
"version": "0.12.8", | ||
"description": "A node API wrapper for Binance", | ||
@@ -5,0 +5,0 @@ "main": "dist", |
Sorry, the diff of this file is too big to display
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
278730
4161
5405