ccxws
Version:
Websocket client for 37 cryptocurrency exchanges
17 lines (15 loc) • 383 B
text/typescript
/**
* Level 3 order book point
*/
export class L3Point {
public orderId: string;
public price: number;
public size: number;
public timestamp: number;
constructor(orderId: string, price: number, size: number, timestamp?: number) {
this.orderId = orderId;
this.price = price;
this.size = size;
this.timestamp = timestamp;
}
}