Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Mahdiyeh/ remove_cryptocurrency_market #6570

Merged

Conversation

mahdiyeh-deriv
Copy link
Contributor

No description provided.

akmal-deriv
akmal-deriv previously approved these changes Jun 3, 2021
Copy link
Contributor

@matin-deriv matin-deriv left a comment

Choose a reason for hiding this comment

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

The reason behind disabling cryptocurrencies is that Crypto only supports Multipliers in contracts_for, it is the same case for Jump indices. Since we don't have Multipliers in platforms other than Deriv-app, we are trying to hide based on the markets, but it is best to filter out based on shortcodes using regex to make sure it will handle other cases and avoid double work in future.
So I suggest using (?:JD[0-9])|(?:cry_[A-Z])\ to filter out shortcodes. JD for Jump indices and cry for Cryptos.
Feel free to have a look into Zaki's changes in this PR https://redmine.deriv.cloud/issues/30826

@mahdiyeh-deriv mahdiyeh-deriv force-pushed the remove_ctyptocurrency_market branch 2 times, most recently from 7d03e21 to c98072d Compare June 7, 2021 11:10
@mahdiyeh-deriv mahdiyeh-deriv force-pushed the remove_ctyptocurrency_market branch from 7aca9bd to 1fcb150 Compare June 7, 2021 11:22
@mamali-fs mamali-fs merged commit ca1dab1 into binary-com:master Jun 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants