mirror of
https://github.com/Xe138/AI-Trader.git
synced 2026-04-01 17:17:24 -04:00
feat: automate merged.jsonl creation during price fetching
Streamline the data preparation workflow by having get_daily_price.py automatically invoke merge_jsonl.py after fetching all stock prices. Changes: - Modified get_daily_price.py to call merge_jsonl.py automatically - Updated entrypoint.sh to remove redundant merge_jsonl.py call - Updated main.sh to remove redundant merge_jsonl.py call - Fixed import order for linting compliance Benefits: - Single command now handles both fetching and merging - Ensures merged.jsonl is always created after price updates - Simplifies Docker container startup process - Prevents missing merged.jsonl errors in production
This commit is contained in:
2
main.sh
2
main.sh
@@ -10,8 +10,8 @@ echo "🚀 Launching AI Trader Environment..."
|
||||
|
||||
echo "📊 Now getting and merging price data..."
|
||||
cd ./data
|
||||
# Note: get_daily_price.py now automatically calls merge_jsonl.py after fetching
|
||||
python get_daily_price.py
|
||||
python merge_jsonl.py
|
||||
cd ../
|
||||
|
||||
echo "🔧 Now starting MCP services..."
|
||||
|
||||
Reference in New Issue
Block a user