UNPKG

crypto-client

Version:

An unified client for all cryptocurrency exchanges.

37 lines (36 loc) 705 B
export interface OrderMsg { exchange: string; pair: string; price: string; quantity: string; type: boolean; } export interface NewdexOrder { type: string; symbol: string; price: string; channel?: string; ref?: string; } export interface NewdexOrderResponse { pair_id: number; order_id: number; owner: string; type: string; pair_symbol: string; price: string; quantity: string; amount: string; condition_price: string; is_plan: boolean; channel?: string; ref?: string; base_symbol: { contract: string; sym: string; }; quote_symbol: { contract: string; sym: string; }; }