binance-api-node
Advanced tools
Comparing version 0.11.9 to 0.11.10
@@ -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", |
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
196773
3068