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.6 to 0.11.7

71

index.d.ts

@@ -279,4 +279,4 @@ // tslint:disable:interface-name

exchangeInfo(): Promise<ExchangeInfo>
order(options: NewOrder): Promise<Order>
orderTest(options: NewOrder): Promise<Order>
order(options: NewOrderSpot): Promise<Order>
orderTest(options: NewOrderSpot): Promise<Order>
orderOco(options: NewOcoOrder): Promise<OcoOrder>

@@ -458,3 +458,3 @@ ping(): Promise<boolean>

}): Promise<FuturesIncomeResult[]>
marginOrder(options: NewOrder): Promise<Order>
marginOrder(options: NewOrderMargin): Promise<Order>
marginGetOrder(options: {

@@ -751,23 +751,2 @@ symbol: string

export interface NewOrder {
icebergQty?: string
newClientOrderId?: string
price?: string
quantity?: string
recvWindow?: number
side: OrderSide
stopPrice?: string
symbol: string
timeInForce?: TimeInForce
useServerTime?: boolean
type: OrderType
newOrderRespType?: NewOrderRespType
isIsolated?: string | boolean
quoteOrderQty?: string
sideEffectType?: SideEffectType
reduceOnly?: string
activationPrice?: string
callbackRate?: string
}
export interface NewFuturesOrder {

@@ -811,2 +790,46 @@ symbol: string

export interface NewOrderParent {
symbol: string
side: OrderSide
type: OrderType
newClientOrderId?: string
newOrderRespType?: NewOrderRespType
recvWindow?: number
}
export interface NewOrderMarketBase extends NewOrderParent {
type: OrderType.MARKET
quantity: string
}
export interface NewOrderMarketQuote extends NewOrderParent {
type: OrderType.MARKET
quoteOrderQty: string
}
export interface NewOrderLimit extends NewOrderParent {
type: OrderType.LIMIT
quantity: string
price: string
icebergQty?: string
}
export interface NewOrderSL extends NewOrderParent {
type: OrderType.STOP_LOSS_LIMIT | OrderType.TAKE_PROFIT_LIMIT
quantity: string
price: string
stopPrice: string
icebertQty?: string
}
export interface NewMarginOrderParent {
isIsolated?: 'TRUE' | 'FALSE' | boolean
sideEffectType?: SideEffectType
timeInForce?: TimeInForce
}
export type NewOrderSpot = NewOrderMarketBase | NewOrderMarketQuote | NewOrderLimit | NewOrderSL
export type NewOrderMargin = NewOrderSpot & NewMarginOrderParent
export enum SideEffectType {

@@ -813,0 +836,0 @@ NO_SIDE_EFFECT = 'NO_SIDE_EFFECT',

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