@exchanges/binance
Version:
Exchange provider for Binance API
13 lines (12 loc) • 464 B
TypeScript
import { BinanceSignedClient } from '../../../clients';
import { spot, XOR } from '../../../info';
export declare type CancelOCOPayload = {
symbol: string;
newClientOrderId?: string;
} & XOR<{
orderListId: number;
}, {
listClientOrderId: string;
}>;
export declare type CancelOCOResponse = spot.OrderOCOResultResponse;
export declare function cancelOCO(client: BinanceSignedClient, payload: CancelOCOPayload): Promise<spot.OrderOCOResultResponse>;