Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

binance-api-node

Package Overview
Dependencies
Maintainers
1
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

binance-api-node - npm Package Compare versions

Comparing version 0.10.13 to 0.10.14

6

dist/http-client.js

@@ -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
}
}

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc