UNPKG

pmarket-cli

Version:
16 lines 447 B
export class OrderBookStrategy { polymarketService; constructor(polymarketService) { this.polymarketService = polymarketService; } async execute(options) { try { const orderBook = await this.polymarketService.getOrderBook(options.orderBook); console.log(orderBook); } catch (e) { console.error(e); } } } //# sourceMappingURL=order-book-strategy.js.map