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

Commit

Permalink
Mitra/Update the faq for dbot (#5813)
Browse files Browse the repository at this point in the history
* feat: 💬 update the faq for dbot

* feat: 💚 update message json

* text: 💬 add space

* auto-pull-translation

* translation: 📚 sync translations from crowdin feature branch

* auto-pull-translation

* translation: 📚 sync translations from crowdin feature branch

---------

Co-authored-by: DerivFE <[email protected]>
  • Loading branch information
mitra-deriv and DerivFE authored Nov 7, 2023
1 parent 9d68766 commit ff2edcc
Show file tree
Hide file tree
Showing 26 changed files with 197 additions and 262 deletions.
19 changes: 8 additions & 11 deletions crowdin/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@
"552929836": "How does the Reset Call/Reset Put contract type differ from the Rise/Fall contract type?",
"554014185": "Online trading is exciting, but it can be addictive. Deriv.com provides you with the opportunity to either self-exclude or set limits on your trading activities on this website.",
"554620691": "Please enter a valid number",
"554672635": "3. Use a logic block to check if <0>Total profit/loss</0> is more than the <0>Stop loss threshold</0> amount. You can find the <0>Total profit/loss</0> variable under <0>Analysis > Stats</0> on the <0>Blocks menu</0> on the left. Your bot will continue to purchase new contracts until the <0>Total profit/loss</0> amount exceeds the <0>Stop loss threshold</0> amount.",
"557095822": "Click the <0>Renew</0> button to renew the service or the <0>Unsubscribe</0> button to cancel the subscription.",
"558735677": "Can I open multiple Asians contracts simultaneously?",
"560142031": "Available 24/7, our synthetic indices emulate price movements of real-world markets with varying levels of volatility. As they aren't based on actual underlying assets, they are unaffected by real-world market events. The pricing of our synthetic indices is backed by algorithms that are audited for fairness by an independent third party. Read <0>this article</0> to learn more about trading synthetic indices on Deriv.",
Expand Down Expand Up @@ -928,6 +929,7 @@
"904780038": "Set the restart conditions",
"907733837": "Predict whether the market price will touch or not touch the chosen barrier (target) during the contract period.",
"909083576": "404 - Page not found | Deriv",
"910572263": "1. Create the following variables and place them under <0>Run once at start</0>:",
"912406629": "Follow these steps:",
"913276286": "1. Go to your <0>Deriv MT5 dashboard</0>.",
"913548355": "Connect with fellow traders and transfer money in minutes.",
Expand Down Expand Up @@ -1045,7 +1047,6 @@
"1033311672": "Mobile number*",
"1033547927": "Use a trading bot for automating your trading strategy. A trading bot is an automated computer program that purchases trade contracts for you while following a specific set of instructions that you provide. Build your trading bot for free on DBot or Binary Bot; no coding is needed. You’ll also find 3 free pre-built strategies on DBot that you can customise to your needs.",
"1033805779": "All Deriv partnership programmes are free to join. There are absolutely no charges or hidden fees to worry about.",
"1033824796": "currentStake",
"1034116598": "You can trade turbo options on the Deriv Trader trading platform, on volatility indices under Deriv’s derived indices.",
"1034875052": "Excellent and reliable services; tested and trusted!",
"1035890756": "Add a Deriv real account.",
Expand Down Expand Up @@ -1178,7 +1179,6 @@
"1175717636": "What kind of reports can I generate from my affiliate account?",
"1177080017": "DBot | Trading robot | Deriv",
"1178409440": "The time period during which an asset or market is available for trading.",
"1179169693": "currentPL",
"1179997681": "When making a complaint, make sure to include your full name, account number, a clear description of the problem, important dates, and any proof or documents that support your complaint. The more specific and detailed your complaint, the better our team can help you.",
"1181506313": "Deriv P2P is a great app, I love it!",
"1181734082": "accumulators trade type",
Expand All @@ -1203,6 +1203,7 @@
"1198781410": "We’ve designed a customer-centric and intuitive trading experience for Deriv that’s optimised to convert visitors into clients. We’ll also provide you with the tools and creative materials you need to drive traffic to Deriv.",
"1199693297": "20 - 800",
"1203468323": "- Set other optional contract parameters.",
"1203741029": "Use this variable to store your loss limit. You can assign any amount you want. Your bot will stop when your losses hits or exceeds this amount.",
"1206098262": "zero commission",
"1206384192": "VTI.US",
"1207548197": "Payouts for all potential outcomes are calculated based strictly on the probabilities of each occurring at the time the trade is placed.",
Expand Down Expand Up @@ -1796,7 +1797,6 @@
"1765454171": "Commission rate",
"1767992960": "Sounds great. Let's get started.",
"1768089459": "Paris | Our office – France | Deriv",
"1768769027": "Use this variable to store the cumulative profit or loss while your bot is running. Set the initial value to <0>0</0>.",
"1769159485": "Yes, you can open multiple Reset Call/Reset Put contracts with different durations and different stake amounts or desired potential payouts at the same time.",
"1770479100": "If you select ‘Higher’, you win the payout if the exit spot is strictly higher than the barrier.",
"1771323174": "rise fall",
Expand Down Expand Up @@ -1872,7 +1872,6 @@
"1835104690": "For financial accounts, the stop loss and/or take profit pip value is in the quote currency for forex pairs.",
"1836702894": "<0>2</0>",
"1838639373": "Resources",
"1841197848": "tradeAgain",
"1841788070": "Palladium/USD",
"1841852640": "Deriv partnership programmes",
"1842268335": "No results for <0>'{{search_value}}'</0>",
Expand Down Expand Up @@ -3429,14 +3428,12 @@
"-1973882807": "Frequently asked questions - Affiliate programme",
"-1602949376": "Help centre | Frequently asked questions | Complaints procedure | Deriv",
"-1628704443": "Have a question?",
"-274881601": "Use this variable to store the stake amount used in the last contract. You can assign any amount you want, but it must be a positive number.",
"-985220032": "maximumLoss",
"-496293327": "Use this variable to store your maximum loss limit. You can assign any amount you want, but it must be a positive number.",
"-1117510403": "Use this variable to stop trading when your loss limit is reached. Set the initial value to <0>true</0>.",
"-25069177": "Stop loss threshold",
"-2082644096": "Current stake",
"-991582247": "Use this variable to store the stake amount. You can assign any amount you want, but it must be a positive number.",
"-1142295124": "There are several ways to control your losses with Deriv Bot. Here’s a simple example of how you can implement loss control in your strategy:",
"-986689483": "1. Create the following variables:",
"-1926839667": "2. Use a logic block to check if <0>currentPL</0> exceeds <0>maximumLoss</0>. If it does, set <0>tradeAgain</0> to false to prevent the bot from running another cycle.",
"-484325406": "3. Update <0>currentPL</0> with the profit from the last contract. If the last contract was lost, the value of <0>currentPL</0> will be negative.",
"-468926787": "This is how your trade parameters, variables, and trade options should look like:",
"-1048974831": "2. Set the <0>Purchase conditions</0>. In this example, your bot will purchase a <0>Rise</0> contract when it starts and after a contract closes.",
"-2125441053": "With basket indices, you can trade your favourite asset against a basket of five major global currencies, each weighted by 20%.",
"-2062968282": "Didn’t find your answer? We can help.",
"-978362988": "Chat",
Expand Down
Binary file removed src/images/common/help-centre/dbot-logic-block.png
Binary file not shown.
Binary file modified src/images/common/help-centre/dbot-losses.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified src/images/common/help-centre/dbot-variables.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/common/help-centre/restart-trading.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 16 additions & 18 deletions src/pages/help-centre/components/_control-losses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import styled from 'styled-components'
import ImageCard from './_image-card'
import { Header } from 'components/elements'
import { Localize } from 'components/localization'
import LogicBlockImage from 'images/common/help-centre/purchase-condition.png'
import LossesImage from 'images/common/help-centre/dbot-losses.png'
import UpdateCurrentPlImage from 'images/common/help-centre/restart-trading.png'
import VariablesImage from 'images/common/help-centre/dbot-variables.png'
import LogicBlockImage from 'images/common/help-centre/dbot-logic-block.png'
import UpdateCurrentPlImage from 'images/common/help-centre/dbot-update-currentPL.png'
import { TString } from 'types/generics'

const Table = styled.table`
Expand Down Expand Up @@ -36,20 +36,12 @@ const Td = styled.td`

const table_data: { th: TString; td: TString }[] = [
{
th: '_t_currentPL_t_',
td: '_t_Use this variable to store the cumulative profit or loss while your bot is running. Set the initial value to <0>0</0>._t_',
th: '_t_Stop loss threshold_t_',
td: '_t_Use this variable to store your loss limit. You can assign any amount you want. Your bot will stop when your losses hits or exceeds this amount._t_',
},
{
th: '_t_currentStake_t_',
td: '_t_Use this variable to store the stake amount used in the last contract. You can assign any amount you want, but it must be a positive number._t_',
},
{
th: '_t_maximumLoss_t_',
td: '_t_Use this variable to store your maximum loss limit. You can assign any amount you want, but it must be a positive number._t_',
},
{
th: '_t_tradeAgain_t_',
td: '_t_Use this variable to stop trading when your loss limit is reached. Set the initial value to <0>true</0>._t_',
th: '_t_Current stake_t_',
td: '_t_Use this variable to store the stake amount. You can assign any amount you want, but it must be a positive number._t_',
},
]

Expand All @@ -62,7 +54,10 @@ const ControlLosses = () => (
<ImageCard src={LossesImage} alt="Control loss" width="70rem" />

<Header size="16px" weight="normal" mt="2.3rem" mb="2.4rem">
<Localize translate_text="_t_1. Create the following variables:_t_" />
<Localize
translate_text="_t_1. Create the following variables and place them under <0>Run once at start</0>:_t_"
components={[<strong key={0} />]}
/>
</Header>

<Table>
Expand All @@ -73,18 +68,21 @@ const ControlLosses = () => (
<Localize translate_text={th} />
</Th>
<Td>
<Localize translate_text={td} components={[<strong key={0} />]} />
<Localize translate_text={td} />
</Td>
</Tr>
))}
</thead>
</Table>

<Header size="16px" weight="normal" mt="2.3rem" mb="2.6rem">
<Localize translate_text="_t_This is how your trade parameters, variables, and trade options should look like:_t_" />
</Header>
<ImageCard src={VariablesImage} alt="Variables" width="40rem" />

<Header size="16px" weight="normal" mt="2.3rem" mb="2.6rem">
<Localize
translate_text="_t_2. Use a logic block to check if <0>currentPL</0> exceeds <0>maximumLoss</0>. If it does, set <0>tradeAgain</0> to false to prevent the bot from running another cycle._t_"
translate_text="_t_2. Set the <0>Purchase conditions</0>. In this example, your bot will purchase a <0>Rise</0> contract when it starts and after a contract closes._t_"
components={[<strong key={0} />]}
/>
</Header>
Expand All @@ -93,7 +91,7 @@ const ControlLosses = () => (

<Header size="16px" weight="normal" mt="2.3rem" mb="2.6rem">
<Localize
translate_text="_t_3. Update <0>currentPL</0> with the profit from the last contract. If the last contract was lost, the value of <0>currentPL</0> will be negative._t_"
translate_text="_t_3. Use a logic block to check if <0>Total profit/loss</0> is more than the <0>Stop loss threshold</0> amount. You can find the <0>Total profit/loss</0> variable under <0>Analysis > Stats</0> on the <0>Blocks menu</0> on the left. Your bot will continue to purchase new contracts until the <0>Total profit/loss</0> amount exceeds the <0>Stop loss threshold</0> amount._t_"
components={[<strong key={0} />]}
/>
</Header>
Expand Down
2 changes: 1 addition & 1 deletion src/translations/ach.json
Original file line number Diff line number Diff line change
Expand Up @@ -4504,4 +4504,4 @@
"-1165835520": "crwdns3487688:0crwdne3487688:0",
"-651384976": "crwdns3487690:0crwdne3487690:0",
"-1033881248": "crwdns3487692:0crwdne3487692:0"
}
}
Loading

1 comment on commit ff2edcc

@vercel
Copy link

@vercel vercel bot commented on ff2edcc Nov 7, 2023

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

deriv-com – ./

deriv-com-git-master.binary.sx
deriv-com.binary.sx

Please sign in to comment.