ccxws
Version:
Websocket client for 37 cryptocurrency exchanges
20 lines • 664 B
JavaScript
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Level3Snapshot = void 0;
class Level3Snapshot {
constructor(props) {
for (const key in props) {
this[key] = props[key];
}
}
/**
* @deprecated use Market object (second argument to each event) to determine exchange and trade pair
*/
get fullId() {
return `${this.exchange}:${this.base}/${this.quote}`;
}
}
exports.Level3Snapshot = Level3Snapshot;
//# sourceMappingURL=Level3Snapshot.js.map
;