MCP Expert Server
- src
- types
export interface BinanceCredentials {
apiKey: string;
apiSecret: string;
}
export interface SpotOrder {
symbol: string;
side: 'BUY' | 'SELL';
type: 'LIMIT' | 'MARKET';
quantity?: string;
price?: string;
timeInForce?: 'GTC' | 'IOC' | 'FOK';
}
export interface OrderResponse {
symbol: string;
orderId: number;
orderListId: number;
clientOrderId: string;
transactTime: number;
price: string;
origQty: string;
executedQty: string;
status: string;
timeInForce: string;
type: string;
side: string;
}
export interface AccountBalance {
asset: string;
free: string;
locked: string;
}