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.11.9 to 0.11.10

42

index.d.ts

@@ -191,9 +191,22 @@ // tslint:disable:interface-name

export type GetOrderOptions =
| { symbol: string; orderId: number }
| { symbol: string; origClientOrderId: string }
| { symbol: string; orderId: number, useServerTime?: boolean }
| { symbol: string; origClientOrderId: string, useServerTime?: boolean }
export type CancelOrderOptions =
| { symbol: string; orderId: number, useServerTime?: boolean, newClientOrderId?: string }
| { symbol: string; origClientOrderId: string, useServerTime?: boolean, newClientOrderId?: string }
export type GetOrderOcoOptions =
| { orderListId: number }
| { listClientOrderId: string }
| { symbol: string, orderListId: number, useServerTime?: boolean }
| { symbol: string, listClientOrderId: string, useServerTime?: boolean }
export type CancelOrderOcoOptions =
| { symbol: string, orderListId: number, useServerTime?: boolean, newClientOrderId?: string }
| { symbol: string, listClientOrderId: string, useServerTime?: boolean, newClientOrderId?: string }
export type cancelOpenOrdersOptions = {
symbol: string
useServerTime?: boolean
}
export interface GetInfo {

@@ -313,18 +326,7 @@ spot: GetInfoDetails

}): Promise<MyTrade[]>
getOrder(options: GetOrderOptions & { useServerTime?: boolean }): Promise<QueryOrderResult>
getOrderOco(options: GetOrderOcoOptions & { useServerTime?: boolean }): Promise<QueryOrderOcoResult>
cancelOrder(options: {
symbol: string
orderId: number
useServerTime?: boolean
}): Promise<CancelOrderResult>
cancelOrderOco(options: {
symbol: string
orderListId: number
useServerTime?: boolean
}): Promise<CancelOrderOcoResult>
cancelOpenOrders(options: {
symbol: string
useServerTime?: boolean
}): Promise<CancelOrderResult[]>
getOrder(options: GetOrderOptions): Promise<QueryOrderResult>
getOrderOco(options: GetOrderOcoOptions): Promise<QueryOrderOcoResult>
cancelOrder(options: CancelOrderOptions): Promise<CancelOrderResult>
cancelOrderOco(options: CancelOrderOcoOptions): Promise<CancelOrderOcoResult>
cancelOpenOrders(options: cancelOpenOrdersOptions): Promise<CancelOrderResult[]>
openOrders(options: { symbol?: string; recvWindow?: number; useServerTime?: boolean }): Promise<QueryOrderResult[]>

@@ -331,0 +333,0 @@ allOrders(options: {

{
"name": "binance-api-node",
"version": "0.11.9",
"version": "0.11.10",
"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