Skip to content

Ema slowdown hyperparam#1392

Merged
sam0x17 merged 5 commits intodevnet-readyfrom
feat/ema-slowdown-hyperparam
Mar 11, 2025
Merged

Ema slowdown hyperparam#1392
sam0x17 merged 5 commits intodevnet-readyfrom
feat/ema-slowdown-hyperparam

Conversation

@gztensor
Copy link
Contributor

Description

This PR introduces the EMA price halving hyperparameter. The meaning of this parameter can be best explained under the assumption of a constant price and SubnetMovingAlpha == 0.5: It is how many blocks it will take in order for the distance between current EMA of price and current price to shorten by half.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Other (please describe):

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have run cargo fmt and cargo clippy to ensure my code is formatted and linted correctly
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@gztensor gztensor requested review from camfairchild and sam0x17 and removed request for camfairchild March 11, 2025 15:03
sam0x17
sam0x17 previously approved these changes Mar 11, 2025
Co-authored-by: Cameron Fairchild <cameron@opentensor.ai>
@sam0x17 sam0x17 added the skip-cargo-audit This PR fails cargo audit but needs to be merged anyway label Mar 11, 2025
@sam0x17 sam0x17 merged commit f6e6ee4 into devnet-ready Mar 11, 2025
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-cargo-audit This PR fails cargo audit but needs to be merged anyway

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants