UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

13 lines (12 loc) 462 B
import { BinanceSignedClient } from '../../../clients'; import { spot, XOR } from '../../../info'; export declare type CancelOrderPayload = { symbol: string; newClientOrderId?: string; } & XOR<{ orderId: number; }, { origClientOrderId: string; }>; export declare type CancelOrderResponse = spot.OrderResultResponse; export declare function cancelOrder(client: BinanceSignedClient, payload: CancelOrderPayload): Promise<spot.OrderResultResponse>;