Skip to content

Conversation

@Thykof
Copy link
Member

@Thykof Thykof commented Dec 16, 2025

No description provided.

@Thykof Thykof requested a review from Copilot December 16, 2025 19:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the XAU (Gold) market hours logic from the validator, eliminating the should_skip_xau function and its usage throughout the codebase. This simplifies the asset selection and simulation flow by removing market-specific scheduling constraints.

Key Changes:

  • Removed the should_skip_xau utility function that checked if XAU market was closed
  • Eliminated XAU-specific skip logic from asset selection and forward prompt methods
  • Removed associated test coverage for XAU market hours behavior

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
synth/utils/opening_hours.py Deleted entire file containing should_skip_xau function
neurons/validator.py Removed import and two call sites checking if XAU should be skipped
tests/test_validator.py Removed test case test_select_asset_gold that validated XAU skip behavior

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Thykof Thykof merged commit 9944e53 into main Dec 16, 2025
1 check passed
@Thykof Thykof deleted the remove-skip-gold branch December 16, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants