feat: add README and enhance scripts for data fetching and model training

- Created README.md to document project features, structure, and setup instructions.
- Updated fetch_history.py to include path adjustments for module imports.
- Enhanced train_model.py for parallel processing of dataset generation and added command-line argument for specifying worker count.

Made-with: Cursor
This commit is contained in:
21in7
2026-03-01 17:42:12 +09:00
parent 7e4e9315c2
commit b86c88a8d6
3 changed files with 259 additions and 42 deletions

View File

@@ -2,6 +2,10 @@
바이낸스 선물 REST API로 과거 캔들 데이터를 수집해 parquet으로 저장한다.
사용법: python scripts/fetch_history.py --symbol XRPUSDT --interval 1m --days 90
"""
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent))
import asyncio
import argparse
from datetime import datetime, timedelta