Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/daily_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,28 @@ jobs:
MLFLOW_TRACKING_USERNAME: "SORADATA"
MLFLOW_TRACKING_PASSWORD: ${{ secrets.HF_TOKEN }}

- name: 📊 Detect processed markets
if: always()
id: markets
run: |
MARKETS=$(python -c "
import json, glob
names = []
for f in sorted(glob.glob('config/markets/*.json')):
try:
with open(f) as fh:
names.append(json.load(fh).get('market_name', 'UNKNOWN'))
except Exception:
pass
print(' & '.join(names))
")
echo "list=$MARKETS" >> "$GITHUB_OUTPUT"

- name: 📋 Generate job summary
if: always()
run: |
echo "## AlphaEdge Daily Summary" >> $GITHUB_STEP_SUMMARY
echo "- **Status**: ${{ job.status }}" >> $GITHUB_STEP_SUMMARY
echo "- **Run date**: $(date +'%Y-%m-%d %H:%M %Z')" >> $GITHUB_STEP_SUMMARY
echo "- **Market**: CAC40 & US_TECH" >> $GITHUB_STEP_SUMMARY
# Ajouter un lien vers le rapport si tu génères un artifact
echo "- **Market**: ${{ steps.markets.outputs.list }}" >> $GITHUB_STEP_SUMMARY
echo "Check the logs above for detailed performance metrics." >> $GITHUB_STEP_SUMMARY
Loading
Loading