Skip to content

I8n improvements#1343

Open
maker95 wants to merge 2 commits intoNoFxAiOS:devfrom
maker95:i8n-improvements
Open

I8n improvements#1343
maker95 wants to merge 2 commits intoNoFxAiOS:devfrom
maker95:i8n-improvements

Conversation

@maker95
Copy link

@maker95 maker95 commented Jan 17, 2026

Pull Request

📋 Choose Specialized Template

We now offer specialized templates for different types of PRs to help you fill out the information faster:

How to use?

  • When creating a PR, add ?template=backend.md or other template name to the URL
  • Or simply copy and paste the content from the corresponding template

💡 Tip: Recommended PR title format type(scope): description
Example: feat(trader): add new strategy | fix(api): resolve auth issue


📝 Description


🎯 Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📝 Documentation update
  • 🎨 Code style update
  • ♻️ Refactoring
  • ⚡ Performance improvement
  • ✅ Test update
  • 🔧 Build/config change
  • 🔒 Security fix

🔗 Related Issues

  • Closes #
  • Related to #

📋 Changes Made


🧪 Testing

  • Tested locally
  • Tests pass
  • Verified no existing functionality broke

✅ Checklist

Code Quality

  • Code follows project style
  • Self-review completed
  • Comments added for complex logic

Documentation

  • Updated relevant documentation

Git

  • Commits follow conventional format
  • Rebased on latest dev branch
  • No merge conflicts

📚 Additional Notes


By submitting this PR, I confirm:


🌟 Thank you for your contribution!

…tegy studio - Hyperliquid Focused

- Enhanced RiskControlEditor to support trailing stop configuration with various parameters including activation percentage, trail distance, and check interval.
- Updated StrategyStudioPage to normalize trailing stop settings when fetching strategies.
- Introduced display logic for trailing stop status in TraderDashboardPage.
- Added TrailingStatus and TrailingStopConfig types to manage trailing stop configurations.
- Implemented tests for trailing stop configuration defaults and unmarshalling behavior.
- Created HyperliquidPriceStream for managing websocket subscriptions for price updates.

Important Notes: This feature replaces the Drawdown Monitor for a more sophisticated and controllable trailing stop feature that can be configured in the Strategy Editor (risk controls).

For now, the performant WebSocket prices monitor for trailing-enabled positions is only implemented in the Hyperliquid exchange, followup commits will integrate websocket position status monitor to more exchanges so this feature enables sub-second position monitoring for the trailing stop to react quickly while other exchanges still rely on REST API so a > 1 second Check Interval is advisable to avoid flooding the REST API of the other exchanges that are not WebSocket enabled yet.

For the exchanges that are not Hyperliquid, a Check Interval of 5000 ms ( 5 seconds) should work just fine if you expect like 4-5 positions open at the same time, for less positions you may try to lower the check interval for better reactiveness. Ensure to check logs to confirm expected behavior.
@maker95
Copy link
Author

maker95 commented Jan 17, 2026

Fix some UI copy in English language and adds Spanish language support. This pr is focused on improved internationalization consistency and Spanish language addition.

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.

1 participant