Select a document from the sidebar to view
PQAP system documentation and architecture
Select a document from the sidebar to view
Market data source
Every 5 minutes
Price history + trades
Signal generation
XGBoost (72% acc)
Paper trading
You are here!
Alerts & updates
Each strategy looks for different market inefficiencies:
Finds when YES + NO prices don't add to 100%. Risk-free profit.
Buys when price drops too far from average, sells when it recovers.
Places bid/ask orders to capture the spread.
Exploits predictable price patterns at certain hours.
Uses machine learning to predict 6-hour price direction.
Finds underpriced outcomes based on implied probability.
| Database | Purpose | Location |
|---|---|---|
| market_history.db | Price snapshots every 5 minutes (8.2 MB) | EC2 (primary) |
| pqap_prod.db | Trades, positions, P&L history | EC2 (primary) |
| paper_trading_state.json | Current portfolio state | EC2 (primary) |
| Component | Details |
|---|---|
| Dashboard URL | https://pqap.tailwindtech.ai |
| Server | AWS EC2 (us-east-1) |
| SSL | Let's Encrypt via Traefik |
| Mode | Paper Trading (simulated) |
1. Data Collection: Every 5 minutes, we fetch prices from Polymarket for 50 markets and save them to our database.
2. Analysis: Our strategies analyze this data looking for patterns - like prices that moved too far from normal, or markets where the math doesn't add up.
3. Signals: When a strategy finds an opportunity, it generates a "signal" - a recommendation to buy or sell.
4. Execution: The execution engine takes these signals and simulates trades (paper trading). Eventually, this will place real orders.
5. Monitoring: This dashboard shows you what's happening. Telegram sends alerts for important events.