docs: enhance READMEs with price source, strategy tips, project architecture, and data file descriptions.

This commit is contained in:
2569718930@qq.com
2026-02-07 00:48:16 +08:00
parent 40dc5062dd
commit 592db31ee7
3 changed files with 80 additions and 2 deletions
+20
View File
@@ -53,9 +53,13 @@ The system automatically decides the position size based on **Open-Meteo Weather
### 1. 📂 City Alert Summaries (Push)
- **Optimization**: All anomalies for the same city are merged into a **single report** per scan cycle to prevent spamming.
- **Price Source**: Uses real **Ask price** (actual executable price), not mid price
- **Push Format**:
```
⚡ 40-41°F (2026-02-06): Buy No 87¢ | Prediction:38°F [🛒 $10.0 🔥High Conf]
💡 Strategy Tips:
• Predicted temp 38.0°C falls within 40-41°F range, market aligns with model
```
### 2. ⚡ Price Alerts (Auto Paper Trade)
@@ -142,6 +146,22 @@ HTTPS_PROXY=http://127.0.0.1:7890
HTTP_PROXY=http://127.0.0.1:7890
```
## 🏗️ Project Architecture
This project is built entirely on the official **py-clob-client**:
- All interactions with Polymarket (market data, orderbook, trading) use `py-clob-client`
- Core API wrapper: `src/data_collection/polymarket_api.py`
## 📂 Data Files
| File | Description |
|------|-------------|
| `data/paper_positions.json` | Paper trading positions, balance, trade history |
| `data/pushed_signals.json` | Pushed signals record (anti-spam) |
| `data/active_signals.json` | Currently active trading signals |
| `data/all_markets.json` | Full market cache |
| `data/price_history.json` | Price history for trend calculation |
---
## 📋 Core Features