Skip to content

Commit 8a2ab29

Browse files
authored
Update EDGE_CASES.md
1 parent c674a42 commit 8a2ab29

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

docs/EDGE_CASES.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -28,38 +28,6 @@ def get_daily_history(
2828

2929
---
3030

31-
## 2. Single Data Source (No Symbol Mapping)
32-
33-
### Status: ✅ Implemented
34-
35-
By using CryptoCompare as the single data source for both coin discovery and historical data:
36-
37-
- **No symbol mapping required** - we use CryptoCompare symbols throughout
38-
- **No validation needed** - data comes from same source
39-
- **Simpler architecture** - fewer moving parts
40-
41-
### Implementation
42-
43-
```python
44-
# src/api/cryptocompare.py
45-
46-
def get_top_coins_by_market_cap(self, n: int = 300) -> list[Coin]:
47-
"""
48-
Get top N coins by market capitalization.
49-
Returns Coin objects with symbol, name, market_cap, price, volume.
50-
"""
51-
...
52-
53-
def get_full_daily_history(self, symbol: str, ...) -> pd.DataFrame:
54-
"""
55-
Use the same symbol from get_top_coins_by_market_cap directly.
56-
No mapping needed!
57-
"""
58-
...
59-
```
60-
61-
---
62-
6331
## 3. Incremental Data Fetching
6432

6533
### Status: ✅ Implemented

0 commit comments

Comments
 (0)