yurycooliq / polymarket-assignment Star 0 Code Issues Pull requests Standalone TypeScript engine that simulates position protection (stable reference price, open PnL, take-profit / stop-loss rules, partial exits) for Polymarket-style prediction-market positions. Offline replay + optional read-only live integration. typescript prediction-market stop-loss take-profit polymarket reference-price position-protection Updated Jun 9, 2026 TypeScript