binance-api-node
Advanced tools
Comparing version 0.11.39 to 0.11.40
@@ -578,2 +578,5 @@ "use strict"; | ||
}, | ||
getPortfolioMarginAccountInfo: function getPortfolioMarginAccountInfo() { | ||
return privCall('/sapi/v1/portfolio/account'); | ||
}, | ||
futuresPing: function futuresPing() { | ||
@@ -580,0 +583,0 @@ return pubCall('/fapi/v1/ping').then(function () { |
// tslint:disable:interface-name | ||
declare module 'binance-api-node' { | ||
export default function (options?: { | ||
export default function(options?: { | ||
apiKey?: string | ||
@@ -719,2 +719,8 @@ apiSecret?: string | ||
enableMarginAccount(options: { symbol: string }): Promise<{ success: boolean; symbol: string }> | ||
getPortfolioMarginAccountInfo(): Promise<{ | ||
uniMMR: string | ||
accountEquity: string | ||
accountMaintMargin: string | ||
accountStatus: string | ||
}> | ||
} | ||
@@ -1772,2 +1778,3 @@ | ||
updateTime: number | ||
stopPrice: string | ||
workingType: WorkingType_LT | ||
@@ -1777,3 +1784,3 @@ } | ||
export interface QueryFuturesOrderResultOthers extends QueryFuturesOrderResultBase { | ||
stopPrice: string | ||
type: Exclude<FuturesOrderType_LT, 'TRAILING_STOP_MARKET'> | ||
} | ||
@@ -1780,0 +1787,0 @@ |
{ | ||
"name": "binance-api-node", | ||
"version": "0.11.39", | ||
"version": "0.11.40", | ||
"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
230755
3741
4131