Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Rupato/BOT-2621/fix: added default values to currency block #216

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

rupato-deriv
Copy link
Contributor

This pull request includes changes to the trade_definition_tradeoptions block in the trade_definition_tradeoptions.js file. The changes primarily focus on adding restrictions for certain trade types and ensuring that the currency block is properly updated with the minimum stake value.

Key changes include:

  • Added a check to restrict certain trade types (multiplier and accumulator) from proceeding with the stake and payout limits logic.
  • Introduced logic to ensure that the CURRENCY_CHILD_BLOCK is updated with the minimum stake value when relevant conditions are met.

Copy link

Preview Link: https://Rupato-BOT-2621-Add1.bot-65f.pages.dev

Name Result
Build status Completed ✅
Preview URL Visit Preview
Action URL Visit Action

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants