Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: deal cancelation
Browse files Browse the repository at this point in the history
  • Loading branch information
mayuran-deriv committed Mar 1, 2024
1 parent 2171e8c commit bcc64fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
5 changes: 1 addition & 4 deletions crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@
"343897818": "Forex Topics",
"346997549": "When you purchase a 'Close-Low' contract, your payout will be equal to the difference between the exit price and the lowest price over the duration of the contract multiplied by the multiplier.",
"348548765": "4. You can trade via the desktop app, web terminal, or mobile app.",
"349994198": "Multipliers on Crash and Boom",
"350443733": "Fedex",
"351335938": "ABOUT US",
"351897258": "Check Icon",
Expand Down Expand Up @@ -486,7 +485,6 @@
"463393690": "Coming soon",
"465003790": "DMT5 login",
"465545226": "A chart illustrating a turbos long contract payout",
"465914194": "The deal cancellation feature enables you to back out of a trade within a set period if the asset's price goes against what you expected. In this way, you can cancel any losing trade and get your stake back. We charge a small fee for this. This is currently exclusive to volatility indices.",
"467389382": "background svg",
"469222213": "Click on the <0>My Statistics</0> tab and select your signal provider.",
"469552854": "Want to know more about CFD trading conditions for the instruments we offer?",
Expand Down Expand Up @@ -933,7 +931,6 @@
"877897643": "Advantages of trading forex on DTrader",
"878441070": "Can I change the currency of my Deriv MT5 account?",
"878676836": "Key information documents",
"878897196": "Deal cancellation isn’t available for Crash and Boom indices. The stop-out feature will close your contract automatically when your loss reaches or exceeds a percentage of your stake. The stop-out percentage is shown below your stake on Deriv Trader and varies according to your chosen multiplier.",
"878922748": "What is the CFDs account?",
"880363071": "Deriv Master Affiliate Programme",
"881413021": "Why trade commodities on Deriv",
Expand Down Expand Up @@ -1335,6 +1332,7 @@
"1268136992": "Go to <0>Deriv P2P</0> > <1>Buy/Sell</1>.",
"1268305678": "|(221.5961",
"1269265960": "The Deriv Affiliate Programme is an exciting partnership programme where you can benefit by bringing in new clients to trade on Deriv platforms.",
"1271159276": "With or without a stop loss, if the market moves against your prediction causing your losses to reach the stop out price, your position will automatically close. The stop out price is the price where your net loss equals your initial stake. This feature ensures your contract is closed automatically once your loss meets or exceeds a certain percentage of your stake.  On Deriv Trader, directly beneath your stake amount, you can see the exact stop out percentage, which adjusts based on the multiplier you select.",
"1272012156": "GBP/CHF",
"1272902088": "100,000 ) }",
"1274309337": "DOG/USD",
Expand Down Expand Up @@ -4462,7 +4460,6 @@
"-488118247": "8. Purchase your contract",
"-1061315047": "Start trading multipliers on Deriv",
"-1088149692": "This is to protect you from losing your money when using deal cancellation. With deal cancellation, you are allowed to reclaim your full stake amount if you cancel your contract within an hour of opening the position. Stop loss, on the other hand, will close your contract at a loss if the market moves against your position. However, once the deal cancellation expires, you can set a stop loss level on the open contract.",
"-1643713470": "With or without a stop loss in place, we will close your position if the market moves against your prediction and your loss reaches the stop out price. The stop out price is the price at which your net loss is equal to your stake.",
"-976479290": "You can’t use stop loss and deal cancellation features at the same time.",
"-993588400": "You can’t use take profit and deal cancellation features at the same time.",
"-715015407": "Deriv multipliers combines the upside of leverage trading with the limited risk of options. This means that when the market moves in your favour, you'll multiply your potential profits. If the market moves against your prediction, your losses are limited only to your stake.",
Expand Down
12 changes: 2 additions & 10 deletions src/pages/trade-types/multiplier/_things-in-mind.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import useRegion from 'components/hooks/use-region'

const ThingsInMind = () => {
const { is_eu } = useRegion()
const deal_cancellation_text = is_eu
? "_t_The deal cancellation feature enables you to back out of a trade within a set period if the asset's price goes against what you expected. In this way, you can cancel any losing trade and get your stake back. We charge a small fee for this. This is currently exclusive to volatility indices._t_"
: '_t_Deal cancellation isn’t available for Crash and Boom indices. The stop-out feature will close your contract automatically when your loss reaches or exceeds a percentage of your stake. The stop-out percentage is shown below your stake on Deriv Trader and varies according to your chosen multiplier._t_'

const protect_text = is_eu
? '_t_This is to protect you from losing your money when using deal cancellation. With deal cancellation, you are allowed to reclaim your full stake amount (minus a small fee) if you cancel your contract within an hour of opening the position. Stop loss, on the other hand, will close your contract at a loss if the market moves against your position. However, once the deal cancellation expires, you can set a stop loss level on the open contract._t_'
: '_t_This is to protect you from losing your money when using deal cancellation. With deal cancellation, you are allowed to reclaim your full stake amount if you cancel your contract within an hour of opening the position. Stop loss, on the other hand, will close your contract at a loss if the market moves against your position. However, once the deal cancellation expires, you can set a stop loss level on the open contract._t_'
Expand All @@ -24,13 +22,7 @@ const ThingsInMind = () => {
<Localize translate_text="_t_Stop out_t_" />
</Header>
<Text mb="3.2rem">
<Localize translate_text="_t_With or without a stop loss in place, we will close your position if the market moves against your prediction and your loss reaches the stop out price. The stop out price is the price at which your net loss is equal to your stake._t_" />
</Text>
<Header as="h4" mb="0.8rem" type="sub-section-title">
<Localize translate_text="_t_Multipliers on Crash and Boom_t_" />
</Header>
<Text mb="3.2rem">
<Localize translate_text={deal_cancellation_text} />
<Localize translate_text="_t_With or without a stop loss, if the market moves against your prediction causing your losses to reach the stop out price, your position will automatically close. The stop out price is the price where your net loss equals your initial stake. This feature ensures your contract is closed automatically once your loss meets or exceeds a certain percentage of your stake.  On Deriv Trader, directly beneath your stake amount, you can see the exact stop out percentage, which adjusts based on the multiplier you select._t_" />
</Text>
<Header as="h4" type="sub-section-title" mb="0.8rem">
<Localize translate_text="_t_You can’t use stop loss and deal cancellation features at the same time._t_" />
Expand Down

0 comments on commit bcc64fd

Please sign in to comment.