Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Mitra/ Update cfd retail percentage #2502

Merged
4 commits merged into from
Jan 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/common/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,4 @@ export const twitter_non_eu_url = 'https://twitter.com/derivdotcom/'
export const twitter_uk_url = 'https://www.twitter.com/deriv_uk/'
export const twitter_eu_url = 'https://www.twitter.com/deriv_eu/'
export const cms_assets_end_point = 'https://cms.deriv.cloud/assets/'
export const loss_percent = 62
5 changes: 3 additions & 2 deletions src/components/layout/footer/disclaimer-academy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
} from './common/style.js'
import { Show } from 'components/containers'
import { Localize, localize } from 'components/localization'
import { loss_percent } from 'common/constants.js'

const DisclaimerSectionAcademy = () => {
return (
Expand Down Expand Up @@ -118,7 +119,7 @@ const DisclaimerSectionAcademy = () => {
<DisclaimerParagraph>
<Localize
translate_text="CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. {{loss_percent}}% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money."
values={{ loss_percent: 66 }}
values={{ loss_percent }}
/>
</DisclaimerParagraph>
<DisclaimerParagraph>
Expand All @@ -142,7 +143,7 @@ const DisclaimerSectionAcademy = () => {
<DisclaimerParagraph>
<Localize
translate_text="CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. {{loss_percent}}% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money."
values={{ loss_percent: 66 }}
values={{ loss_percent }}
/>
</DisclaimerParagraph>
<DisclaimerParagraph>
Expand Down
5 changes: 3 additions & 2 deletions src/components/layout/footer/disclaimer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
} from './common/style.js'
import { Show } from 'components/containers'
import { Localize, localize } from 'components/localization'
import { loss_percent } from 'common/constants.js'

const DisclaimerSection = () => {
return (
Expand Down Expand Up @@ -113,7 +114,7 @@ const DisclaimerSection = () => {
<DisclaimerParagraph>
<Localize
translate_text="CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. {{loss_percent}}% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money."
values={{ loss_percent: 66 }}
values={{ loss_percent }}
/>
</DisclaimerParagraph>
<DisclaimerParagraph>
Expand All @@ -137,7 +138,7 @@ const DisclaimerSection = () => {
<DisclaimerParagraph>
<Localize
translate_text="CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. {{loss_percent}}% of retail investor accounts lose money when trading CFDs with this provider. You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money."
values={{ loss_percent: 66 }}
values={{ loss_percent }}
/>
</DisclaimerParagraph>
<DisclaimerParagraph>
Expand Down
3 changes: 2 additions & 1 deletion src/components/layout/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { Localize } from 'components/localization'
import { Text } from 'components/elements'
import device from 'themes/device'
import { Container } from 'components/containers'
import { loss_percent } from 'common/constants'

const Footer = Loadable(() => import('./footer'))
const BeSquareFooter = Loadable(() => import('./besquare/footer'))
Expand Down Expand Up @@ -93,7 +94,7 @@ export const CFDWarning = ({ is_ppc }) => {
<CFDText>
<Localize
translate_text="CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. <0>{{loss_percent}}% of retail investor accounts lose money when trading CFDs with this provider.</0> You should consider whether you understand how CFDs work and whether you can afford to take the high risk of losing your money."
values={{ loss_percent: 66 }}
values={{ loss_percent }}
components={[<strong key={0} />]}
/>
</CFDText>
Expand Down