@exchanges/binance
Version:
Exchange provider for Binance API
25 lines (24 loc) • 699 B
TypeScript
import { BinanceSignedClient } from '../../../clients';
export interface AccountTradeListPayload {
symbol: string;
startTime?: Date | number;
endTime?: Date | number;
fromId?: number;
limit?: number;
}
export interface AccountTradeListResponse {
symbol: string;
id: number;
orderId: number;
orderListId: number;
price: number;
quantity: number;
quoteQuantity: number;
commission: number;
commissionAsset: string;
time: Date;
isBuyer: boolean;
isMaker: boolean;
isBestMatch: boolean;
}
export declare function accountTradeList(client: BinanceSignedClient, payload: AccountTradeListPayload): Promise<AccountTradeListResponse[]>;