diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index aa147551868..63bca49b83a 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -22,7 +22,7 @@ env: GATSBY_RUDDERSTACK_STAGING_KEY: ${{ secrets.GATSBY_RUDDERSTACK_STAGING_KEY }} GATSBY_RUDDERSTACK_PRODUCTION_KEY: ${{ secrets.GATSBY_RUDDERSTACK_PRODUCTION_KEY }} GATSBY_RUDDERSTACK_URL: ${{ secrets.GATSBY_RUDDERSTACK_URL }} - + jobs: release-beta: timeout-minutes: 30 @@ -53,7 +53,7 @@ jobs: with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages publish public --project-name=deriv-com-pages --branch=beta + command: pages deploy public --project-name=deriv-com-pages --branch=beta - name: Cloudflare preview link ✨ run: echo "New beta website - https://beta.deriv.com" diff --git a/.github/workflows/generate-preview-link.yml b/.github/workflows/generate-preview-link.yml new file mode 100644 index 00000000000..73cb085d6a4 --- /dev/null +++ b/.github/workflows/generate-preview-link.yml @@ -0,0 +1,214 @@ +name: Generate preview link + +permissions: + actions: write + checks: write + contents: write + deployments: write + pull-requests: write + statuses: write + +on: + workflow_run: + workflows: ['Pre-generate preview link'] + types: + - completed + +env: + NODE_OPTIONS: '--max-old-space-size=8192' + +concurrency: + group: cloudflare-pages-build-${{ github.event.workflow_run.head_branch }} + cancel-in-progress: true + +jobs: + build_to_cloudflare_pages: + runs-on: Ubuntu-latest + if: > + github.event.workflow_run.event == 'pull_request' && + github.event.workflow_run.conclusion == 'success' + steps: + - name: Download artifact + id: download-artifact + uses: dawidd6/action-download-artifact@v2 + with: + workflow_conclusion: success + run_id: ${{ github.event.workflow_run.id }} + name: 'pr-${{ github.event.workflow_run.id }}' + + - name: Retrieve pull request + id: pr_information + run: | + echo "issue_number=$(cat ./NR)" > $GITHUB_OUTPUT + + - name: 'Generate action link comment' + id: generate_action_url + uses: actions/github-script@v3 + with: + github-token: ${{ github.token }} + script: | + const action_url = "${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}" + const comment = [ + '| Name | Result |', + '| :--- | :------ |', + `| **Build status** | Building 🔨 |`, + `| **Action URL** | [Visit Action](${action_url}) |`, + '' + ].join('\n') + core.setOutput("comment", comment); + - name: Post Cloudflare Pages Preview comment + uses: marocchino/sticky-pull-request-comment@v2 + with: + header: Cloudflare Pages Preview Comment + number: ${{steps.pr_information.outputs.issue_number}} + message: ${{steps.generate_action_url.outputs.comment}} + recreate: true + + - name: Verify user organization + id: verify_user_organization + run: | + echo "Verifying user's organization..." + user=$(cat ./USERNAME) + response=$(curl -s -L \ + -w "%{http_code}" \ + -o /dev/null -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + "https://api.github.com/orgs/binary-com/memberships/$user") + + if [ $response != "200" ]; then + echo "User is not a member of binary-com organization." + exit 1 + else + echo "User is a member of binary-com organization." + echo "Proceeding to build and deploy for the pull request: https://github.com/binary-com/deriv-com/pull/$(cat ./NR)" + fi + - name: Checkout to repo + uses: actions/checkout@v3 + with: + ref: ${{ github.event.workflow_run.head_sha }} + + - name: Setup node + uses: actions/setup-node@v2 + + - name: Get build output from master cache + uses: actions/cache/restore@v3 + with: + key: master-cache-public + restore-keys: | + master-cache-public-replica + path: | + .cache + public + - name: Get cached dependencies + id: cache-npm + uses: actions/cache/restore@v3 + with: + path: node_modules + key: npm-${{ hashFiles('**/package-lock.json') }} + + - name: Install dependencies + if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }} + run: npm ci + + - name: Build project + id: build-project + run: npm run build + + - name: Publish to Cloudflare Pages + id: publish-to-pages + env: + CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_TEST_LINKS_API_TOKEN }} + CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_TEST_LINKS_ACCOUNT_ID }} + run: | + echo "Installing Wrangler CLI" + npm i -g wrangler + echo "Deploying build to Cloudflare Pages" + directory='public' + projectName='deriv-com-preview-links' + head_branch=${{github.event.workflow_run.head_branch}} + branch=$(echo $head_branch | head -c 20) + preview_url=$(wrangler pages deploy $directory --project-name=$projectName --branch=$branch > log.txt 2>&1; echo $?) + echo "------" + cat log.txt + branchName=$(echo $branch | sed 's/[\/_\.]/-/g; s/[^a-zA-Z]$//') + if grep -q "Deployment complete" log.txt; then + echo "preview_url=https://$branchName.deriv-com-preview-links.pages.dev" > "$GITHUB_OUTPUT" + else + echo "Deployment to Cloudflare Pages failed." + exit 1 + fi + - name: 'Generate preview link comment' + if: success() + id: generate_preview_url + uses: actions/github-script@v3 + with: + github-token: ${{ github.token }} + script: | + const action_url = "${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}" + const preview_url = "${{steps.publish-to-pages.outputs.preview_url}}" + const comment = [ + `**Preview Link**: ${preview_url}`, + '| Name | Result |', + '| :--- | :------ |', + `| **Build status** | Completed ✅ |`, + `| **Preview URL** | [Visit Preview](${preview_url}) |`, + `| **Action URL** | [Visit Action](${action_url}) |`, + '' + ].join('\n') + core.setOutput("comment", comment); + - name: 'Generate failure comment' + if: failure() + id: generate_failure_comment + uses: actions/github-script@v3 + with: + github-token: ${{ github.token }} + script: | + const action_url = "${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}" + const comment = [ + '| Name | Result |', + '| :--- | :------ |', + `| **Build status** | Failed ❌ |`, + `| **Action URL** | [Visit Action](${action_url}) |`, + '' + ].join('\n') + core.setOutput("comment", comment); + - name: Post Cloudflare Pages Preview comment + if: success() || failure() + uses: marocchino/sticky-pull-request-comment@v2 + with: + header: Cloudflare Pages Preview Comment + number: ${{steps.pr_information.outputs.issue_number}} + message: ${{steps.generate_preview_url.outputs.comment || steps.generate_failure_comment.outputs.comment }} + recreate: true + + - name: e2e Smoke Tests + uses: actions/checkout@v4 + with: + repository: deriv-com/e2e-deriv-com # Replace with your repository name + + - name: Cypress run + # Uses the official Cypress GitHub action https://github.com/cypress-io/github-action + uses: cypress-io/github-action@v6 + with: + # Starts web server for E2E tests - replace with your own server invocation + # https://docs.cypress.io/guides/continuous-integration/introduction#Boot-your-server + # start: npm start + # wait-on: 'http://localhost:3000' # Waits for above + # Records to Cypress Cloud + # https://docs.cypress.io/guides/cloud/projects#Set-up-a-project-to-record + record: true + parallel: true # Runs test in parallel using settings above + spec: cypress/e2e/smoke/*.js + group: 'Smoke Tests' + + env: + # For recording and parallelization to work you must set your CYPRESS_RECORD_KEY + # in GitHub repo → Settings → Secrets → Actions + CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} + # Creating a token https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token + GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} + # Set Base Url from client_payload. + CYPRESS_BASE_URL: ${{steps.publish-to-pages.outputs.preview_url}} + # Send PR and Repo details to Cypress Cloud test run + COMMIT_INFO_MESSAGE: PR "${{ github.event.pull_request.title }}" in Repo "${{ github.repository }}" diff --git a/.github/workflows/pre-generate-preview-link.yml b/.github/workflows/pre-generate-preview-link.yml new file mode 100644 index 00000000000..39dcb6a8197 --- /dev/null +++ b/.github/workflows/pre-generate-preview-link.yml @@ -0,0 +1,28 @@ +name: Pre-generate preview link + +permissions: + pull-requests: write + +on: + pull_request: + types: [opened, synchronize] + +concurrency: + group: cloudflare-pages-verify-${{ github.head_ref }} + cancel-in-progress: true + +jobs: + verify_pull_request: + runs-on: Ubuntu-latest + steps: + - name: Retrieve PR information + run: | + mkdir -p ./pr + echo ${{ github.event.number }} > ./pr/NR + echo ${{ github.event.pull_request.user.login }} > ./pr/USERNAME + + - name: Upload PR information to artifact + uses: actions/upload-artifact@v2 + with: + name: 'pr-${{github.run_id}}' + path: pr/ diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 824977bf921..39e8be40831 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -58,7 +58,7 @@ jobs: with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages publish public --project-name=deriv-com-pages --branch=main + command: pages deploy public --project-name=deriv-com-pages --branch=main - name: Cloudflare production link ✨ run: echo "New website - http://cf-pages-deriv-com.deriv.com" diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index b6d91167eb1..be046fe6143 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -55,7 +55,7 @@ jobs: with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages publish public --project-name=deriv-com-pages --branch=staging + command: pages deploy public --project-name=deriv-com-pages --branch=staging - name: Cloudflare preview link ✨ run: echo "New staging website - http://staging.cf-pages-deriv-com.deriv.com" diff --git a/crowdin/messages.json b/crowdin/messages.json index 0e1dcf1a76b..a8e50da4923 100644 --- a/crowdin/messages.json +++ b/crowdin/messages.json @@ -5,6 +5,7 @@ "4007432": "Singapore", "4506932": "How do I add a Deriv X account?", "5681962": "EUR/USD DFX10 Index", + "6312314": "Deriv (V) Ltd (Company No. 014556), incorporated on the 17th February 2016, is registered in the Republic of Vanuatu with its registered office located at 1276, Govant Building, Kumul Highway, Port Vila, Republic of Vanuatu. Deriv (V) Ltd is licensed by the Vanuatu Financial Services Commission <0>(view licence) and is a member of the <1>Financial Markets Association.", "7128051": "How can I adjust or remove my self-exclusion limits?", "7228511": "Determine your commission per transaction, subject to our established thresholds.", "7359443": "Focused accounts for a focused strategy", @@ -16,7 +17,6 @@ "17217397": "Cryptocurrency", "19552684": "USD Basket", "20135418": "100,000", - "21294053": "Since 1999, the group has served traders around the world with integrity and reliability. We always hold ourselves to the highest ethical standards and regulatory requirements.", "22146527": "Secure, responsive platform", "22354933": "Your money is held in secure financial institutions and is always available to you, should you wish to withdraw. We don't use your money for our business purposes.", "22360354": "Enjoy trading a wide range of offerings that mimic characteristics of financial markets or are derived from them.", @@ -75,17 +75,18 @@ "65433881": "TRADE TYPES", "66236354": "20B+ USD in daily trades from 90,000 daily clients with almost instant uptime.", "67611998": "How can I deposit funds into my Deriv MT5 real money account?", + "67923436": "No, Deriv Bot will stop running when your web browser is closed.", "69523331": "If the selected barrier is close to the current price of the underlying instrument, the probability of the spot price touching the barrier in a \"Touch\" contract is higher compared to a \"No Touch\" contract. In this scenario, the potential payout amount for a \"Touch\" contract is lower.", "69859952": "Please enter your company name.", "70604999": "As jump indices are synthetics, you can trade them 24/7, 365 days of the year.", "70668746": "If you select 'Rise', you receive the payout if the exit price is higher than the entry price.", - "70678818": "Deriv (FX) Ltd is licensed by the Labuan Financial Services Authority (<0>licence). Deriv (BVI) Ltd is licensed by the British Virgin Islands Financial Services Commission (<1>licence). Deriv (V) Ltd is licensed and regulated by the Vanuatu Financial Services Commission (<2>licence). Deriv (SVG) LLC has a registered office at Hinds Buildings, Kingstown, St. Vincent and the Grenadines. Deriv Holdings (Guernsey) Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address of 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ.", "71016232": "OMG/USD", "71057750": "Go to {{platform_name}} dashboard", "71263224": "How can I cancel my withdrawal?", "71535160": "Calculate the overnight fees for holding any open positions. The fees can be positive or negative depending on your swap rate.", "71630191": "Do not share your account information and other personal details with anyone via Telegram.", "71650838": "Speak simply and plainly, and not hide behind ambiguity", + "71755468": "In a journey spanning more than 23 years, we have grown to over 2.5 million customers worldwide. But our mission has remained the same:", "71969952": "What other changes will I be seeing?", "73765361": "Chief Audit Executive", "74138086": "Take control of your trades on Deriv MT5", @@ -120,6 +121,7 @@ "103740464": "

To open a Up/Down contract, you'll need to:

", "104744952": "Complete the form and click Submit.", "105613424": "What is the minimum amount to open a position on Deriv MT5?", + "106492474": "high-close option trade", "106560608": "Instagram", "109865596": "Enjoy weekend trading on Deriv and get the most out of your trades", "110140669": "If you are a professional trader, the MT5 trading signals service allows you to share your strategies with other traders for free or a subscription fee that you determine. When traders subscribe to your signal, your deals are automatically replicated on their accounts each time you place a trade.", @@ -136,6 +138,7 @@ "121961018": "If you're residing in the EU or UK, <0>contact us via live chat, and we'll help you with it.", "123005346": "No artificial barriers to customer withdrawals", "123291381": "What is the rebranding about?", + "128120244": "Since 1999, the Group has served traders around the world with integrity and reliability. We always hold ourselves to the highest ethical standards and regulatory requirements.", "131637194": "For <0>metals, there is a fixed commission of USD 4 per lot. A deal for 1 lot of XAU/USD will pay out USD 4 in commission based on the following formula:", "132319176": " take profit level", "135121884": "What’s next?", @@ -214,6 +217,7 @@ "221408375": "Deriv partnership programme is free to join. There are absolutely no charges or hidden fees to worry about.", "222070679": "We’ll deposit your commissions directly into your account as soon as practicable after the 15th of every month.", "222685906": "( 1", + "223464180": "Clients in the rest of the world (except for certain countries such as the USA, Canada, and Hong Kong) who wish to trade CFDs on financial instruments (via MT5 Financial accounts) and derived indices (via MT5 Derived accounts) can have Deriv MT5 and Deriv X accounts under Deriv (V) Ltd.", "223659990": "Commission per lot (1 standard lot is 100k units)", "224644767": "Business Partnership", "224650827": "IOT/USD", @@ -234,6 +238,7 @@ "236845507": "What are contracts for difference (CFDs)?", "237637819": "Where can I trade Touch/No Touch options?", "239216026": "XMR/USD", + "239429137": "Useful menus where you can find out how each asset’s margin impacts your trade before placing them.", "241331061": "Deriv GO is really good! I've been looking for an app like this which is easy to use.", "242356757": "Submit a report", "243072878": "15 - 5,000", @@ -273,12 +278,14 @@ "272283021": "You can now log in to Deriv MT5 with your new password.", "273070806": "Earn commission from your clients’ trades on Deriv MT5 and Deriv X.", "273133328": "EEM.US", + "273847089": "ends between/ends outside option trade", "273946464": "Contact us via <0>live chat.", "274268819": "Volatility 100 Index", "274392779": "the Labuan Financial Services Authority", "274438767": "The order amount is locked in escrow until both parties confirm that the transaction has been completed from their end.", "275116637": "Deriv X", "275316510": "Impersonators ask you to send confidential information over an unsecure platform, for example via SMS, WhatsApp, email, etc.", + "276089446": "All spreads are indicative. To view real-time spreads, please refer to your terminal.", "276341434": "As part of our rebranding exercise, your affiliate login URL will change.", "276482397": "No, you can't.", "278499050": "Use your local currency to make deposits into and withdrawals from your Deriv account.", @@ -306,7 +313,6 @@ "306400894": "Enjoy trading markets and indices mimicking actual market movements, with little to no disruption from real-world events.", "306846388": "Online trading is exciting but involves risks and can lead to an addiction. At Deriv, we look out for our customers’ best interests and encourage them to practise <0>secure and responsible trading. If you are new to this, you can also practise trading with unlimited virtual funds before you risk your money.", "307902006": "Enjoy high leverage and low spreads on our Deriv MT5 platform, now offering a range of stocks and stock indices from the brands you love.", - "308070472": "Can I trade cryptocurrencies on DBot?", "309180597": "Expand your client base by helping traders fund their accounts through local bank wires and e-payments. Facilitate and earn from every transaction.", "309993304": "Try Deriv at no risk", "310298121": "<0>Digital options that allow you to predict the outcome from two possible results and earn a fixed payout if your prediction is correct.", @@ -326,7 +332,6 @@ "323360883": "Baskets", "325128398": "3. Duration", "326242312": "Volume in lots", - "326551423": "Clients in the rest of the world (except for restricted countries such as the USA, Canada, and Hong Kong) who wish to trade CFDs on financial instruments (via MT5 Financial accounts) and derived indices (via MT5 Derived accounts) can have Deriv MT5 and Deriv X accounts under Deriv (V) Ltd.", "327728169": "12.5", "328362983": "0.4%", "331304444": "- Setting the duration of your trade.", @@ -334,6 +339,7 @@ "332492567": "-10 ]", "332961148": "How can I add, remove or change my accepted payment methods?", "333367028": "(-(3400", + "334005764": "What is Deriv Trader?", "335040248": "About us", "336277289": "Available on <0>web browser", "337900732": "Denmark", @@ -353,6 +359,7 @@ "352494339": "Get trading with Deriv MT5", "354060979": "<0>1 lot with 1000 leverage:", "356733895": "Know your potential profit with fixed payouts, or maximise potential profit with variable payouts if your predictions are right.", + "357105933": "Go to the Trader’s hub and choose the Demo option.", "358257887": "Once your submitted document has been approved, go to Cashier > DP2P to register your Deriv P2P account.", "358369253": "Can I close In/Out options before the end of the trade duration?", "358838306": "Vice President of Customer Support", @@ -396,8 +403,10 @@ "400968378": "locations", "401280184": "Hit <0>Get under <1>CFDs and <2>Deriv EZ.", "401450104": "> 3 - 5 billion", + "401498558": "Deriv (FX) Ltd (Company No. LL13394), incorporated on the 18th January 2017, is registered in the Federal Territory of Labuan (Malaysia) with its registered office located at Unit No. 3A-16, Level 3A, Labuan Times Square, Jalan Merdeka, 87000, Federal Territory of Labuan, Malaysia. Deriv (FX) Ltd is licensed by the Labuan Financial Services Authority <0>(view licence) and is a member of the <1>Labuan Fintech Association.", "403435120": "Trade the way you want with 2 flexible trade types.", "404778224": "An intuitive,", + "405110755": "You can trade forex, cryptocurrencies, and derived on Deriv Trader. Some markets may not be available in certain countries.", "406075956": "If you select ‘Odd’, you will win the payout if the last digit of the last tick is an odd number (i.e. 1, 3, 5, 7, or 9).", "406403062": "Can I change my growth rate after opening the contract?", "407739127": "A monthly service fee of USD 1,500 will be charged at the end of each month. The fee is accrued and only charged if the minimum volume requirements are not exceeded.", @@ -474,6 +483,7 @@ "469552854": "Want to know more about CFD trading conditions for the instruments we offer?", "469798381": "Years of service", "470277541": "Maximum duration", + "472915014": "Deriv is one of the world’s largest online brokers. We offer CFDs and other derivatives on forex, stocks & indices, cryptocurrencies, commodities, and derived indices to millions of registered users across the globe.", "473760456": "We speak plainly to avoid ambiguity, disclose the terms of all contracts, and are clear about the risks of trading and how we make money.", "474616293": "The trading platform to fit your style", "475611258": "Help centre | Frequently asked questions | About Deriv | Deriv", @@ -488,6 +498,7 @@ "481411401": "Regulation", "482100031": "Trade the way you want with 3 exciting trade types.", "483166710": "You can open an Asians trade by:", + "484950532": "All day, all year", "485805015": "Can I close a High/Low Ticks contract before the contract expires?", "486632400": "Open a digital options contract with a High/Low ticks trade type on Deriv’s trading platforms and earn payouts with accurate market predictions.", "486935836": "I forgot my Google/Facebook/Apple account password. How can I log in to my Deriv account?", @@ -542,6 +553,7 @@ "524082501": "As a payment agent, you are an independent exchanger. You can:", "524230462": "How can I sign up as a Deriv IB?", "524459540": "How do I create variables?", + "524469079": "An intuitive interface", "524640779": "Please enter a valid password", "524754401": "Instruments available for multipliers trading", "526128866": "

Payout per point indicates the payout you will receive for each point above or below the strike price (which is selected before you enter the contract) within the contract period. This amount will depend on your stake.

For Call options, payout per point indicates the amount of payout you’ll gain for each point above the predetermined strike price, at the contract's expiry.

For Put options, payout per point indicates the amount of payout you’ll gain for each point below the predetermined strike price, at the contract's expiry.

Please note that this payout does not equal to potential profit. You'll only earn potential profit once the payout amount exceeds your stake amount.

", @@ -594,6 +606,7 @@ "575534504": "Low spreads", "576793632": "0 - 15 million <0>(Crypto)", "577779861": "Withdrawal", + "580973510": "higher/lower option trade", "581168980": "Legal", "581220884": "Log in to your Deriv affiliate account and go to <0>Finances > <0>Payment instructions.", "581576971": "Hit <0>Reset at the bottom of stats panel.", @@ -605,6 +618,7 @@ "586006302": "<0>Over/Under: Predict whether the last digit of the last tick of a contract will be higher or lower than a specific number.", "586157262": "<0>3350.11", "586789100": "Choose from a variety of customisable trade types with stakes as low as $0.35 and durations as short as a second.", + "588230867": "Deriv Trader is an advanced trading platform that allows you to trade more than 50 assets in the form of digitals, multiplier, and lookback options.", "589650317": "Lookbacks | Digital options contract | Deriv", "590149919": "Ensure that you make payment to the correct seller within 1 hour.", "590858519": "Say goodbye to overnight charges, keep your positions open for as long as you want.*", @@ -621,12 +635,12 @@ "602265590": "Stop loss works slightly differently in Crash/Boom/Range break indices. This is because sudden fluctuations in market price from one tick to the next can sometimes surpass the stop loss you have set. When the market price exceeds your stop loss amount, your contract will be automatically closed at that point, instead of exactly at the stop loss level.", "603094883": "However, it is important to note that the availability of early exit may vary depending on the specific trade type. Some trade types may have restrictions or it may only be available within a certain timeframe.", "603858824": "Drift switch indices", - "603998188": "<0>Watch this video to learn how to build a trading bot on DBot. Also, <1>check out this blog post on building a trading bot.", "604863126": "The frequency of tick generation differs between indices, with some generating ticks every second and others generating them every two seconds.", "606371596": "How to trade the forex market", "607535944": "5 - 30 minutes", "607853927": "The price barrier in Touch/No Touch contracts refers to the specified price level that the underlying instrument's price needs to touch or not touch during the contract duration.", "612131072": "Clients in the rest of the world (except for restricted countries such as the USA, Canada, and Hong Kong) can have accounts under Deriv (SVG) LLC.", + "613328995": "We have a diverse suite of 8 trading platforms: <0>Deriv MT5, <1>Deriv X, <2>Deriv Trader, <3>Deriv Bot, <4>Deriv EZ, <5>Deriv GO, <6>SmartTrader, and <7>Binary Bot. Each of these platforms is designed to fit any trading style, regardless of your trading experience.", "613877038": "Chart", "613971219": "Email image", "617759430": "Earn commissions when your referral deposits 100 USD – whether it's a single deposit or accumulated over time.", @@ -635,6 +649,7 @@ "619610610": "Close your account at any time you want.", "621291584": "0.75", "622253642": "Save time – no need to open, monitor, and close trades.", + "623188171": "Trade cryptocurrencies and synthetic indices anytime, even on weekends and holidays.", "623694668": "VWO.US", "624256060": "Define optional parameters that give you more control over your trading, including stop loss, take profit, and deal cancellation.", "627774646": "Additional income stream from monthly subscriptions.", @@ -677,6 +692,7 @@ "655902997": "You may reactivate your account by <1>logging in with your email address and password. If you're unable to do so, please <0>contact us via live chat, and we'll help you further.", "656430237": "How do I rate or recommend my trade partners on Deriv P2P?", "657066292": "You can connect to your trusted bridge partner via a FIX API protocol connection.", + "657439941": "Deriv (FX) Ltd is licensed by the Labuan Financial Services Authority (<0>licence). Deriv (BVI) Ltd is licensed by the British Virgin Islands Financial Services Commission (<1>licence). Deriv (V) Ltd is licensed by the Vanuatu Financial Services Commission (<2>licence). Deriv (SVG) LLC has a registered office at First Floor, SVG Teachers Credit Union Uptown Building, Corner of James and Middle Street, Kingstown P.O., St Vincent and the Grenadines. Deriv.com Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address is located at 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ.", "658337631": "Got a <0>Binary.com account? You can <1>log in to <0>Deriv with your <0>Binary.com username and password", "659338852": "Stop loss or ", "661969161": "Execution speed", @@ -684,6 +700,7 @@ "662679188": "DTrader | Online trading platform | Deriv", "663180477": "Customer-first trading experience", "663689984": "Diagonal", + "664572363": "stays between/goes outside option trade", "665599274": "Fill up the form and click <0>Confirm.", "665777772": "XLM/USD", "666057433": "Trade popular assets in the commodities market such as silver, gold, oil, and more without owning the underlying asset. Speculate on the price movements and benefit from our high leverage and competitive spreads.", @@ -704,6 +721,7 @@ "686385193": "Let’s say you want to calculate the take profit level when you open a position for Volatility 100 Index priced at 3376.24 USD with a stake amount of 10 USD, a multiplier value of x100, and a take profit amount of 7.54 USD in Down direction.", "686387939": "How do I clear my transaction log?", "686707119": "Are In/Out options available on Deriv Trader?", + "686961748": "<0>Deriv Trader is an advanced trading platform where you can trade digital and lookback options and multipliers on more than 50 assets.", "688617121": "High leverage", "689068852": "Where can I see my ads?", "689400450": "It's the best broker in the world. I will recommend it to anyone every day all the time. Their support agents are really helpful in all areas.", @@ -761,6 +779,7 @@ "744748902": "Max 1 hour", "745037442": "Accumulator options allow you to predict whether the current spot price remains within a predefined range from the previous spot price.", "746928132": "Yes, you’ll need a Deriv real account to process deposits and withdrawals for our clients.", + "750427805": "matches/differs option trade", "751493857": "USD 4", "752024971": "Reached maximum number of digits", "754014828": "Start trading derived FX on Deriv in 3 simple steps", @@ -779,6 +798,7 @@ "760192418": "Trade wisely, and don’t let your emotions influence your decisions. Don’t trade when you’re prone to bad judgement.", "760233310": "Our CFD trading application by Devexperts: dx.deriv.com", "762478389": "Trade what you like - forex, commodities, stock and synthetic indices.", + "762926186": "A quick strategy is a ready-made strategy that you can use in Deriv Bot. There are 3 quick strategies you can choose from: Martingale, D'Alembert, and Oscar's Grind.", "763072092": "MT5 trading signals subscriptions expire automatically after one month. To renew or cancel a subscription, follow these steps.", "763514492": "Get integrated help", "764856444": "We have a huge mission, an incredible team, and rapid growth.", @@ -842,7 +862,6 @@ "821579030": "QID.US", "822013794": "<0>Contact us via live chat to get help with changing your account currency.", "822932128": "Help centre | Frequently asked questions | Deriv", - "823109266": "Clients in the rest of the world (except for restricted countries such as the USA, Canada, and Hong Kong) who wish to trade CFDs on forex and cryptocurrencies can have Deriv MT5 Financial STP accounts under Deriv (FX) Ltd.", "824381946": "This gives you the margin requirement in the quote currency for forex pairs, or in the denomination of the underlying asset for other instruments.", "825675433": "Stocks & indices trades available on Deriv", "826324021": "Deriv.com on laptop and mobile", @@ -871,6 +890,7 @@ "842404857": "One or more disputes were raised against you. Please contact us via <0>live chat for more information.", "844549548": "easy-to-get-started", "847028402": "Check your email", + "850220566": "You can trade forex, stock indices, commodities, cryptocurrencies, and derived on Deriv Trader. Some markets may not be available in certain countries.", "850240893": "USD/JPY DFX10 Index", "850735123": "Topic suggestions", "851827893": "Find your role with us by browsing Deriv job opportunities in Ipoh, Malaysia.", @@ -892,9 +912,12 @@ "868154618": "Accounts", "868499940": "Start trading with Deriv", "869176308": "Do not worry, if you encounter any issue along the process, please reach out to our support through <0>Live Chat for further assistance.", + "870239780": "What markets can I trade on Deriv Trader?", "871462332": "Take advantage of high leverage and low spreads on Deriv MT5 and Deriv X.", "872087592": "For Rise/Fall, contract durations range from 1 tick and 365 days.", "874881951": "Browse job opportunities available at our Dubai office. Find your role in IT, marketing, and human resources.", + "875101277": "If I close my web browser, will Deriv Bot continue to run?", + "876316694": "The services offered on Deriv.com are provided by Deriv Group. The Group has several subsidiary companies that are licensed to operate Deriv.com in their registered jurisdictions.", "876462120": "2. On the left side panel, under the “Security & Safety” category, choose the “Email and passwords” or you may click <0>here", "876581050": "Slovakia", "877897643": "Advantages of trading forex on DTrader", @@ -935,7 +958,6 @@ "903422317": "Get instant access to your trades wherever you are whenever you want.", "904780038": "Set the restart conditions", "907733837": "Predict whether the market price will touch or not touch the chosen barrier (target) during the contract period.", - "908042853": "Deriv Holdings (Guernsey) Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address of 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ.", "909083576": "404 - Page not found | Deriv", "912406629": "Follow these steps:", "912981300": "One more thing: We’ve rebranded our social media profiles to @Derivdotcom on Facebook, Instagram, and Twitter. Like and follow us to stay updated with our latest news.", @@ -945,6 +967,7 @@ "913719394": "If you select ‘Over’, you will win the payout if the last digit of the last tick is greater than your prediction.", "915392164": "Open long or short positions based on your predictions of the market price movements.", "915554307": "Your potential. Our technology.", + "915735859": "Quick account sign-in", "916591715": "The above information is updated monthly and, therefore, may not reflect current trading conditions.", "917157780": "If you select 'Differs', you receive the payout if the last digit of the exit price is different than your prediction.", "917922170": "- Select the underlying asset you want to trade.", @@ -976,6 +999,7 @@ "944896800": "How does it transform our partnership?", "947541466": "Trade 24/7 on our proprietary synthetics that simulate real-world market movements. These indices are unaffected by regular
market hours, global events, or market and liquidity risks. Manage your exposure by selecting the volatility level to suit your risk appetite.", "948545552": "150+", + "949495445": "even/odd option trade", "949617971": "Your Deriv X password is linked to the standalone Deriv X trading platform while your Deriv password gives you access to platforms hosted on our website such as DTrader and DBot.", "949859957": "Submit", "953170529": "Enjoy zero commission trading on all assets.", @@ -987,11 +1011,13 @@ "960618190": "Trade various assets in multiple markets simultaneously.", "961338094": "Enter multiplier value", "961530723": "Netflix Inc", + "961728715": "platform", "962218636": "Airbus SE", "963202666": "How do I sign up as an affiliate?", "968367390": "Traders typically analyse the underlying market and price trends to determine the likelihood of prices rising or falling over a given time period.", "968576099": "Up/Down", "968627888": "24/7 trading, including weekends and public holidays", + "970654740": "fast, secure deposit and withdrawal", "971775193": "<0>Using a quick strategy", "972090300": "Why should I switch to Deriv.com?", "973734471": "Finland", @@ -1010,6 +1036,7 @@ "990019749": "We hope these answers have helped you to know more about Deriv.com and our motivation for the rebranding.", "992411597": "If you select ‘Even’, you will win the payout if the last digit of the last tick is an even number (i.e. 2, 4, 6, 8, or 0).", "992485806": "Your position is automatically closed when your stop loss level is at <0>1.1750 and when your stop loss pip value is <0>24 USD.", + "993380717": "info symbol", "995624454": "Target position", "1000512133": "API", "1000991093": "Forex online trading platforms | Forex trading demo account | Deriv", @@ -1027,7 +1054,6 @@ "1010278278": "Can I delete my Deriv MT5 account history?", "1010645311": "Predict the price movements of commodities like silver, gold, and oil, and use margin to amplify your possible profits.", "1011699543": "Trade the price movements of natural resources that are central to the world’s economy and make the most of the market action.", - "1012902658": "Yes. <0>Contact us via live chat and we'll help you with it.", "1015371290": "Experienced affiliate managers answer all your queries and provide you with excellent promotional and educational materials.", "1015510435": "BMW", "1016846951": "> USD 20,000 per month", @@ -1118,7 +1144,6 @@ "1093308928": "

No, these are two different contract types.

With High/Low Ticks, you predict which of the 5 ticks within the trade duration will be the highest or lowest.

With Higher/Lower, you predict the overall price direction of a trading instrument over a specified time period.

", "1094162624": "<0>High-Close: When you purchase a ‘High-Close’ contract, your win or loss will be equal to the multiplier times the difference between the high and the close over the duration of the contract.", "1095420663": "Purchase the contract", - "1096453413": "Deriv Investments (Europe) Limited – W Business Centre, Level 3, Triq Dun Karm, Birkirkara BKR 9033, Malta – is licensed in Malta (<0>licence no. IS/70156) and regulated by the Malta Financial Services Authority under the Investments Services Act.", "1097133380": "0.35", "1097188292": "Take profit level", "1098544147": "They ask you to fill up a form on an unsecure website without an HTTPS (secured) connection.", @@ -1145,6 +1170,7 @@ "1120025399": "Options trades available on {{market_name}}", "1120122161": "For further information, see Section 4 on Deriv P2P in <0>our terms.", "1120526496": "Forex and metals", + "1121213064": "close-low option trade", "1121705391": "24/7 chat", "1122860902": "No, the trade types allow you to choose the duration or expiry time but the contract will be held till the end of duration or expiry selected.", "1123456902": "They ask you to download unsecure mobile apps in the form of APK files that aren’t offered on Google Play Store or Apple App Store. ", @@ -1187,6 +1213,7 @@ "1169337138": "A chart illustrating a losing Under trade type contract", "1169378202": "Payment agents | Partnership programmes | Deriv", "1169889619": "Already have an account? <0>Log in", + "1170266535": "<0>Deriv Trader offers multipliers trading on a range of underlying assets such as forex, cryptocurrencies, and derived. This platform allows you to open multipliers trades that offer the opportunity to multiply potential profit without risking more than your stake. You may find this platform more intuitive if you're new to the trading world.", "1171083830": "Hit <0>Get next to <0>Deriv account.", "1171765024": "Step 3", "1172611503": "If you select ‘Asian Fall’, you will win the payout if the last tick is lower than the average of the ticks.", @@ -1256,6 +1283,7 @@ "1225940651": "Make easy deposits through your local banks.", "1226498477": "A chart illustrating a vanilla call option trade with no payout", "1226639859": "Secure & responsible trading", + "1226773856": "What contract types do you offer on Deriv Trader?", "1228718006": "|( 1.1750", "1229753077": "Got questions? Need help? Call or email a dedicated team of affiliate managers for all the answers.", "1230198893": "Deriv’s easy and free setup of DBot trader can automate your trading without writing codes. Create your own bot trader using our tutorials and guides!", @@ -1325,6 +1353,7 @@ "1291852379": "50 - 5,000", "1293479771": "PnL for margin", "1294884975": "30%", + "1298753999": "Three of the most commonly used strategies in automated trading are Martingale, D'Alembert, and Oscar's Grind — you can find them already-made and waiting for you in Deriv Bot.", "1298837204": "

With a Digits contract, you predict whether the last digit of the last tick of your contract will meet specified criteria, depending on the contract type you select.

If you trade a Matches/Differs contract, you predict whether the last digit will match or be different from a selected number.

If you trade an Even/Odd contract, you predict whether the last digit will be an even or odd number.

If you trade an Over/Under contract, you predict whether the last digit will be over or under a specific number.

", "1299144461": "Terms and conditions", "1299666269": "Limassol | Our office – Cyprus | Deriv", @@ -1344,11 +1373,13 @@ "1316697520": "Markets available for multipliers trading", "1320418221": "Estimate the margin you need to hold your positions. The result depends on leverage, volume lot, and your Deriv MT5 account balance.", "1324376913": "Our values are the fabric of our culture", + "1326142154": "high-low option trade", "1326235397": "These indices correspond to simulated markets with constant volatilities of 10%, 25%, 50%, 75%, and 100%.", "1327067520": "Deriv P2P makes withdrawals and deposits simple, it’s the best user-friendly app.", "1328010458": "A professional trader searching for a liquidity solutions provider", "1329552872": "Europe", "1329985014": "38,000+", + "1330415177": "<0>Watch this video to learn how to build a trading bot on Deriv Bot. Also, <1>check out this blog post on building a trading bot.", "1331252898": "20 - 500", "1332168410": "Learn more", "1333244023": "With accumulators, your potential profit increases exponentially, but your risk is limited to your stake. As long as the price moves within the trade barriers, your potential profit will rise regardless of market movement.", @@ -1362,7 +1393,6 @@ "1338451541": "Deriv Go logo", "1338973079": "A chart illustrating a winning Differs trade type contract", "1339067509": "banner information", - "1343494347": "<0>DTrader offers multipliers trading on a range of underlying assets such as forex, cryptocurrencies, and derived. This platform allows you to open multipliers trades that offer the opportunity to multiply potential profit without risking more than your stake. You may find this platform more intuitive if you're new to the trading world.", "1344216985": "We can’t deliver the email to this address (usually because of firewalls or filtering).", "1345965490": "- lower than the entry price for a Reset Call contract, or", "1346204508": "Take profit", @@ -1394,16 +1424,15 @@ "1371193412": "Cancel", "1372981277": "Responsive platforms", "1373549717": "Jump Indices", - "1374012502": "Deriv Investments (Europe) Limited is licensed and regulated by the Malta Financial Services Authority under the Investment Services Act (<0>licence). Deriv (FX) Ltd is licensed by the Labuan Financial Services Authority (<1>licence). Deriv (BVI) Ltd is licensed by the British Virgin Islands Financial Services Commission (<2>licence). Deriv (V) Ltd is licensed and regulated by the Vanuatu Financial Services Commission (<3>licence). Deriv (SVG) LLC has a registered office at Hinds Buildings, Kingstown, St. Vincent and the Grenadines. Deriv Holdings (Guernsey) Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address of 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ.", "1374586234": "Grow your potential payout at every tick with accumulator options. Accumulator trading is available on volatility indices under derived indices.", "1375342464": "Deriv MT5 signals", "1376119698": "Why does the \"Matches\" contract have a higher predicted payout compared to \"Differs\"?", + "1376184475": "Can I download the chart on Deriv Trader?", "1376955476": "Swap charge", "1377692190": "1. Go to your Deriv X dashboard.", "1380047398": "Scan to download", "1384321002": "If you are not satisfied with the outcome, you can escalate your complaint, provided that the <0>complaints policy associated with your account states that escalation is possible.", "1384941966": "Citigroup", - "1385437335": "We offer two trading platforms in the EU: <0>Deriv MT5 and <2>DTrader. Each of these platforms is designed to fit any trading style, regardless of your trading experience.", "1385878133": "No money", "1386344585": "A fast and secure peer-to-peer deposit and withdrawal service. Easily exchange with fellow traders to move funds in and out of your Deriv account.", "1387503299": "Log in", @@ -1484,6 +1513,7 @@ "1456673219": "How and when will I receive my commission payout?", "1456712815": "- Specifying the duration of the trade", "1456920032": "<0>Deriv X and <1>Deriv MT5 offer CFD trading on a similar range of assets, where you're able to open positions with leverage and your potential profit is only known when you close your positions. It's riskier than digital options trading because while you may potentially gain a lot if you win, you may also lose a lot if you don't. Deriv X and Deriv MT5 are popular among our traders who enjoy the risks as part of the excitement of CFD trading.", + "1457227649": "Trade derived and financial assets on one CFD account, without needing to switch between multiple accounts.", "1458062110": "<0>XLE.US The Energy Select Sector SPDR® Fund ETF tracks the energy sector of the S&P 500 Index.", "1458263388": "Earn when your clients trade on an MT5 Financial STP account.", "1461287243": "You can open a position for as low as 1 USD.", @@ -1494,7 +1524,6 @@ "1466745668": "Predict what number will be the last digit of the last tick of a contract.", "1466788657": "For more info, <0>check out this blog post on the basics of building a trading bot.", "1467325385": "Global affiliate support", - "1467990765": "Deriv (FX) Ltd — F16, Level 1, Paragon Labuan, Jalan Tun Mustapha, Labuan 87000, Malaysia — is licensed by Labuan Financial Services Authority (<0>licence no. MB/18/0024) and is a member of the <1>Labuan Fintech Association.", "1468688914": "Make instant deposits using crypto to your fiat account.", "1469255430": "terms and conditions", "1469626982": "USD/CNH", @@ -1508,7 +1537,6 @@ "1478423964": "Deriv's proprietary synthetics are free of market and liquidity risks. Enjoy 24/7 synthetic trading on Deriv MT5, DTrader, and our other platforms.", "1479399998": "Find your role with us by browsing Deriv job opportunities in Kigali, Rwanda.", "1480288966": "Deriv platforms", - "1480607246": "This difference is because MT5 is a third-party platform that requires its own login credentials. Your Deriv MT5 login gives you access to the MT5 platform, while your Deriv login gives you access to our digital options platforms such as DTrader and DBot.", "1481797714": "Go to DTrader", "1482484637": "Contact us via live chat", "1484774405": "0.25", @@ -1550,12 +1578,12 @@ "1508447392": "Not all payment methods are available in your country. Kindly check your cashier for further information.", "1509244758": "Method", "1510075920": "Gold/USD", + "1511280539": "Take advantage of an easy-to-use interface for trading and charting that both new and experienced traders can enjoy.", "1516021730": "20 - 1,000", "1516676261": "Deposit", "1518575473": "Uptime", "1521654777": "Start trading CFDs in two easy steps — click to get an account, start trading. No need to remember another login ID and password.", "1523687535": "We don’t pay commission, but you can set your own commission rate per transaction within reasonable thresholds. When you sign up, our team will be in touch to work out the details with you.", - "1524033858": "What is DTrader?", "1524248407": "Trade on financial markets plus our proprietary synthetics that are available 24/7.", "1525885795": "As a payment agent, will I receive commissions from Deriv?", "1527682674": "Register for Deriv P2P by logging into your Deriv account in the app.", @@ -1599,8 +1627,8 @@ "1557466457": "Enter stake amount", "1557535154": "Is it free to join your affiliate programme?", "1557977381": "

The potential payout is predetermined based on the specific details of the trade and if your market predictions are right.

For Rise/Fall contracts, potential payouts generally range from 85% to 95% of your stake.

For Higher/Lower contracts, potential payouts can range from 1% to 3,900% of your stake, depending on where the barrier is set.

The potential payout and potential loss (your initial stake) will be clearly displayed before you enter the trade.

", - "1559136143": "No, we don't offer cryptocurrencies on DBot.", "1559712313": "Commodity trades available on Deriv", + "1560383409": "Android", "1561008060": "", "1562241070": "All favourite markets and more", "1563919822": "You'll get daily commission payouts in your MT5 Synthetic account.", @@ -1654,6 +1682,7 @@ "1602800752": "Save your strategies", "1603929481": "Deriv Prime partners with regulated financial institutions, including:", "1604222298": "Margin calculator", + "1604903805": "Yes, you can download the chart on Deriv Trader (in .csv and .png) by clicking <0>Download on the toolbar on the left.", "1604927699": "You can block a user on Deriv P2P by hitting the 3 dots on their <0>Advertiser's page and choosing <0>Block.", "1605502300": "<0>VWO.US The Vanguard FTSE Emerging Mkts ETF tracks the FTSE Emerging Markets All Cap China A Inclusion Index.", "1606548273": "No distractions", @@ -1687,6 +1716,7 @@ "1625898053": "Make easy deposits via any major bank.", "1627067256": "Latin America", "1627655124": "To place a vanilla options contract, you’ll need to:", + "1628981793": "Can I trade cryptocurrencies on Deriv Bot?", "1631281562": "GBP Basket", "1631620531": "Years of industry experience", "1631705059": "Predict whether the exit spot will be higher or lower than a price target (the barrier) at the end of the contract period.", @@ -1727,6 +1757,7 @@ "1658594963": "Can I change the tick duration for the High/Low Ticks contract type?", "1659675491": "Practise trading from the mobile app, desktop app, or through your web browser.", "1659681650": "- Asset managers", + "1659687862": "Deriv.com Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address is located at 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ.", "1661123842": "- Purchase the contract", "1661263248": "How can I download my Deriv MT5 history?", "1663880277": "Will I be required to pay a fee to become a premium payment agent?", @@ -1755,7 +1786,6 @@ "1681876785": "Age-verify your account by submitting <0>proof of identity.", "1682675914": "High leverage, low spreads", "1682843058": "Up/Down | Digital options contract | Deriv", - "1683034855": "DTrader is an advanced trading platform that allows you to trade more than 50 assets in the form of digitals, multiplier, and lookback options.", "1686378613": "DBot is a web-based strategy builder for trading digital options. It’s a platform where you can build your own trading bot using drag-and-drop 'blocks'.", "1688330506": "<0>221.5961", "1688556728": "European indices", @@ -1764,6 +1794,7 @@ "1692056155": "Unsubscribe | Emails | Deriv", "1692148560": "Measures the value of gold against a basket of five global currencies (EUR, GBP, JPY, AUD, USD), each weighted by 20%.", "1692290832": "What marketing support do you provide?", + "1693205308": "Deriv EZ online trading platform", "1693556143": "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.", "1693902817": "Risk awareness and management", "1694241835": "5. Check profit", @@ -1788,9 +1819,7 @@ "1715011380": "Jump 25 Index", "1715241142": "How do I see my earnings?", "1715781230": "To onboard with Deriv Prime’s liquidity solution and trading services, you will need to follow a streamlined process:
  1. Account application: Contact us to connect with a dedicated support team to guide you through the entire onboarding journey.
  2. Verification: Satisfy all compliance and regulatory requirements including Know Your Business (KYB) requirements.
  3. Margin account settlement: Fund your margin account to meet the minimum balance based on our scalable commercial plan.
  4. Connectivity: Integrate with our platform using your preferred connectivity method.
", - "1718415779": "You can trade forex, cryptocurrencies, and derived on DTrader. Some markets may not be available in certain countries.", "1718887977": "HYG.US", - "1720790758": "No, DBot will stop running when your web browser is closed.", "1720812007": "

Up/Down options are divided into two types:

Rise/Fall contracts, where you make a market prediction on whether your contract's exit price has risen or fallen by the end of the contract period. If you trade with the Allows Equals requirement, you're predicting that the contract's exit price can also be equal to the entry price.

Higher/Lower contracts, where you set a barrier before opening your contract and make a market prediction on whether the underlying asset's price is higher or lower than the predetermined barrier at the end of the contract period.

", "1721296073": "DMT5 Financial STP calculated first", "1724327730": "Let’s say you want to trade 1 lot of Volatility 75 Index.", @@ -1807,12 +1836,12 @@ "1739086943": "Wall Street 30", "1739322571": "XLE.US", "1739668049": "Close your account", - "1740608606": "You can trade forex, stock indices, commodities, cryptocurrencies, and derived on DTrader. Some markets may not be available in certain countries.", "1740682986": "secure and responsible trading", "1741049129": "Min withdrawal", "1741108305": "- Place your trade.", "1742122525": "Automate your trading with DBot, Deriv’s trading robot which you can build without writing code.", "1742671486": "Can I select the duration for an Asians contract?", + "1743279813": "Why trade with Deriv cTrader", "1743448290": "Payment agents", "1744150552": "Your new Deriv EZ account is ready.", "1744637366": "Available on <0>Android and <1>iOS", @@ -1851,6 +1880,7 @@ "1772406884": "Deriv P2P is good. It’s easy to deposit and withdraw for small traders.", "1773351605": "The completion rate is the percentage of orders that the advertiser could complete within 1 hour.", "1774791951": "Predict whether the exit spot will be inside or outside two price targets at the end of the contract period.", + "1781738442": "reset call/reset put option trade", "1782703044": "Sign up", "1783526986": "How do I build a trading bot?", "1783629999": "Access over 150 assets in multiple markets simultaneously on one platform.", @@ -1939,6 +1969,7 @@ "1858594477": "We understand that change can be intimidating. That’s why we’ve been working very hard to make sure that your transition from Binary.com to Deriv.com is as seamless as possible.", "1859772193": "If you select ‘Allow equals’, you win the payout if the exit spot is higher than or equal to the entry spot for ‘Rise’. Similarly, you win the payout if the exit spot is lower than or equal to the entry spot for ‘Fall’.", "1860472068": "Online banking", + "1861172210": "cTrader is our intuitive CFD trading platform where you can trade forex, commodities, stocks & indices, cryptocurrencies, and derived indices.", "1861302455": "You can place an In/Out trade by:", "1861802946": "Want to trade
Options on the go?", "1862283751": "Trade forex, synthetic indices, and cryptocurrencies wherever, whenever you want and maximise your potential profit with multipliers on Deriv GO.", @@ -1948,10 +1979,12 @@ "1869230144": "<0>-7.23", "1869497149": "Enjoy a smooth trading experience with easy-to-use charts and a pleasant dark theme.", "1870912643": "Frequently asked questions - Complaints procedure", + "1871377550": "Do you offer pre-built trading bots on Deriv Bot?", "1872216697": "Yes, you can choose the duration of your Asians contract anywhere between 5 and 10 ticks.", "1872384056": "Light and dark mode features for a more enjoyable experience", "1872568231": "GBP/TRY", "1872607463": "banner", + "1873182175": "Apple account sign in page", "1873188024": "A deal for 1 lot of the Volatility Index 75 for a price of USD 500,000 per USD 100,000 turnover will pay out a commission of USD 5. The minimum volume required to receive the minimum commission of USD 0.01 is determined using this formula:", "1874424045": "I lost my phone. How can I disable two-factor authentication (2FA)?", "1875123330": "24.88", @@ -1963,6 +1996,7 @@ "1877646703": "It acts as a reference point to determine the trade's outcome.", "1877728389": "This is because to win a Digits \"Matches\" contract, the number you choose must exactly match the last digit of your contract's last tick. Since the probability of this outcome is lower (with possible digits ranging from 0 to 9), the potential payout is higher.", "1877794406": "Android, Apple & Huawei", + "1878172674": "No, we don't. However, you'll find quick strategies on Deriv Bot that'll help you build your own trading bot for free.", "1878857985": "Yes, you can. You can open contracts with different parameters to take advantage of more market opportunities.", "1879930260": "No hard-selling", "1880965589": "Revenue share", @@ -2039,6 +2073,7 @@ "1935401816": "Narrow spreads", "1936980019": "<0>4 lots with 1,000 leverage:", "1937399907": "Multipliers - synthetics: Crash 300 Index", + "1937982609": "Deriv Partners", "1938567033": "{ ( -7.54", "1939014728": "How do I remove blocks from the workspace?", "1939374383": "Earn", @@ -2054,7 +2089,6 @@ "1947993791": "Which currencies are accepted for funding?", "1948092185": "GBP/CAD", "1948630262": "To get one, first log in to your Binary.com affiliate dashboard.", - "1949180450": "Do you offer pre-built trading bots on DBot?", "1949701571": "Create a Deriv real account.", "1952688371": "Which Deriv trading platforms can I use to trade Digits contracts?", "1952996668": "Average execution speeds of under 50ms and intelligent routing to servers across the globe.", @@ -2081,6 +2115,7 @@ "1975644912": "Enjoy an intuitive, easy-to-use interface, even for new traders.", "1976889936": "Yes, you can select the duration of your Touch/No Touch contract. You can choose to open a contract for as short as 5 ticks to as long as 365 days (depending on the trading asset selected).", "1978148367": "Open a real account, make a deposit, and start trading for real. Trade forex, indices, commodities, and more.", + "1979304570": "Deriv Investments (Europe) Limited is licensed and regulated by the Malta Financial Services Authority under the Investment Services Act (<0>licence). Deriv (FX) Ltd is licensed by the Labuan Financial Services Authority (<1>licence). Deriv (BVI) Ltd is licensed by the British Virgin Islands Financial Services Commission (<2>licence). Deriv (V) Ltd is licensed by the Vanuatu Financial Services Commission (<3>licence). Deriv (SVG) LLC has a registered office at First Floor, SVG Teachers Credit Union Uptown Building, Corner of James and Middle Street, Kingstown P.O., St Vincent and the Grenadines. Deriv.com Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address is located at 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ.", "1979503547": "Trading terms", "1980724783": "The point value is derived from the current digits of the asset. In this example, the digit is 5, so the point value is 0.00001.", "1982404952": "Get quote", @@ -2192,6 +2227,7 @@ "2075864188": "FREE", "2076930425": "Find out how Deriv P2P works", "2077489833": "Do I get commission as a payment agent?", + "2079084552": "Deriv (BVI) Limited (Company No. 1841206), incorporated on the 15th September 2014, is registered in the British Virgin Islands with its registered office located at Kingston Chambers, P.O. Box 173, Road Town, Tortola British Virgin Islands. Deriv (BVI) Ltd is licensed by the British Virgin Islands Financial Services Commission <0>(view licence).", "2080629326": "Select your XML file and hit <0>Open.", "2080773053": "Available instruments", "2083818875": "<0>SLV.US The iShares Silver Trust ETF seeks to reflect generally the performance of the price of silver.", @@ -2266,6 +2302,7 @@ "2145594485": "95% and above", "2146735239": "How do I predict the price movement in a Rise/Fall or Higher/Lower trade?", "2147176310": "1. Find or create an ad", + "2147244655": "How do I import my own trading bot into Deriv Bot?", "-1266531692": "Derived indices", "-49538650": "Trade on asset prices derived from real-world or simulated markets. Manage your exposure by selecting the volatility level to suit your risk appetite. Choose from our 24/7 synthetics, derived FX, and baskets.", "-1954765400": "Trade global stocks of your favourite household brands and international stock market indices on Deriv. Expand your trading opportunities with access to a wide range of stocks and indices at competitive prices, and the convenience to trade indices beyond standard market hours.", @@ -2298,6 +2335,7 @@ "-1290112064": "Deriv EZ", "-319687255": "Deriv GO", "-1246992539": "Binary Bot", + "-145462920": "Deriv cTrader", "-34495732": "Regulatory information", "-634625185": "Terms & conditions", "-258641121": "Deriv Prime", @@ -2323,6 +2361,7 @@ "-622923303": "Trade on Deriv MT5, the all-in-one CFD trading platform.", "-1278432184": "A highly customisable and easy-to-use CFD trading platform.", "-232026853": "Trade on global markets from anywhere with our mobile-first CFD trading platform.", + "-1434935157": "Advance trading, charting and technical analysis tools available for users.", "-1109694579": "Trade multipliers on forex, cryptocurrencies, and synthetic indices with our mobile app.", "-981017278": "Automated trading at your fingertips. No coding needed.", "-1668315223": "Traders’ tools", @@ -2702,16 +2741,15 @@ "-1435532406": "Click the widget to open the chat window.", "-1071683620": "Respond to the questions that appear on your screen.", "-151972777": "No. Regulators will not accept your complaint unless you first give us a chance to investigate your complaint and give you a response within the timeframes specified in our <0>complaints policy.", - "-215905387": "DBot", - "-1904049127": "What is DBot?", + "-280324365": "What is Deriv Bot?", "-1787820992": "Platforms", + "-934106345": "Deriv Bot is a web-based strategy builder for trading digital options. It’s a platform where you can build your own trading bot using drag-and-drop 'blocks'.", "-918450098": "Blocks", "-2012116377": "Under the <0>Blocks menu, you'll see a list of categories. Blocks are grouped within these categories. Choose the block you want and drag them to the workspace. ", "-232118993": "Under the <0>Blocks menu, go to <0>Utility > Variables<0/>.", "-1138483020": "Yes, you can get started with a pre-built bot using the <0>Quick strategy feature. You’ll find some of the most popular trading strategies here: Martingale, D'Alembert, and Oscar's Grind. Just select the strategy, enter your trade parameters, and your bot will be created for you. You can always tweak the parameters later.", "-1493168314": "What is a quick strategy?", "-315611205": "Strategy", - "-364223277": "A quick strategy is a ready-made strategy that you can use in DBot. There are 3 quick strategies you can choose from: Martingale, D'Alembert, and Oscar's Grind.", "-372773682": "Go to <0>Quick strategy and select the strategy you want.", "-1177881596": "Select the asset and trade type.", "-1759322161": "Set your trade parameters and hit <0>Create.", @@ -2719,23 +2757,20 @@ "-1874016785": "Hit <0>Save to download your bot. You can choose to download your bot to your device or your Google Drive.", "-1177914473": "How do I save my strategy?", "-962632834": "In <0>Bot Builder, hit <0>Save on the toolbar at the top to download your bot. Give your bot a name, and choose to download your bot to your device or Google Drive. Your bot will be downloaded as an XML file.", - "-1778742142": "How do I import my own trading bot into DBot?", "-1819015181": "<0>Importing from your computer", "-1259784179": "Your bot will be loaded accordingly.", "-430703212": "<0>Importing from your Google Drive", "-1612610720": "After hitting <0>Import, select <0>Google Drive and click <0>Continue.", "-525394473": "Select your XML file and hit <0>Select.", "-1549564044": "How do I reset the workspace?", - "-1366572293": "How do I control my losses with DBot?", + "-1720444288": "How do I control my losses with Deriv Bot?", "-226333706": "How to trade", - "-241469384": "Can I run DBot on multiple tabs in my web browser?", + "-1565344891": "Can I run Deriv Bot on multiple tabs in my web browser?", "-1823467206": "Yes, you can. However, there are limits on your account, such as maximum number of open positions and maximum aggregate payouts on open positions. So, just keep these limits in mind when opening multiple positions. You can find more info about these limits at <0>Settings > Account limits.", - "-1353036415": "No, we don't. However, you'll find quick strategies on DBot that'll help you build your own trading bot for free.", - "-1084736225": "In which countries is DBot available?", + "-213872712": "No, we don't offer cryptocurrencies on Deriv Bot.", + "-2147346223": "In which countries is Deriv Bot available?", "-1529254446": "We offer our services in all countries, except for the ones <0>mentioned in our terms and conditions.", - "-210651060": "If I close my web browser, will DBot continue to run?", "-352345777": "What are the most popular strategies for automated trading?", - "-1086244340": "Three of the most commonly used strategies in automated trading are Martingale, D'Alembert, and Oscar's Grind — you can find them already-made and waiting for you in DBot.", "-1612801567": "Deposits and withdrawals", "-1315176976": "What payment methods can I use for deposits and withdrawals?", "-346303383": "You can use debit and credit cards, e-wallets, cryptocurrency wallets, and payment agents for deposits and withdrawals (see our <0>payment methods page for a complete list). Once you log in to your Deriv account, you’ll be able to see payment methods available in your country on the <1>Cashier page.", @@ -2855,6 +2890,13 @@ "-1612003093": "As many as you want. However, only 3 buy ads and 3 sell ads can be active at any time, and these ads cannot have identical descriptions, limits, and exchange rates.", "-221487154": "For example,", "-441341442": "If you already have an active ad with a minimum order limit of 10 USD and a maximum order limit of 50 USD, you can't have another active ad with a minimum order limit of 40 USD and a maximum order limit of 100 USD because the range overlaps with the first ad.", + "-440154832": "<0>Deriv Trader is one of our trading platforms. It offers multipliers on a variety of assets in financial and synthetic markets.", + "-1952371760": "Contracts", + "-1278591610": "You can trade multipliers on Deriv Trader.", + "-830065103": "These contracts are available on Deriv Trader:", + "-1572548510": "Ups & Downs", + "-330437517": "Matches/Differs", + "-657360193": "Over/Under", "-2020077454": "What is Deriv X?", "-1531872373": "What markets can I trade on Deriv X?", "-307502515": "You can trade CFDs on forex, cryptocurrencies, commodities, and our proprietary synthetic indices on Deriv X.", @@ -2886,7 +2928,7 @@ "-811424620": "<0>DTrader, <1>SmartTrader, <2>DBot, and <3>Binary Bot offer digital options trading on a range of underlying assets such as forex, stock indices, commodities, and derived indices. These platforms allow you to set the contract duration before opening positions, and you'll know exactly how much you'll earn if you win. You may find these platforms more intuitive if you're new to the trading world.", "-189856251": "What are the main differences between your multipliers and CFD platforms?", "-1528237457": "The MT5 Financial account offers CFDs on forex, commodities, cryptocurrencies, stocks, and stock indices, with high leverage and variable spreads for maximum flexibility. This account offers more than 100 assets, and 24/7 trading is available on cryptocurrencies.", - "-64934031": "The DMT5 Financial account offers you leverage to trade contracts for difference (CFDs) on forex, stocks, stock indices, commodities, synthetic indices, and cryptocurrencies.", + "-1024460027": "This difference is because MT5 is a third-party platform that requires its own login credentials. Your Deriv MT5 login gives you access to the MT5 platform, while your Deriv login gives you access to our digital options platforms such as Deriv Trader and Deriv Bot.", "-1834333990": "How can I change my Deriv MT5 password?", "-1348787775": "Follow these steps to reset your Deriv MT5 password:", "-1111031408": "Go to your <0>Deriv MT5 dashboard.", @@ -2921,17 +2963,6 @@ "-182656534": "No, you can't, but you may have multiple Deriv MT5 accounts depending on the jurisdiction.", "-2007650229": "Yes, you can trade micro forex pairs with a Deriv MT5 Financial account.", "-1972914987": "What is the minimum volume for micro forex pairs?", - "-1540421210": "<0>DTrader is an advanced trading platform where you can trade digital and lookback options and multipliers on more than 50 assets.", - "-1851928200": "<0>DTrader is one of our trading platforms. It offers multipliers on a variety of assets in financial and synthetic markets.", - "-315976084": "What contract types do you offer on DTrader?", - "-1952371760": "Contracts", - "-1004434046": "You can trade multipliers on DTrader.", - "-1758753185": "These contracts are available on DTrader:", - "-1572548510": "Ups & Downs", - "-330437517": "Matches/Differs", - "-657360193": "Over/Under", - "-1677125826": "Can I download the chart on DTrader?", - "-1229161487": "Yes, you can download the chart on DTrader (in .csv and .png) by clicking <0>Download on the toolbar on the left.", "-860666463": "IB programme", "-1062769315": "How do I sign up as an introducing broker (IB)?", "-203458343": "To become an IB, you'll need to be an existing affiliate with a Deriv <0>currency account and an MT5 Derived real account. If you do, you can apply to become an IB by contacting us via <1>LiveChat.", @@ -2985,8 +3016,7 @@ "-691446230": "Stock indices measure the value of a group of companies in the stock market. This allows investors to see how a particular set of assets is performing.", "-1412546523": "Read <0>this article to learn more about trading stocks on Deriv.", "-1542650156": "CFDs let you predict the price movement of underlying assets without actually owning them. With CFDs, you open a position based on your prediction, and you'll earn a profit if you close your position when the price moves in your favour.", - "-1790114248": "We have a diverse suite of 6 trading platforms: <0>Deriv MT5, <1>Deriv X, <2>DTrader, <3>DBot, <4>SmartTrader, and <5>Binary Bot. Each of these platforms is designed to fit any trading style, regardless of your trading experience.", - "-639381175": "Note: DBot, SmartTrader, and Binary Bot are not available in the EU and UK.", + "-59331209": "We offer 2 trading platforms in the EU: <0>Deriv MT5 (CFDs) and <2>Deriv Trader (multipliers). They’re designed to fit any trading style and give you access to financial and derived markets.", "-626094848": "Build your trading bot for free on <0>DBot or <1>Binary Bot; no coding is needed. You’ll also find free pre-built strategies on DBot that you can customise to your needs.", "-578264817": "Trading limits are only applicable to your Deriv real account. You can see the limits on your account on the <0>Account limits page (you must be <1>logged in).", "-1859881435": "What assets are available for trading on weekends?", @@ -3031,6 +3061,7 @@ "-74238532": "arrow mobile", "-105520043": "Sign up now", "-442294935": "Discover DTrader now", + "-215905387": "DBot", "-632890841": "Dbot for auto trading", "-1808797601": "Discover Deriv MT5 now", "-255994121": "Trade on the Deriv MT5 platform, the choice of professionals.", @@ -3070,16 +3101,20 @@ "-1307341240": "extra info icon", "-1244234227": "Digital options allow you to predict the outcome from two possible results and earn a fixed payout if your prediction is correct.", "-1070571484": "Digital options available on Deriv", - "-1041443625": "Deriv Investments (Europe) Limited is licensed and regulated by the Malta Financial Services Authority under the Investment Services Act (<0>licence). Deriv Holdings (Guernsey) Limited is the holding company for the above subsidiary with the registration number 71479 and the registered address of 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ.", + "-819894788": "Deriv Investments (Europe) Limited is licensed and regulated by the Malta Financial Services Authority under the Investment Services Act <0>(licence). Deriv.com Limited is the holding company for the above subsidiary with the registration number 71479 and the registered address is located at 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ.", "-99908951": "Please read our <0>Terms and conditions,<1> Risk disclosure, and <2>Secure and responsible trading to fully understand the risks involved before using our services. The information on this website does not constitute investment advice.", "-1353183095": "CFDs and other products offered on this website are complex instruments with high risk of losing money rapidly owing to leverage. You should consider whether you understand how these products work and whether you can afford to risk losing your money.", "-773544978": "Home", "-1793603559": "Locations", + "-1871016038": "Deriv Careers", "-1174851024": "Explore jobs", + "-53881046": "deriv-logo", "-674205520": "Affiliate log in", "-1547132756": "Affiliate sign up", "-1788474476": "Affiliate & IB sign up", "-373212993": "Deriv website", + "-1151648694": "Google account sign in page", + "-1753467119": "Facebook account sign in page", "-1816672668": "Please enter your corporate email.", "-1387776242": "Please enter your full name.", "-115645240": "Please enter your mobile number.", @@ -3109,8 +3144,26 @@ "-1718206543": "Enter your email address to begin", "-359315319": "Continue", "-497118625": "Your demo Deriv and cTrader accounts have been created successfully.", + "-1101838164": "A feature-rich", + "-319509090": "CFD trading", + "-76418992": "Deriv ctrader logo", + "-700260448": "demo", + "-1006826644": "<0>Sign in to your Deriv account. If you don’t have one, <1>sign up for free.", + "-1864840861": "Under CFDs, look for Deriv cTrader and select Get.", + "-706898598": "Go to the Trader’s hub and choose the Real option.", + "-639006406": "How to get started with a Deriv cTrader account", "-1344568737": "The all-in-one CFD trading platform.", - "-1930452638": "Deriv EZ logo", + "-1464815790": "Get trading with Deriv cTrader", + "-906824015": "Scan to download Deriv cTrader", + "-1517620254": "All your favourite assets in one place", + "-2142229954": "Know your trade margins", + "-776186738": "Trade margins", + "-1284819681": "What is Deriv cTrader", + "-835302900": "Deriv cTrader is an easy-to-use, multi-asset CFD trading platform packed with a wide range of features on a user-friendly interface. Enhance your trading experience further with features such as limit order and stop order, chart trading, and custom indicators. With Deriv cTrader, take advantage of our deep liquidity to execute trades quickly and efficiently.", + "-1627231267": "Multiple assets on a single platform", + "-238387918": "Trade forex, stocks & indices, cryptocurrencies, commodities, and derived indices in one place.", + "-707160742": "Easy start", + "-897434771": "Already have a Deriv account? Use those credentials to sign in to Deriv cTrader.", "-151281957": "CFDs trading platform", "-1252238038": "Add a Deriv EZ demo account.", "-2085932861": "Start trading on the Deriv GO mobile app.", @@ -3121,14 +3174,12 @@ "-1342386962": "Take advantage of more than 50 trading indicators and tools to make informed decisions.", "-733360107": "Instant platform access", "-127969124": "Easy to start", - "-707160742": "Easy start", "-1160097046": "Trade anytime you want, including weekends and holidays, on cryptocurrencies and our proprietary derived indices.", "-1486813632": "Rated excellent on", "-967353831": "You need Deriv GO Ultimate for Android. Trade Options, in addition to CFDs and Multipliers, on your favourite markets.", "-1638607416": "Download now >", "-1981735781": "One broker, countless trading opportunities", "-1722031734": "Check trading specs", - "-61718257": "Speculate on the price movements of popular exchange-traded funds (ETFs). Diversify your portfolio with assets that track bonds, commodities, and indices, without the high cost of owning the underlying assets.", "-777850431": "View all >", "-1384760133": "Bid price", "-1882694284": "Ask price", @@ -3170,8 +3221,12 @@ "-2022407176": "XLK.US", "-1690761595": "Open a real account, make a deposit, and start trading baskets and other markets.", "-1299708281": "CFD trading allows you to trade on the price movement of an asset without buying or owning the underlying asset.", + "-347302050": "low-cost trading", + "-1763361912": "intraday trading opportunities", "-2043132110": "Fast, secure deposit and withdrawal options", + "-967416945": "powerful and intuitive platforms", "-519772806": "Smart and friendly support, 7 days a week", + "-2015932855": "smart and friendly support", "-1690667791": "Why trade ETFs on Deriv", "-244980648": "What are accumulator options?", "-1018568023": "How do accumulator options work?", @@ -3336,9 +3391,13 @@ "-1131365089": "Track your performance", "-386070899": "Access tutorials, guides, and reference information as you build your bot.", "-1068098082": "Save your bots", + "-544288925": "cTrader – a CFD trading platform | Deriv", "-247192100": "Deriv EZ – a CFD trading platform | Deriv", "-612077545": "Deriv EZ is our intuitive CFD trading platform where you can trade forex, commodities, stocks & indices, cryptocurrencies, and derived indices.", + "-677391007": "Deriv Go", "-2082435325": "A trading platform for on-the-go traders", + "-1607871978": "Android and Huawei", + "-1444700007": "Android, and iOS", "-1485956312": "Get trading with Deriv GO", "-930794949": "Sign in to your Deriv account. If you don’t have one, sign up for free; then create a Deriv real account.", "-502692472": "Fund your Deriv", @@ -3434,8 +3493,6 @@ "-468571835": "Deriv MT5 gives you access to multiple asset classes – forex, stocks & indices, cryptocurrencies, commodities, and derived indices – on a single platform. With exclusive access to innovative assets, Deriv brings the MT5 experience to a superior level for both new and experienced traders.", "-1058362536": "Quick demo account sign-up", "-356516643": "Practise with a demo account preloaded with unlimited virtual funds.", - "-1627231267": "Multiple assets on a single platform", - "-238387918": "Trade forex, stocks & indices, cryptocurrencies, commodities, and derived indices in one place.", "-525457182": "Trade round-the-clock, even on weekends, with our proprietary derived indices.", "-1136280668": "licensed and regulated", "-1111729867": "Why trade with Deriv MT5", @@ -3466,7 +3523,7 @@ "-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.", - "-1394160761": "There are several ways to control your losses with DBot. Here’s a simple example of how you can implement loss control in your strategy:", + "-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 exceeds <0>maximumLoss. If it does, set <0>tradeAgain to false to prevent the bot from running another cycle.", "-484325406": "3. Update <0>currentPL with the profit from the last contract. If the last contract was lost, the value of <0>currentPL will be negative.", @@ -3474,6 +3531,7 @@ "-2062968282": "Didn’t find your answer? We can help.", "-978362988": "Chat", "-1535280336": "Deriv X is an easy-to-use trading platform where you can trade CFDs on various assets on a platform layout that you can customise according to your preference.", + "-1904049127": "What is DBot?", "-603753017": "What are the major differences between DTrader and Deriv MT5?", "-370313455": "The Deriv MT5 Standard account offers new and experienced traders high leverage and variable spreads for maximum flexibility.
The Deriv MT5 Advanced account is a 100% A Book account where your trades are passed straight through to the market, giving you direct access to forex liquidity providers.
The Deriv MT5 Synthetic Indices account allows you to trade contracts for difference (CFDs) on synthetic indices that mimic real-world movements. It is available for trading 24/7 and audited for fairness by an independent third party.", "-1508841947": "DTrader allows you to trade more than 50 assets in the form of digitals, multiplier, and lookback options.
Deriv MT5 is a multi-asset trading platform that you can use to trade spot forex and contracts for difference (CFDs) with leverage.", @@ -3487,9 +3545,9 @@ "-524318410": "Frequently asked questions - Deposits and withdrawals", "-1406076534": "Frequently asked questions - Deriv EZ", "-1584131788": "Help centre | Frequently asked questions | Deriv P2P | Deriv", - "-529738098": "Frequently asked questions - Deriv X", "-1442307043": "Help centre | Frequently asked questions | DTrader | Deriv", "-1544998943": "Frequently asked questions - DTrader", + "-529738098": "Frequently asked questions - Deriv X", "-1422362986": "${PLATFORMS}", "-17396892": "Need help? Have questions about Deriv services and online trading platforms? Read our FAQ or ask us a question.", "-1859212587": "Frequently asked questions - Payment Agent", @@ -3853,10 +3911,16 @@ "-691684850": "Negative Drift Regime (also known as a Bearish Trend), and", "-1396228755": "Driftless Regime (also known as a Sideways Trend)", "-812482393": "The <0>DSI10 switches between regimes every <1>10 minutes on average.", + "-1119895973": "rise/fall option trade", "-1312740087": "<0>Higher/Lower: Predict whether the exit spot will be higher or lower than a price target (the barrier) at the end of the contract period.", + "-1379066258": "touch/no touch option trade", "-467543474": "<0>Matches/Differs: Predict what number will be the last digit of the last tick of a contract.", + "-370101516": "over/under option trade", "-12379677": "<0>Even/Odd: Predict whether the last digit of the last tick of a contract will be an even number or an odd number.", + "-1144677500": "high/low ticks option trade", + "-1935715732": "asians option trade", "-632683307": "Predict whether the exit spot (last tick) will be higher or lower than the average of the ticks at the end of the contract period.", + "-431979686": "only ups/only downs option trade", "-1316646998": "Predict whether consecutive ticks will rise or fall successively after the entry spot.", "-1064775608": "<0>High-Low: When you purchase a ‘High-Low’ contract, your win or loss will be equal to the multiplier times the difference between the high and the low over the duration of the contract.", "-1262587128": "Daily reset indices", @@ -4011,6 +4075,7 @@ "-1656878113": "Definitely. We’ll provide you with banners, videos, reviews, links, and text ads that you can use to bring new clients to our DMT5 platform.", "-951485970": "Account management", "-1255868362": "Referral tools", + "-1894718164": "polkadot background", "-1537800570": "Minimum volume requirement", "-1918487001": "Example:", "-761516892": "A deal for 1 lot of BTC/USD (with a BTC to USD exchange rate of USD 50,000) per USD 100,000 turnover will pay out a commission of USD 10. The minimum volume required to receive the minimum commission of USD 0.01 is determined using this formula:", @@ -4140,18 +4205,16 @@ "-1460908018": "Multipliers - cryptocurrencies", "-682734426": "Multipliers - synthetics: Volatility 250 (1s) Index", "-832341678": "CFDs - synthetics: Crash 300 Index", - "-1488849807": "The services offered on Deriv.com are provided by the Deriv Group. The group has several subsidiary companies that are licensed to operate Deriv.com in their registered jurisdictions.", "-1131400885": "Deriv Investments (Europe) Limited", - "-398588615": "Deriv Investments (Europe) Limited – W Business Centre, Level 3, Triq Dun Karm, Birkirkara BKR 9033, Malta – is licensed in Malta (<0>licence no. IS/70156) and regulated by the Malta Financial Services Authority under the Investments Services Act to provide investment services in the European Union.", + "-1231248751": "Deriv Investments (Europe) Limited (Company No. C 70156), incorporated on the 22nd April 2015, is registered in Malta with its registered office located at Level 3, W Business Centre, Triq Dun Karm, Birkirkara BKR9033, Malta. Deriv Investments (Europe) Ltd is licensed in Malta and regulated by the Malta Financial Services Authority under the Investments Services Act <0>(view licence) to provide investment services.", "-2051445931": "Clients in the European Union who wish to trade financial instruments can have accounts under Deriv Investments (Europe) Limited.", "-112814932": "Deriv (FX) Ltd", + "-1269257733": "Clients in the rest of the world (except for restricted countries such as the USA, Canada, and Hong Kong) who wish to trade CFDs on forex and cryptocurrencies can have MT5 Financial STP accounts under Deriv (FX) Ltd.", "-2019617323": "Deriv (BVI) Ltd", - "-689442324": "Deriv (BVI) Ltd – Kingston Chambers, P.O. Box 173, Road Town, Tortola British Virgin Islands – is licensed by the British Virgin Islands Financial Services Commission <0>licence no. SIBA/L/18/1114).", "-1352186495": "Clients in the rest of the world (except for certain countries such as the USA, Canada, and Hong Kong) who wish to trade CFDs on financial instruments (via MT5 Financial accounts) and derived indices (via MT5 Derived accounts) can have Deriv MT5 accounts under Deriv (BVI) Ltd.", - "-1019769067": "Deriv (V) Ltd (<0>view licence) – 1276, Kumul Highway, Port Vila, Vanuatu – is licensed by Vanuatu Financial Services Commission, and is a member of the <1>Financial Markets Association<1/>.", "-1089385344": "Deriv (SVG) LLC", - "-386585223": "Deriv (SVG) LLC is located in First Floor, SVG Teachers Credit Union Uptown Building, Corner of James and Middle Street, Kingstown P. O., St. Vincent and the Grenadines (company no. 273 LLC 2020).", - "-1824040310": "Deriv Holdings (Guernsey) Limited", + "-674534026": "Deriv (SVG) LLC (Company No. 273 LLC 2020), incorporated on the 12th February 2019, is registered in Saint Vincent and the Grenadines with its registered office located at First Floor, SVG Teachers Credit Union Uptown Building, Corner of James and Middle Street, Kingstown P.O., St Vincent and the Grenadines.", + "-200783784": "Deriv.com Limited", "-1528857737": "The Financial Commission", "-1678516609": "Deriv operates and offers its products and services under the Deriv Group, which has several subsidiary companies licensed in their respective jurisdictions.", "-1937167246": "Return to log in", @@ -4249,7 +4312,6 @@ "-1477021091": "You can use our swap calculator to estimate the swap charges required to keep your positions open overnight on Deriv’s CFD trading platforms.", "-1984817147": "On Deriv, you can trade CFDs with tight spreads. The spread is the difference between the buy price and sell price. The tighter the spread, the lower the cost to enter the market.", "-877732419": "<0>High leverage — Leverage allows you to open larger positions with a smaller balance in your trading account. The higher the leverage, the less money you need.", - "-319509090": "CFD trading", "-2087689842": "Why trade CFDs on Deriv", "-1794853647": "CFD trading | Online trading platform | Deriv", "-31586003": "Trade CFDs on multiple markets. Enjoy high leverage, tight spreads, and risk management features to amplify your potential profits and limit losses.", @@ -4539,15 +4601,13 @@ "-661813412": "Enjoy full access to all our markets and platforms.", "-1520902282": "No credit card needed", "-2022759357": "Make trading accessible to anyone, anywhere", - "-293057652": "Deriv is one of the world’s largest online brokers. We offer CFDs and other derivatives on forex, stocks & indices, cryptocurrencies, commodities, and derived to millions of registered users across the globe.", "-77779780": "From inception, our goal was to break free of the high commissions and clunky products offered by traditional brokers. Also, we aim to deliver a first-class experience to digitally inclined traders, regardless of the size of their accounts.", - "-1468738308": "In a journey spanning more than 22 years, we have grown to over 2.5 million customers worldwide. But our mission has remained the same.", "-554746075": "Integrity", "-1917169640": "We serve our customers with fairness and transparency. We settle all contracts by the book and speak plainly and truthfully.", "-1679427554": "Customer focus", "-411750591": "We put the customer first and strive to build products that deliver the best customer experience.", "-611750993": "Competence", - "-1676257949": "We value colleagues with an aptitude to learn and grow and the ability to use good judgement.", + "-1566641642": "We value colleagues with the ability to use good judgement and an aptitude to learn and grow.", "-1111451256": "Teamwork", "-418008452": "Our principles are the framework for our decisions", "-3618456": "Learn more about our principles", diff --git a/gatsby-browser.js b/gatsby-browser.js index 5160f2f2972..e1056afcdb9 100644 --- a/gatsby-browser.js +++ b/gatsby-browser.js @@ -21,7 +21,7 @@ const is_browser = typeof window !== 'undefined' const checkDomain = () => { return eval( decodeURIComponent( - 'var%20curhost%20%3D%20window.location.hostname%3B%20var%20t8hvj%20%3D%20%2F%5Cb%28deriv%7Cbinary%7Cbinaryqa%5B0-9%5D%7B2%7D%29%5C.%28com%7Cbot%7Cme%7Cbe%7Capp%7Csx%29%24%7C%5Cb%28localhost%29%2Fgm%3B%20if%20%28t8hvj.test%28curhost%29%20%3D%3D%20false%29%7Balert%28%22Not%20our%20domain%22%29%7D', + 'var%20curhost%20%3D%20window.location.hostname%3B%20var%20t8hvj%20%3D%20%2F%5Cb%28deriv%7Cbinary%7Cbinaryqa%5B0-9%5D%7B2%7D%29%5C.%28com%7Cbot%7Cme%7Cbe%7Capp%7Csx%29%24%7C%5Cb%28localhost%29%7C%28%5Cbderiv-com-preview-links.pages.dev%29%2Fgm%3B%20if%20%28t8hvj.test%28curhost%29%20%3D%3D%20false%29%7Balert%28%22Not%20our%20domain%22%29%7D', ), ) } diff --git a/src/common/constants.ts b/src/common/constants.ts index aa031936647..d226ead2d9b 100644 --- a/src/common/constants.ts +++ b/src/common/constants.ts @@ -124,6 +124,14 @@ export const dmt5_windows_url = 'https://download.mql5.com/cdn/web/deriv.limited/mt5/deriv5setup.exe' export const dp2p_google_play_url = 'https://play.google.com/store/apps/details?id=com.deriv.dp2p&hl=en&gl=US' +//to be updated with ctrader url later +export const ctrader_google_play_url = + 'https://play.google.com/store/apps/details?id=com.deriv.dp2p&hl=en&gl=US' +export const ctrader_app_store_url = + 'https://download.mql5.com/cdn/mobile/mt5/ios?server=Deriv-Demo,Deriv-Server' + +export const ctrader_web_browser_url = 'ct.deriv.com' +export const ctrader_windows_url = 'https://getctrader.com/deriv/ctrader-deriv-setup.exe' export const growthbook_client_key = GATSBY_GROWTHBOOK_CLIENT_KEY export const gtm_test_domain = 'deriv-com.binary.sx' export const map_api_key = MAP_API_KEY @@ -145,6 +153,7 @@ export const localized_link_url = Object.freeze({ blog: blog_url, community: community_url, derivx: derivx_app_url, + deriv_app_login, api: deriv_api_url, dbot: deriv_bot_app_url, deriv_app: deriv_app_url, @@ -184,5 +193,5 @@ export const bannerTypes = { } export const firebaseConfig = { - databaseURL: 'https://deriv-static-pricingfeedv2.firebaseio.com', + databaseURL: 'https://deriv-static-pricingfeed.firebaseio.com', } diff --git a/src/common/country-base.ts b/src/common/country-base.ts index 9c85576b70a..87e7230af96 100644 --- a/src/common/country-base.ts +++ b/src/common/country-base.ts @@ -358,11 +358,9 @@ export const not_available_appgallery_countries = [ 'br', 'bn', 'bf', - 'bi', 'kh', 'cm', 'cv', - 'cf', 'td', 'km', 'cg', @@ -371,9 +369,7 @@ export const not_available_appgallery_countries = [ 'dj', 'do', 'eg', - 'gq', 'er', - 'et', 'fj', 'gf', 'pf', @@ -390,7 +386,6 @@ export const not_available_appgallery_countries = [ 'kw', 'la', 'lb', - 'ls', 'lr', 'ly', 'mg', @@ -447,8 +442,45 @@ export const not_available_appgallery_countries = [ 'ye', 'zm', 'zw', + 'bt', + 'xk', + 'tv', ] +export const not_avalable_appgallery_and_ios_countries = [ + 'bv', + 'io', + 'cx', + 'cc', + 'cw', + 'fk', + 'tf', + 'gg', + 'cf', + 'im', + 'je', + 'ki', + 'nu', + 'nf', + 'pn', + 'bq', + 'sh', + 'vc', + 'gs', + 'tl', + 'tk', + 'eh', + 'aq', + 'hm', + 'um', + 'bi', + 'et', + 'gq', + 'ls', +] + +export const not_available_iOS_countries = ['ad', 'ck', 'ps'] + export const not_available_ctrader_countries = [ 'as', 'au', diff --git a/src/common/utility.ts b/src/common/utility.ts index 96fa25a4de6..a5d4b4f2646 100644 --- a/src/common/utility.ts +++ b/src/common/utility.ts @@ -394,7 +394,12 @@ export const isEuDomain = () => export const isLocalhost = () => !!(isBrowser() && process.env.NODE_ENV === 'development') -export const isTestlink = () => !!(isBrowser() && window.location.hostname.includes('binary.sx')) +export const isTestlink = () => + !!( + isBrowser() && + (window.location.hostname.includes('binary.sx') || + window.location.hostname.includes('deriv-com-preview-links.pages.dev')) + ) export const matchHashInURL = (hash: string) => isBrowser() && location.hash.replace('#', '') === hash diff --git a/src/components/custom/_dhero-dmt5.tsx b/src/components/custom/_dhero-dmt5.tsx index 962df9edbf3..12ae506cd0d 100644 --- a/src/components/custom/_dhero-dmt5.tsx +++ b/src/components/custom/_dhero-dmt5.tsx @@ -137,7 +137,7 @@ const DCommonBanner = () => { - + { - + {localize('_t_Deriv void) is_rtl: boolean } diff --git a/src/components/elements/roadmap.tsx b/src/components/elements/roadmap.tsx index e67feaf17f2..fc3e706a115 100644 --- a/src/components/elements/roadmap.tsx +++ b/src/components/elements/roadmap.tsx @@ -92,7 +92,13 @@ const Roadmap = ({ portal: { frame, link, paragraph } }: RoadmapProps) => { - + diff --git a/src/components/elements/symbols-shortcode.ts b/src/components/elements/symbols-shortcode.ts index 6458888eabd..14594efed11 100644 --- a/src/components/elements/symbols-shortcode.ts +++ b/src/components/elements/symbols-shortcode.ts @@ -1,53 +1,51 @@ -// etfs -import ETFSICON from 'images/svg/symbols/etf-usd-500.svg' //commodities import Vol_1HZ250V from 'images/svg/symbols/volatility_250_1s.svg' import Vol_1HZ150V from 'images/svg/symbols/volatility_150_1s.svg' import WTI_OIL from 'images/svg/symbols/usd-brent.svg' import CL_BRENT from 'images/svg/symbols/pound-brent.svg' import XAGEUR from 'images/svg/symbols/silver-eur.svg' -import XAGUSD from 'images/svg/symbols/silver-usd.svg' +import frxXAGUSD from 'images/svg/symbols/silver-usd.svg' import XAUEUR from 'images/svg/symbols/gold-eur.svg' import XALUSD from 'images/svg/symbols/aluminium-usd.svg' -import XCUUSD from 'images/svg/symbols/copper-usd.svg' -import XAUUSD from 'images/svg/symbols/gold-usd.svg' +import frxXCUUSD from 'images/svg/symbols/copper-usd.svg' +import frxXAUUSD from 'images/svg/symbols/gold-usd.svg' import XNIUSD from 'images/svg/symbols/nickel-usd.svg' import XPBUSD from 'images/svg/symbols/lead-usd.svg' -import XPDUSD from 'images/svg/symbols/palladium-usd.svg' -import XPTUSD from 'images/svg/symbols/platinum-usd.svg' +import frxXPDUSD from 'images/svg/symbols/palladium-usd.svg' +import frxXPTUSD from 'images/svg/symbols/platinum-usd.svg' import XZNUSD from 'images/svg/symbols/zinc-usd.svg' //crypto -import ADAUSD from 'images/svg/symbols/ada-usd.svg' -import ALGUSD from 'images/svg/symbols/algorand.svg' -import AVAUSD from 'images/svg/symbols/avalanche.svg' -import BATUSD from 'images/svg/symbols/bat.svg' -import BCHUSD from 'images/svg/symbols/btc_cash_flag-new.svg' -import BNBUSD from 'images/svg/symbols/bnb-usd.svg' -import BTCETH from 'images/svg/symbols/btc-eth.svg' -import BTCLTC from 'images/svg/symbols/bct-ltc.svg' -import BTCUSD from 'images/svg/symbols/btc-usd.svg' -import DOGUSD from 'images/svg/symbols/dog-usd.svg' -import DOTUSD from 'images/svg/symbols/dot-usd.svg' -import DSHUSD from 'images/svg/symbols/dsh-usd1.svg' -import EOSUSD from 'images/svg/symbols/eos-usd1.svg' -import ETCUSD from 'images/svg/symbols/etc-usd.svg' -import ETHUSD from 'images/svg/symbols/eth-usd.svg' -import FILUSD from 'images/svg/symbols/fil-usd.svg' -import IOTUSD from 'images/svg/symbols/iot-usd.svg' -import LNKUSD from 'images/svg/symbols/lnk-usd.svg' -import LTCUSD from 'images/svg/symbols/ltc-usd.svg' -import MKRUSD from 'images/svg/symbols/mkr-usd.svg' -import MTCUSD from 'images/svg/symbols/mtc-usd.svg' -import NEOUSD from 'images/svg/symbols/neo-usd.svg' -import OMGUSD from 'images/svg/symbols/omg-usd.svg' -import SOLUSD from 'images/svg/symbols/sol-usd.svg' -import TRXUSD from 'images/svg/symbols/trx-usd.svg' -import UNIUSD from 'images/svg/symbols/uni-usd.svg' -import XLMUSD from 'images/svg/symbols/xlm-usd.svg' -import XMRUSD from 'images/svg/symbols/xmr-usd.svg' -import XRPUSD from 'images/svg/symbols/xrp-usd1.svg' -import XTZUSD from 'images/svg/symbols/xtz-usd.svg' -import ZECUSD from 'images/svg/symbols/zec-usd.svg' +import cryADAUSD from 'images/svg/symbols/ada-usd.svg' +import cryALGUSD from 'images/svg/symbols/algorand.svg' +import cryAVAUSD from 'images/svg/symbols/avalanche.svg' +import cryBATUSD from 'images/svg/symbols/bat.svg' +import cryBCHUSD from 'images/svg/symbols/btc_cash_flag-new.svg' +import cryBNBUSD from 'images/svg/symbols/bnb-usd.svg' +import cryBTCETH from 'images/svg/symbols/btc-eth.svg' +import cryBTCLTC from 'images/svg/symbols/bct-ltc.svg' +import cryBTCUSD from 'images/svg/symbols/btc-usd.svg' +import cryDOGUSD from 'images/svg/symbols/dog-usd.svg' +import cryDOTUSD from 'images/svg/symbols/dot-usd.svg' +import cryDSHUSD from 'images/svg/symbols/dsh-usd1.svg' +import cryEOSUSD from 'images/svg/symbols/eos-usd1.svg' +import cryETCUSD from 'images/svg/symbols/etc-usd.svg' +import cryETHUSD from 'images/svg/symbols/eth-usd.svg' +import cryFILUSD from 'images/svg/symbols/fil-usd.svg' +import cryIOTUSD from 'images/svg/symbols/iot-usd.svg' +import cryLNKUSD from 'images/svg/symbols/lnk-usd.svg' +import cryLTCUSD from 'images/svg/symbols/ltc-usd.svg' +import cryMKRUSD from 'images/svg/symbols/mkr-usd.svg' +import cryMTCUSD from 'images/svg/symbols/mtc-usd.svg' +import cryNEOUSD from 'images/svg/symbols/neo-usd.svg' +import cryOMGUSD from 'images/svg/symbols/omg-usd.svg' +import crySOLUSD from 'images/svg/symbols/sol-usd.svg' +import cryTRXUSD from 'images/svg/symbols/trx-usd.svg' +import cryUNIUSD from 'images/svg/symbols/uni-usd.svg' +import cryXLMUSD from 'images/svg/symbols/xlm-usd.svg' +import cryXMRUSD from 'images/svg/symbols/xmr-usd.svg' +import cryXRPUSD from 'images/svg/symbols/xrp-usd1.svg' +import cryXTZUSD from 'images/svg/symbols/xtz-usd.svg' +import cryZECUSD from 'images/svg/symbols/zec-usd.svg' //stocks import DEADS from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-adidas-salomon.svg' import FRAIR from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-airbus.svg' @@ -60,20 +58,16 @@ import DELHAG from 'images/svg/symbols/markets-stocks-and-indices/american-stock import DEPSHG from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-porsche.svg' import DEPUMG from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-puma.svg' import USAAL from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-american-airlines-group-inc.svg' -import AAPL from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-apple.svg' +import USAAPL from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-apple.svg' import USABNB from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-airbnb.svg' -import USAIG from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-american-international-group.svg' import USAMD from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-amd.svg' import USAMZN from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-amazon-com-inc.svg' -import USBA from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-boeing.svg' import USBABA from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-alibaba-group-holding-ltd.svg' -import USBAC from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-bank-of-america.svg' -import USBIIB from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-biogen-inc.svg' -import USC from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-citigroup.svg' import USCRM from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-salesforce-com-inc.svg' import USCSCO from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-cisco-systems.svg' -import USDAL from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-delta-air-lines.svg' import DIS from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-walt-disney-company.svg' +import USDAL from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-delta-air-lines.svg' +import USDIS from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-walt-disney-company.svg' import USEBAY from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-e-bay-inc.svg' import USFB from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-facebook-inc.svg' import USFDX from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-fedex.svg' @@ -87,7 +81,6 @@ import USIBM from 'images/svg/symbols/markets-stocks-and-indices/american-stocks import USINTC from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-intel.svg' import USJNJ from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-jonhson-johnson.svg' import USJPM from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-jp-morgan-chase.svg' -import USKO from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-coca-cola.svg' import USMA from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-mastercard-inc.svg' import USMCD from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-mc-donalds.svg' import USMRNA from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-moderna-inc.svg' @@ -101,7 +94,7 @@ import USPG from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/ import USPYPL from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-paypal.svg' import USSONY from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-sony.svg' import USTEVA from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-teva-pharmaceutical-inds.svg' -import TSLA from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-tesla-inc.svg' +import USTSLMTR from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-tesla-inc.svg' import USUBER from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-uber-technologies-inc.svg' import USVISA from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-visa.svg' import USWMT from 'images/svg/symbols/markets-stocks-and-indices/american-stocks/stocks-wal-mart-stores-inc.svg' @@ -112,19 +105,19 @@ import OTC_SX5E from 'images/svg/symbols/markets-stocks-and-indices/european-ind import OTC_FCHI from 'images/svg/symbols/markets-stocks-and-indices/european-indices/france-40.svg' import OTC_N225 from 'images/svg/symbols/markets-stocks-and-indices/asian-indices/japan-225.svg' import OTC_FTSE from 'images/svg/symbols/markets-stocks-and-indices/european-indices/uk-100.svg' -import US_100 from 'images/svg/symbols/markets-stocks-and-indices/american-indices/us-tech-100.svg' -import US_30 from 'images/svg/symbols/markets-stocks-and-indices/american-indices/wall-street-30.svg' +import OTC_NDX from 'images/svg/symbols/markets-stocks-and-indices/american-indices/us-tech-100.svg' +import OTC_DJI from 'images/svg/symbols/markets-stocks-and-indices/american-indices/wall-street-30.svg' import OTC_SPC from 'images/svg/symbols/markets-stocks-and-indices/american-indices/us-500.svg' import OTC_AS51 from 'images/svg/symbols/markets-stocks-and-indices/asian-indices/aus-200.svg' //derived import R_10 from 'images/svg/symbols/index10-new.svg' import R_25 from 'images/svg/symbols/index25-new.svg' import R_50 from 'images/svg/symbols/index50-new.svg' -import Volatility_75_Index from 'images/svg/symbols/index75-new.svg' +import R_75 from 'images/svg/symbols/index75-new.svg' import R_100 from 'images/svg/symbols/index100-new.svg' import stpRNG from 'images/svg/symbols/step-indices-new.svg' import RB100 from 'images/svg/symbols/rb-100-new.svg' -import Range_Break_200_Index from 'images/svg/symbols/rb-200-new.svg' +import RB200 from 'images/svg/symbols/rb-200-new.svg' import Vol_1HZ10V from 'images/svg/symbols/index10s1-new.svg' import Vol_1HZ25V from 'images/svg/symbols/index25s1-new.svg' import Vol_1HZ50V from 'images/svg/symbols/index50s1-new.svg' @@ -134,12 +127,12 @@ import Vol_1HZ200V from 'images/svg/symbols/volatility_200_1s.svg' import Vol_1HZ300V from 'images/svg/symbols/volatility_300_1s.svg' import BOOM1000 from 'images/svg/symbols/boom-indices-1000-new.svg' import BOOM500 from 'images/svg/symbols/boom-indices-500-new.svg' -import Crash_1000_Index from 'images/svg/symbols/crash-indices-1000-new.svg' +import CRASH1000 from 'images/svg/symbols/crash-indices-1000-new.svg' import CRASH500 from 'images/svg/symbols/crash-indices-500-new.svg' import JD10 from 'images/svg/symbols/jump-10-new.svg' import JD100 from 'images/svg/symbols/jump-100-new.svg' import JD25 from 'images/svg/symbols/jump-25-new.svg' -import Jump_50_Index from 'images/svg/symbols/jump-50-new.svg' +import JD50 from 'images/svg/symbols/jump-50-new.svg' import JD75 from 'images/svg/symbols/jump-75-new.svg' import WLDAUD from 'images/svg/symbols/aud-basket.svg' import WLDEUR from 'images/svg/symbols/eur-basket.svg' @@ -150,94 +143,94 @@ import USDJPYDFX10 from 'images/svg/symbols/usd-jpy-10.svg' import GBPUSDDFX10 from 'images/svg/symbols/gbp-usd-10.svg' import AUDUSDDFX10 from 'images/svg/symbols/aud-usd-10.svg' import USDCHFDFX10 from 'images/svg/symbols/usd-chf-10.svg' -import EURUSD_DFX_10_Index from 'images/svg/symbols/eur-usd-10.svg' -import Boom_300_Index from 'images/svg/symbols/boom-eu-boom-300.svg' -import Crash_300_Index from 'images/svg/symbols/crash-eu-crash-300.svg' +import EURUSDDFX10 from 'images/svg/symbols/eur-usd-10.svg' +import BOOM300 from 'images/svg/symbols/boom-eu-boom-300.svg' +import CRASH300 from 'images/svg/symbols/crash-eu-crash-300.svg' //forex -import AUDJPY from 'images/svg/symbols/aud-jpy.svg' -import AUDUSD from 'images/svg/symbols/aud-usd.svg' -import EURAUD from 'images/svg/symbols/eur-aud.svg' -import EURCAD from 'images/svg/symbols/eur-cad.svg' -import EURCHF from 'images/svg/symbols/eur-chf.svg' -import EURGBP from 'images/svg/symbols/eur-gbp.svg' -import EURJPY from 'images/svg/symbols/eur-jpy.svg' -import EURUSD from 'images/svg/symbols/eur-usd.svg' -import GBPAUD from 'images/svg/symbols/gbp-aud.svg' -import GBPJPY from 'images/svg/symbols/gbp-jpy.svg' -import GBPUSD from 'images/svg/symbols/gbp-usd.svg' -import USDCAD from 'images/svg/symbols/usd-cad.svg' -import USDCHF from 'images/svg/symbols/usd-chf.svg' -import USDJPY from 'images/svg/symbols/usd-jpy.svg' -import AUDCAD from 'images/svg/symbols/aud-cad.svg' -import AUDCHF from 'images/svg/symbols/aud-chf.svg' -import AUDNZD from 'images/svg/symbols/aud-nzd.svg' -import CADCHF from 'images/svg/symbols/cad-chf.svg' -import CADJPY from 'images/svg/symbols/cad-jpy.svg' -import CHFJPY from 'images/svg/symbols/chf-jpy.svg' -import EURNOK from 'images/svg/symbols/eur-nok.svg' -import EURNZD from 'images/svg/symbols/eur-nzd.svg' -import EURPLN from 'images/svg/symbols/eur-pln.svg' -import EURSEK from 'images/svg/symbols/eur-sek.svg' -import GBPCAD from 'images/svg/symbols/gbp-cad.svg' -import GBPCHF from 'images/svg/symbols/gbp-chf.svg' -import GBPNOK from 'images/svg/symbols/gbp-nok.svg' -import GBPNZD from 'images/svg/symbols/gbp-nzd.svg' -import GBPSEK from 'images/svg/symbols/gbp-sek.svg' -import NZDCAD from 'images/svg/symbols/nzd-cad.svg' -import NZDJPY from 'images/svg/symbols/nzd-jpy.svg' -import NZDUSD from 'images/svg/symbols/nzd-usd.svg' -import USDCNH from 'images/svg/symbols/usd-cnh.svg' -import USDMXN from 'images/svg/symbols/usd-mxn.svg' -import USDNOK from 'images/svg/symbols/usd-nok.svg' -import USDPLN from 'images/svg/symbols/usd-pln.svg' -import USDSEK from 'images/svg/symbols/usd-sek.svg' -import USDZAR from 'images/svg/symbols/usd-zar.svg' +import frxAUDJPY from 'images/svg/symbols/aud-jpy.svg' +import frxAUDUSD from 'images/svg/symbols/aud-usd.svg' +import frxEURAUD from 'images/svg/symbols/eur-aud.svg' +import frxEURCAD from 'images/svg/symbols/eur-cad.svg' +import frxEURCHF from 'images/svg/symbols/eur-chf.svg' +import frxEURGBP from 'images/svg/symbols/eur-gbp.svg' +import frxEURJPY from 'images/svg/symbols/eur-jpy.svg' +import frxEURUSD from 'images/svg/symbols/eur-usd.svg' +import frxGBPAUD from 'images/svg/symbols/gbp-aud.svg' +import frxGBPJPY from 'images/svg/symbols/gbp-jpy.svg' +import frxGBPUSD from 'images/svg/symbols/gbp-usd.svg' +import frxUSDCAD from 'images/svg/symbols/usd-cad.svg' +import frxUSDCHF from 'images/svg/symbols/usd-chf.svg' +import frxUSDJPY from 'images/svg/symbols/usd-jpy.svg' +import frxAUDCAD from 'images/svg/symbols/aud-cad.svg' +import frxAUDCHF from 'images/svg/symbols/aud-chf.svg' +import frxAUDNZD from 'images/svg/symbols/aud-nzd.svg' +import frxCADCHF from 'images/svg/symbols/cad-chf.svg' +import frxCADJPY from 'images/svg/symbols/cad-jpy.svg' +import frxCHFJPY from 'images/svg/symbols/chf-jpy.svg' +import frxEURNOK from 'images/svg/symbols/eur-nok.svg' +import frxEURNZD from 'images/svg/symbols/eur-nzd.svg' +import frxEURPLN from 'images/svg/symbols/eur-pln.svg' +import frxEURSEK from 'images/svg/symbols/eur-sek.svg' +import frxGBPCAD from 'images/svg/symbols/gbp-cad.svg' +import frxGBPCHF from 'images/svg/symbols/gbp-chf.svg' +import frxGBPNOK from 'images/svg/symbols/gbp-nok.svg' +import frxGBPNZD from 'images/svg/symbols/gbp-nzd.svg' +import frxGBPSEK from 'images/svg/symbols/gbp-sek.svg' +import frxNZDCAD from 'images/svg/symbols/nzd-cad.svg' +import frxNZDJPY from 'images/svg/symbols/nzd-jpy.svg' +import frxNZDUSD from 'images/svg/symbols/nzd-usd.svg' +import frxUSDCNH from 'images/svg/symbols/usd-cnh.svg' +import frxUSDMXN from 'images/svg/symbols/usd-mxn.svg' +import frxUSDNOK from 'images/svg/symbols/usd-nok.svg' +import frxUSDPLN from 'images/svg/symbols/usd-pln.svg' +import frxUSDSEK from 'images/svg/symbols/usd-sek.svg' +import frxUSDZAR from 'images/svg/symbols/usd-zar.svg' export { WTI_OIL, CL_BRENT, XAGEUR, - XAGUSD, + frxXAGUSD, XAUEUR, XALUSD, - XCUUSD, - XAUUSD, + frxXCUUSD, + frxXAUUSD, XNIUSD, XPBUSD, - XPDUSD, - XPTUSD, + frxXPDUSD, + frxXPTUSD, XZNUSD, - ADAUSD, - ALGUSD, - AVAUSD, - BATUSD, - BCHUSD, - BNBUSD, - BTCETH, - BTCLTC, - BTCUSD, - DOGUSD, - DOTUSD, - DSHUSD, - EOSUSD, - ETCUSD, - ETHUSD, - FILUSD, - IOTUSD, - LNKUSD, - LTCUSD, - MKRUSD, - MTCUSD, - NEOUSD, - OMGUSD, - SOLUSD, - TRXUSD, - UNIUSD, - XLMUSD, - XMRUSD, - XRPUSD, - XTZUSD, - ZECUSD, + cryADAUSD, + cryALGUSD, + cryAVAUSD, + cryBATUSD, + cryBCHUSD, + cryBNBUSD, + cryBTCETH, + cryBTCLTC, + cryBTCUSD, + cryDOGUSD, + cryDOTUSD, + cryDSHUSD, + cryEOSUSD, + cryETCUSD, + cryETHUSD, + cryFILUSD, + cryIOTUSD, + cryLNKUSD, + cryLTCUSD, + cryMKRUSD, + cryMTCUSD, + cryNEOUSD, + cryOMGUSD, + crySOLUSD, + cryTRXUSD, + cryUNIUSD, + cryXLMUSD, + cryXMRUSD, + cryXRPUSD, + cryXTZUSD, + cryZECUSD, DEADS, FRAIR, FRAIRF, @@ -249,20 +242,16 @@ export { DEPSHG, DEPUMG, USAAL, - AAPL, + USAAPL, USABNB, - USAIG, USAMD, USAMZN, - USBA, USBABA, - USBAC, - USBIIB, - USC, USCRM, USCSCO, - USDAL, DIS, + USDAL, + USDIS, USEBAY, USFB, USFDX, @@ -276,7 +265,6 @@ export { USINTC, USJNJ, USJPM, - USKO, USMA, USMCD, USMRNA, @@ -290,7 +278,7 @@ export { USPYPL, USSONY, USTEVA, - TSLA, + USTSLMTR, USUBER, USVISA, USWMT, @@ -301,18 +289,18 @@ export { OTC_FCHI, OTC_N225, OTC_FTSE, - US_100, - US_30, + OTC_NDX, + OTC_DJI, OTC_SPC, OTC_AS51, R_10, R_25, R_50, - Volatility_75_Index, + R_75, R_100, stpRNG, RB100, - Range_Break_200_Index, + RB200, Vol_1HZ10V, Vol_1HZ25V, Vol_1HZ50V, @@ -324,14 +312,14 @@ export { Vol_1HZ250V, BOOM1000, BOOM500, - Boom_300_Index, - Crash_300_Index, - Crash_1000_Index, + BOOM300, + CRASH300, + CRASH1000, CRASH500, JD10, JD100, JD25, - Jump_50_Index, + JD50, JD75, WLDAUD, WLDEUR, @@ -342,44 +330,43 @@ export { GBPUSDDFX10, AUDUSDDFX10, USDCHFDFX10, - EURUSD_DFX_10_Index, - AUDJPY, - AUDUSD, - EURAUD, - EURCAD, - EURCHF, - EURGBP, - EURJPY, - EURUSD, - GBPAUD, - GBPJPY, - GBPUSD, - USDCAD, - USDCHF, - USDJPY, - AUDCAD, - AUDCHF, - AUDNZD, - CADCHF, - CADJPY, - CHFJPY, - EURNOK, - EURNZD, - EURPLN, - EURSEK, - GBPCAD, - GBPCHF, - GBPNOK, - GBPNZD, - GBPSEK, - NZDCAD, - NZDJPY, - NZDUSD, - USDCNH, - USDMXN, - USDNOK, - USDPLN, - USDSEK, - USDZAR, - ETFSICON, + EURUSDDFX10, + frxAUDJPY, + frxAUDUSD, + frxEURAUD, + frxEURCAD, + frxEURCHF, + frxEURGBP, + frxEURJPY, + frxEURUSD, + frxGBPAUD, + frxGBPJPY, + frxGBPUSD, + frxUSDCAD, + frxUSDCHF, + frxUSDJPY, + frxAUDCAD, + frxAUDCHF, + frxAUDNZD, + frxCADCHF, + frxCADJPY, + frxCHFJPY, + frxEURNOK, + frxEURNZD, + frxEURPLN, + frxEURSEK, + frxGBPCAD, + frxGBPCHF, + frxGBPNOK, + frxGBPNZD, + frxGBPSEK, + frxNZDCAD, + frxNZDJPY, + frxNZDUSD, + frxUSDCNH, + frxUSDMXN, + frxUSDNOK, + frxUSDPLN, + frxUSDSEK, + frxUSDZAR, } diff --git a/src/components/elements/symbols.ts b/src/components/elements/symbols.ts index 1b86e5c5a29..48496d9db1c 100644 --- a/src/components/elements/symbols.ts +++ b/src/components/elements/symbols.ts @@ -1,5 +1,4 @@ import AAL from 'images/svg/symbols/aal.svg' -import AAPL from 'images/svg/symbols/aapl.svg' import ABNB from 'images/svg/symbols/abnb.svg' import ADAUSD from 'images/svg/symbols/ada-usd.svg' import ADS from 'images/svg/symbols/ads.svg' @@ -368,7 +367,6 @@ import DEX1500DN from 'images/svg/symbols/dex-1500dn.svg' export { AAL, - AAPL, ABNB, ADAUSD, ADS, diff --git a/src/components/hooks/use-pricing-feed.tsx b/src/components/hooks/use-pricing-feed.tsx index 36d4b1b892e..fdd1f25a84f 100644 --- a/src/components/hooks/use-pricing-feed.tsx +++ b/src/components/hooks/use-pricing-feed.tsx @@ -13,7 +13,7 @@ const usePricingFeed = () => { const app = initializeApp(firebaseConfig) const db = getDatabase(app) - const commoditiesRef = ref(db, is_eu ? 'eu/mkt' : 'row/mkt') + const commoditiesRef = ref(db, is_eu ? 'eu/market' : 'row/market') const unsubscribe = onValue( commoditiesRef, (snapshot) => { diff --git a/src/features/components/atoms/link/external.tsx b/src/features/components/atoms/link/external.tsx index 4455a35ff04..04d8d3aa98d 100644 --- a/src/features/components/atoms/link/external.tsx +++ b/src/features/components/atoms/link/external.tsx @@ -26,6 +26,7 @@ const product_links: ProductLinksType = { deriv_app: ({ language, url }) => getDerivAppLocalizedURL(localized_link_url['deriv_app'], language, url), mt5: ({ language, url }) => getDerivAppLocalizedURL(localized_link_url['mt5'], language, url), + deriv_app_login: () => localized_link_url['deriv_app_login'], derivx: ({ language, url }) => getDerivAppLocalizedURL(localized_link_url['derivx'], language, url), affiliate_sign_in: ({ affiliate_lang }) => diff --git a/src/features/components/atoms/tab/tab-content/index.tsx b/src/features/components/atoms/tab/tab-content/index.tsx index b5a5028c731..f1472447602 100644 --- a/src/features/components/atoms/tab/tab-content/index.tsx +++ b/src/features/components/atoms/tab/tab-content/index.tsx @@ -22,16 +22,22 @@ const TabContent = ({ items: initial_tems, direction = 'row' }: Omit {items[selected]?.image} - + {items.map((item, index) => { const is_selected = selected === index @@ -51,7 +57,7 @@ const TabContent = ({ items: initial_tems, direction = 'row' }: Omit diff --git a/src/features/components/atoms/tab/tab-content/tab-content.module.scss b/src/features/components/atoms/tab/tab-content/tab-content.module.scss index 416cdeac7c4..3117f10a118 100644 --- a/src/features/components/atoms/tab/tab-content/tab-content.module.scss +++ b/src/features/components/atoms/tab/tab-content/tab-content.module.scss @@ -1,12 +1,13 @@ @use 'features/styles/theme/theme-mixins' as *; .tab_ul { - cursor: pointer; - max-inline-size: 38.4rem; + cursor: pointer; + max-inline-size: 38.4rem; } .tab_images { - max-block-size: 38.5rem; - @include breakpoints(tablet) { - max-block-size: 62.5rem; - } -} \ No newline at end of file + max-block-size: 38.5rem; + @include breakpoints(tablet) { + max-block-size: 43.4rem; + max-inline-size: 79.2rem; + } +} diff --git a/src/features/components/atoms/tab/tab-switcher/index.tsx b/src/features/components/atoms/tab/tab-switcher/index.tsx index 6637acd505b..cbf6bdc97dc 100644 --- a/src/features/components/atoms/tab/tab-switcher/index.tsx +++ b/src/features/components/atoms/tab/tab-switcher/index.tsx @@ -6,35 +6,45 @@ import FlexBox from '../../flex-box' import FlexBoxContainer from '../../flex-box/box' import * as styles from './tab-switcher.module.scss' import { Localize } from 'components/localization' +import dclsx from 'features/utils/dclsx' -const TabSwitcher = ({ tab, onTabClick }: Omit) => { +const TabSwitcher = ({ tab, onTabClick, is_ctrader = false }: Omit) => { return ( - - - - + onTabClick('demo')} > - onTabClick('real')} - > - - - - + {!is_ctrader && ( + onTabClick('real')} + > + + + + + )} ) diff --git a/src/features/components/atoms/tab/tab-switcher/tab-switcher.module.scss b/src/features/components/atoms/tab/tab-switcher/tab-switcher.module.scss index 555127a4246..5d0b14b17b6 100644 --- a/src/features/components/atoms/tab/tab-switcher/tab-switcher.module.scss +++ b/src/features/components/atoms/tab/tab-switcher/tab-switcher.module.scss @@ -1,3 +1,9 @@ +.demo_tab_button { + border-radius: 16px 0 0 16px; +} +.real_tab_button { + border-radius: 0px 16px 16px 0; +} .tab_switcher { &_active { font-weight: bold; diff --git a/src/features/components/atoms/tab/types.ts b/src/features/components/atoms/tab/types.ts index f96e02b26c7..ca940bba3fb 100644 --- a/src/features/components/atoms/tab/types.ts +++ b/src/features/components/atoms/tab/types.ts @@ -4,7 +4,7 @@ import { TString } from 'types/generics' export type TabItemTypes = { title: TString - component?: React.ReactElement + component?: React.ReactElement[] image: React.ReactElement alt?: string } @@ -14,4 +14,5 @@ export type StepperTabTypes = { tab?: string onTabClick: (step: 'demo' | 'real' | number) => void direction?: TFlexDirection + is_ctrader?: boolean } diff --git a/src/features/components/molecules/language-switcher/index.tsx b/src/features/components/molecules/language-switcher/index.tsx index 2301030d4ca..f67e7a6cc16 100644 --- a/src/features/components/molecules/language-switcher/index.tsx +++ b/src/features/components/molecules/language-switcher/index.tsx @@ -34,11 +34,11 @@ const LanguageSwitcher = () => { onOpenChange={setOpen} > -
+
+
{ className={trade_item} {...rest} > - + {localize(data.heading)} { return ( - + {localize(item.icon.alt)} diff --git a/src/features/components/organisms/markets/greyed-container/types.tsx b/src/features/components/organisms/markets/greyed-container/types.tsx index 7c853d572fb..d4ffa9deaae 100644 --- a/src/features/components/organisms/markets/greyed-container/types.tsx +++ b/src/features/components/organisms/markets/greyed-container/types.tsx @@ -1,8 +1,9 @@ import { TSmartContent, TString } from 'types/generics' +import { IconType } from 'features/types' export type TradeBenefitType = { description: TString - icon_src: string + icon: IconType } type TradeTypeConfig = { diff --git a/src/features/components/organisms/markets/market-banner/banner-text.tsx b/src/features/components/organisms/markets/market-banner/banner-text.tsx index 08e34e6a39c..a708dda6e0b 100644 --- a/src/features/components/organisms/markets/market-banner/banner-text.tsx +++ b/src/features/components/organisms/markets/market-banner/banner-text.tsx @@ -60,7 +60,6 @@ const BannerText = ({ item }: HomepageBannerProps) => { type={'button'} aria-label="create free demo account" onClick={handleSignup} - id="dm-hero-signup" > diff --git a/src/features/components/organisms/markets/markets-trade-steps/trade-steps-wrapper.tsx b/src/features/components/organisms/markets/markets-trade-steps/trade-steps-wrapper.tsx index c31e64627d2..a1cd8434de5 100644 --- a/src/features/components/organisms/markets/markets-trade-steps/trade-steps-wrapper.tsx +++ b/src/features/components/organisms/markets/markets-trade-steps/trade-steps-wrapper.tsx @@ -59,7 +59,7 @@ const TradeStepsWrapper = ({ header, data }: TradeStepsType) => { pt="20x" lg={{ padding_block: '20x' }} > - + diff --git a/src/features/components/templates/banners/deriv-products-hero/deriv-products-hero.module.scss b/src/features/components/templates/banners/deriv-products-hero/deriv-products-hero.module.scss index 48f10ef8072..892650b88e6 100644 --- a/src/features/components/templates/banners/deriv-products-hero/deriv-products-hero.module.scss +++ b/src/features/components/templates/banners/deriv-products-hero/deriv-products-hero.module.scss @@ -12,7 +12,8 @@ max-block-size: 64.1rem; } } -.hero_desktop_image { +.hero_image_wrapper { + box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; @include breakpoints(tablet) { margin-inline-start: auto; } diff --git a/src/features/components/templates/banners/deriv-products-hero/index.tsx b/src/features/components/templates/banners/deriv-products-hero/index.tsx index ec2fa41fde5..7e49ed01e36 100644 --- a/src/features/components/templates/banners/deriv-products-hero/index.tsx +++ b/src/features/components/templates/banners/deriv-products-hero/index.tsx @@ -22,6 +22,7 @@ const DerivProductHero = ({ contentData }: DerivProductHeroType) => { md={{ direction: 'row' }} > { const { hero, hero_mobile } = contentData return ( <> - + {hero} - {hero_mobile} + + {hero_mobile} + ) } diff --git a/src/features/components/templates/banners/deriv-products-hero/products-logo-and-text.tsx b/src/features/components/templates/banners/deriv-products-hero/products-logo-and-text.tsx index 6d873980c3d..20965ea2da9 100644 --- a/src/features/components/templates/banners/deriv-products-hero/products-logo-and-text.tsx +++ b/src/features/components/templates/banners/deriv-products-hero/products-logo-and-text.tsx @@ -8,15 +8,17 @@ interface ProductsLogoTextProps { } const ProductsLogoAndText = ({ contentData }: ProductsLogoTextProps) => { - const { mobile_logo, logo } = contentData + const { mobile_logo, logo, demo_icon, mobile_demo_icon } = contentData return ( - + {mobile_logo} + {mobile_demo_icon} - + {logo} + {demo_icon} ) diff --git a/src/features/components/templates/banners/deriv-products-hero/types.ts b/src/features/components/templates/banners/deriv-products-hero/types.ts index 411780bb340..322f4e0723e 100644 --- a/src/features/components/templates/banners/deriv-products-hero/types.ts +++ b/src/features/components/templates/banners/deriv-products-hero/types.ts @@ -6,6 +6,8 @@ export type DerivProductContentType = { hero: ReactElement hero_mobile: ReactElement logo: ReactElement + demo_icon: ReactElement + mobile_demo_icon: ReactElement mobile_logo: ReactElement product_water_mark_logo?: ReactElement product_water_mark_logo_mobile?: ReactElement diff --git a/src/features/components/templates/footer/data.ts b/src/features/components/templates/footer/data.ts index ee080684dd9..c9a1790379b 100644 --- a/src/features/components/templates/footer/data.ts +++ b/src/features/components/templates/footer/data.ts @@ -206,6 +206,16 @@ const platformsLinks: SmartFooterLink[] = [ is_row: true, }, }, + { + id: 8, + data: { + text: '_t_Deriv cTrader_t_', + url: { type: 'internal', to: '/deriv-ctrader/' }, + }, + visibility: { + is_row: true, + }, + }, ] const legalLinks: SmartFooterLink[] = [ diff --git a/src/features/components/templates/footer/disclaimer/data.tsx b/src/features/components/templates/footer/disclaimer/data.tsx index 6fd3e3e903a..66bf10c0a2f 100644 --- a/src/features/components/templates/footer/disclaimer/data.tsx +++ b/src/features/components/templates/footer/disclaimer/data.tsx @@ -6,7 +6,7 @@ export const disclaimerContent: SmartDisclaimerParagraph[] = [ { id: 0, data: { - text: '_t_Deriv Investments (Europe) Limited is licensed and regulated by the Malta Financial Services Authority under the Investment Services Act (<0>licence). Deriv Holdings (Guernsey) Limited is the holding company for the above subsidiary with the registration number 71479 and the registered address of 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ._t_', + text: '_t_Deriv Investments (Europe) Limited is licensed and regulated by the Malta Financial Services Authority under the Investment Services Act <0>(licence). Deriv.com Limited is the holding company for the above subsidiary with the registration number 71479 and the registered address is located at 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ._t_', components: [ licence). Deriv (FX) Ltd is licensed by the Labuan Financial Services Authority (<1>licence). Deriv (BVI) Ltd is licensed by the British Virgin Islands Financial Services Commission (<2>licence). Deriv (V) Ltd is licensed and regulated by the Vanuatu Financial Services Commission (<3>licence). Deriv (SVG) LLC has a registered office at Hinds Buildings, Kingstown, St. Vincent and the Grenadines. Deriv Holdings (Guernsey) Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address of 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ._t_', + text: '_t_Deriv Investments (Europe) Limited is licensed and regulated by the Malta Financial Services Authority under the Investment Services Act (<0>licence). Deriv (FX) Ltd is licensed by the Labuan Financial Services Authority (<1>licence). Deriv (BVI) Ltd is licensed by the British Virgin Islands Financial Services Commission (<2>licence). Deriv (V) Ltd is licensed by the Vanuatu Financial Services Commission (<3>licence). Deriv (SVG) LLC has a registered office at First Floor, SVG Teachers Credit Union Uptown Building, Corner of James and Middle Street, Kingstown P.O., St Vincent and the Grenadines. Deriv.com Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address is located at 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ._t_', components: [ licence). Deriv (BVI) Ltd is licensed by the British Virgin Islands Financial Services Commission (<1>licence). Deriv (V) Ltd is licensed and regulated by the Vanuatu Financial Services Commission (<2>licence). Deriv (SVG) LLC has a registered office at Hinds Buildings, Kingstown, St. Vincent and the Grenadines. Deriv Holdings (Guernsey) Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address of 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ._t_', + text: '_t_Deriv (FX) Ltd is licensed by the Labuan Financial Services Authority (<0>licence). Deriv (BVI) Ltd is licensed by the British Virgin Islands Financial Services Commission (<1>licence). Deriv (V) Ltd is licensed by the Vanuatu Financial Services Commission (<2>licence). Deriv (SVG) LLC has a registered office at First Floor, SVG Teachers Credit Union Uptown Building, Corner of James and Middle Street, Kingstown P.O., St Vincent and the Grenadines. Deriv.com Limited is the holding company for the above subsidiaries with the registration number 71479 and the registered address is located at 2nd Floor, 1 Cornet Street, St Peter Port, Guernsey, GY1 1BZ._t_', components: [ { return ( ( - - + + {localize('_t_Deriv )} items={career_nav_items} diff --git a/src/features/components/templates/navigation/main-nav/content/platform/index.ts b/src/features/components/templates/navigation/main-nav/content/platform/index.ts index 2af5ef706d1..427172e18f8 100644 --- a/src/features/components/templates/navigation/main-nav/content/platform/index.ts +++ b/src/features/components/templates/navigation/main-nav/content/platform/index.ts @@ -1,4 +1,5 @@ import { SmartNavContent, SmartNavSectionColumns } from '../../../types' +import DerivcTrader from 'images/svg/custom/rebranding/deriv-ctrader-icon.svg' import BinaryBot from 'images/svg/custom/rebranding/binarybot-icon.svg' import DerivX from 'images/svg/custom/rebranding/deriv-x-icon.svg' import CFD from 'images/svg/custom/rebranding/cfds-icon.svg' @@ -166,6 +167,23 @@ export const tradingPlatformsContent: SmartNavContent[] = [ is_eu: true, }, }, + { + id: 5, + data: { + aria_label: 'Deriv cTrader', + icon: { + src: DerivcTrader, + alt: 'Deriv cTrader trading platform', + }, + content: + '_t_Advance trading, charting and technical analysis tools available for users._t_', + title: '_t_Deriv cTrader_t_', + url: { type: 'internal', to: '/deriv-ctrader/' }, + }, + visibility: { + is_row: true, + }, + }, ] export const noTitleSection: SmartNavContent[] = [ diff --git a/src/features/components/templates/navigation/main-nav/main-nav-buttons/index.tsx b/src/features/components/templates/navigation/main-nav/main-nav-buttons/index.tsx index 27f34bf37da..8ef44cd26a9 100644 --- a/src/features/components/templates/navigation/main-nav/main-nav-buttons/index.tsx +++ b/src/features/components/templates/navigation/main-nav/main-nav-buttons/index.tsx @@ -27,12 +27,7 @@ const MainNavButtons = () => { gap="8x" > {is_logged_in ? ( - + ) : ( @@ -40,7 +35,6 @@ const MainNavButtons = () => { @@ -49,7 +43,6 @@ const MainNavButtons = () => { diff --git a/src/features/components/templates/navigation/market-nav/index.tsx b/src/features/components/templates/navigation/market-nav/index.tsx index bcc7fbe4bd2..ac5f90ef165 100644 --- a/src/features/components/templates/navigation/market-nav/index.tsx +++ b/src/features/components/templates/navigation/market-nav/index.tsx @@ -8,6 +8,7 @@ import { market_nav_logo } from './market-nav.module.scss' import Image from 'features/components/atoms/image' import LogoImage from 'images/common/rebranding_logo.svg' import Link from 'features/components/atoms/link' +import { localize } from 'components/localization' const MarketNav = () => { const [platform] = useQueryParam('platform', StringParam) @@ -23,8 +24,12 @@ const MarketNav = () => { } renderLogo={() => ( - - + + {localize('_t_deriv-logo_t_')} )} items={mainItems} diff --git a/src/features/components/templates/navigation/payment-agent-nav/index.tsx b/src/features/components/templates/navigation/payment-agent-nav/index.tsx index db7559ec794..11905ae6eba 100644 --- a/src/features/components/templates/navigation/payment-agent-nav/index.tsx +++ b/src/features/components/templates/navigation/payment-agent-nav/index.tsx @@ -14,6 +14,7 @@ import { getLocationPathname } from 'common/utility' import useScrollToElement from 'features/hooks/use-scroll-to-element' import useRegion from 'components/hooks/use-region' import { TString } from 'types/generics' +import { localize } from 'components/localization' type contentType = { [T: string]: TString @@ -46,7 +47,6 @@ const PaymentAgentAffiliateNav = ({ is_prime_page = false }: { is_prime_page?: b ) : ( <> window.open('https://login.deriv.com/signin.php?lang=0', '_blank') } @@ -57,7 +57,6 @@ const PaymentAgentAffiliateNav = ({ is_prime_page = false }: { is_prime_page?: b window.open('https://login.deriv.com/signin.php?lang=0', '_blank') } @@ -86,11 +85,20 @@ const PaymentAgentAffiliateNav = ({ is_prime_page = false }: { is_prime_page?: b type: 'internal', to: is_prime_page ? '/partners/deriv-prime/' : '/partners/', }} + aria-label="deriv partners link" > {is_prime_page ? ( - + {localize('_t_Deriv ) : ( - + {localize('_t_Deriv )} )} diff --git a/src/features/components/templates/navigation/template/desktop-menu/desktop.items.tsx b/src/features/components/templates/navigation/template/desktop-menu/desktop.items.tsx index 8d4699943d5..362dfba0b5b 100644 --- a/src/features/components/templates/navigation/template/desktop-menu/desktop.items.tsx +++ b/src/features/components/templates/navigation/template/desktop-menu/desktop.items.tsx @@ -4,18 +4,24 @@ import { SmartNavDropItems } from '../../types' import NavDropItems from '../nav-drop-items' import { Localize } from 'components/localization' import Typography from 'features/components/atoms/typography' +import useRegion from 'components/hooks/use-region' +import dclsx from 'features/utils/dclsx' interface DesktopItemsProps { item: SmartNavDropItems + active: string } -const NavDesktopItem = ({ item }: DesktopItemsProps) => { +const NavDesktopItem = ({ item, active }: DesktopItemsProps) => { const handleClick = (e: React.MouseEvent) => { if (!window.matchMedia('(hover: none)').matches) { e.preventDefault() } } + const { is_row } = useRegion() + const has_scroll_menu = active === '_t_Trade_t_' && is_row + return ( @@ -23,7 +29,11 @@ const NavDesktopItem = ({ item }: DesktopItemsProps) => { - + diff --git a/src/features/components/templates/navigation/template/desktop-menu/index.tsx b/src/features/components/templates/navigation/template/desktop-menu/index.tsx index b8745af174b..2df5aef28d1 100644 --- a/src/features/components/templates/navigation/template/desktop-menu/index.tsx +++ b/src/features/components/templates/navigation/template/desktop-menu/index.tsx @@ -28,13 +28,15 @@ const DesktopMenu = ({ has_centered_items }: IDesktopNavbarProps) => { > {drop_items.map((item) => ( - + ))} {link_items.map((item) => ( - - - +
  • + + + +
  • ))}
    diff --git a/src/features/components/templates/navigation/template/desktop-menu/styles.scss b/src/features/components/templates/navigation/template/desktop-menu/styles.scss index 3f330597282..85fcec8273b 100644 --- a/src/features/components/templates/navigation/template/desktop-menu/styles.scss +++ b/src/features/components/templates/navigation/template/desktop-menu/styles.scss @@ -46,6 +46,14 @@ animation-timing-function: ease; } + &_scrollable_menu { + @media screen and (max-height: 975px) { + block-size: 85vh; + padding-block-end: 3rem; + overflow: auto; + } + } + &_position { display: flex; justify-content: end; diff --git a/src/features/components/templates/signup/with-banner/social/index.tsx b/src/features/components/templates/signup/with-banner/social/index.tsx index 6245c06defb..187c3d413fe 100644 --- a/src/features/components/templates/signup/with-banner/social/index.tsx +++ b/src/features/components/templates/signup/with-banner/social/index.tsx @@ -10,11 +10,12 @@ import FacebookLogo from 'images/svg/facebook_logo.svg' import GoogleLogo from 'images/svg/google_logo.svg' import { TString } from 'types/generics' import Login, { TSocialProvider } from 'common/login' +import { IconType } from 'features/types' type SocialButtonContent = { provider: TSocialProvider id: string - img: string + img: IconType title: TString } @@ -22,19 +23,28 @@ const social_button_content: SocialButtonContent[] = [ { provider: 'google', id: 'gtm-signup-google', - img: GoogleLogo, + img: { + src: GoogleLogo, + alt: '_t_Google account sign in page_t_', + }, title: '_t_Google_t_', }, { provider: 'facebook', id: 'gtm-signup-facebook', - img: FacebookLogo, + img: { + src: FacebookLogo, + alt: '_t_Facebook account sign in page_t_', + }, title: '_t_Facebook_t_', }, { provider: 'apple', id: 'gtm-signup-apple', - img: AppleLogo, + img: { + src: AppleLogo, + alt: '_t_Apple account sign in page_t_', + }, title: '_t_Apple_t_', }, ] @@ -56,7 +66,7 @@ const PublicSignupSocial = () => { outlined > - {localize(buttonItem.title)} + {localize(buttonItem.img.alt)} { +const TabStepper = ({ items, onTabClick, tab, is_ctrader }: StepperTabTypes) => { return ( <> - + ) diff --git a/src/features/components/templates/trade-platform/how-to-start/index.tsx b/src/features/components/templates/trade-platform/how-to-start/index.tsx index df4a9d4ee24..243eaca4ecd 100644 --- a/src/features/components/templates/trade-platform/how-to-start/index.tsx +++ b/src/features/components/templates/trade-platform/how-to-start/index.tsx @@ -1,4 +1,4 @@ -import React, { useCallback, useState } from 'react' +import React, { useEffect, useMemo, useState } from 'react' import { TradingPlatformStepperViewType } from '../types' import TabStepper from 'features/components/templates/tabs/stepper' import useBreakpoints from 'components/hooks/use-breakpoints' @@ -19,29 +19,26 @@ const TradingPlatformHowToStart = ({ real, real_mobile, }: TradingPlatformStartProps) => { - const [tab, setTab] = useState('demo') - const { is_mobile_or_tablet } = useBreakpoints() - const [items, setItems] = useState([]) - - const onTabClick = useCallback( - (chosen_tab: TabType) => { - setTab(chosen_tab) - if (chosen_tab === 'real') { - if (is_mobile_or_tablet) { - setItems(real_mobile) - } else { - setItems(real) - } - } else { - if (is_mobile_or_tablet) { - setItems(demo_mobile) - } else { - setItems(demo) - } - } - }, - [demo, demo_mobile, is_mobile_or_tablet, real, real_mobile], - ) + const [tab, setTab] = useState('demo') + const { is_mobile_or_tablet, is_mobile, is_tablet } = useBreakpoints() + const [items, setItems] = useState(is_mobile_or_tablet ? demo_mobile : demo) + + const onTabClick = (chosen_tab: TabType) => { + setTab(chosen_tab) + } + + const new_items = useMemo(() => { + switch (tab) { + case 'real': + return is_mobile_or_tablet ? real_mobile : real + case 'demo': + return is_mobile_or_tablet ? demo_mobile : demo + } + }, [is_mobile_or_tablet, tab]) + + useEffect(() => { + setItems(new_items) + }, [new_items]) return } diff --git a/src/features/components/templates/trade-platform/numbers/index.tsx b/src/features/components/templates/trade-platform/numbers/index.tsx index 6a56d7f9adf..cd63499de8c 100644 --- a/src/features/components/templates/trade-platform/numbers/index.tsx +++ b/src/features/components/templates/trade-platform/numbers/index.tsx @@ -10,7 +10,12 @@ export type TradingPlatformNumbersProps = { const TradingPlatformNumbers = ({ selling_points }: TradingPlatformNumbersProps) => { return ( - + { + data: PlatformType[] + heading: TString +} + +const PlatformsCarousel = ({ heading, data, ...rest }: PropsType) => { + return ( + + + + + +
    + + {data.map((slide) => ( + + + + ))} + + + +
    +
    +
    + ) +} + +export default PlatformsCarousel diff --git a/src/features/components/templates/trade-platform/other-platforms/platform-card/index.tsx b/src/features/components/templates/trade-platform/other-platforms/platform-card/index.tsx new file mode 100644 index 00000000000..5ce7006b58d --- /dev/null +++ b/src/features/components/templates/trade-platform/other-platforms/platform-card/index.tsx @@ -0,0 +1,56 @@ +import React from 'react' +import { PlatformType } from '../types' +import { platform_card, platform_link } from './styles.module.scss' +import { Localize, localize } from 'components/localization' +import Flex from 'features/components/atoms/flex-box' +import Image from 'features/components/atoms/image' +import Link from 'features/components/atoms/link' +import Typography from 'features/components/atoms/typography' +import Arrow from 'images/svg/trade-types/arrow-right.svg' +import dclsx from 'features/utils/dclsx' + +type PlatformProps = { + data: Omit +} + +const PlatformCard = ({ data: { icon, heading, paragraph, link } }: PlatformProps) => { + return ( + + {localize('_t_icon_t_')} + + {heading} + + + + + + + {localize('_t_Arrow_t_')} + + + ) +} + +export default PlatformCard diff --git a/src/features/components/templates/trade-platform/other-platforms/platform-card/styles.module.scss b/src/features/components/templates/trade-platform/other-platforms/platform-card/styles.module.scss new file mode 100644 index 00000000000..4f6c193aaf9 --- /dev/null +++ b/src/features/components/templates/trade-platform/other-platforms/platform-card/styles.module.scss @@ -0,0 +1,23 @@ +@use 'features/styles/theme/theme-mixins' as *; + +.platform_card { + box-shadow: rgba(14, 14, 14, 0.08) 0px 12px 16px -4px, rgba(14, 14, 14, 0.03) 0px 4px 6px -2px; + block-size: 100%; + position: relative; +} +.platform_link { + border-radius: 23px; + background: var(--color-grey-45); + position: absolute; + left: 50%; + transform: translateX(-50%); + bottom: -16px; + transition: opacity 0.25s ease 0s; + @include breakpoints(tablet){ + opacity: 0; + } +} + +.platform_card:hover .platform_link{ + opacity: 1; +} \ No newline at end of file diff --git a/src/features/components/templates/trade-platform/other-platforms/styles.module.scss b/src/features/components/templates/trade-platform/other-platforms/styles.module.scss new file mode 100644 index 00000000000..c38182ab6b6 --- /dev/null +++ b/src/features/components/templates/trade-platform/other-platforms/styles.module.scss @@ -0,0 +1,34 @@ +@use 'features/styles/theme/theme-mixins' as *; + +.slider_wrapper { + max-inline-size: 97.5rem; + margin-inline: auto; + position: relative; + --swiper-pagination-bottom: 0; + --swiper-pagination-color: #ff444f; + @include breakpoints(tablet){ + max-inline-size: 107.5rem; + } + +} +.swiper_slide { + height: 100% !important; +} +.slider_button { + background-color: transparent; + border: none; + position: absolute; + top: 50%; + transform: translateY(-50%); + cursor: pointer; + &:disabled { + opacity: 0.5; + cursor: default; + } +} +.slider_button_prev{ + left: -32px; +} +.slider_button_next{ + right: -32px; +} \ No newline at end of file diff --git a/src/features/components/templates/trade-platform/other-platforms/types.ts b/src/features/components/templates/trade-platform/other-platforms/types.ts new file mode 100644 index 00000000000..4110dd6fc70 --- /dev/null +++ b/src/features/components/templates/trade-platform/other-platforms/types.ts @@ -0,0 +1,10 @@ +import { LinkUrlType } from 'features/types' +import { TString } from 'types/generics' + +export type PlatformType = { + id: number + icon: string + heading: string + paragraph: TString + link: LinkUrlType +} diff --git a/src/features/components/templates/trade-platform/trade-description/description.module.scss b/src/features/components/templates/trade-platform/trade-description/description.module.scss index c25187136f5..66f993685f6 100644 --- a/src/features/components/templates/trade-platform/trade-description/description.module.scss +++ b/src/features/components/templates/trade-platform/trade-description/description.module.scss @@ -1,11 +1,4 @@ @use 'features/styles/theme/theme-mixins' as *; -@import 'features/styles/theme/variables'; - -.number_box { - @include breakpoints(tablet) { - border-bottom: 1px solid $color-grey-1; - } -} .description_section { @include breakpoints(tablet) { diff --git a/src/features/components/templates/trade-platform/trade-description/index.tsx b/src/features/components/templates/trade-platform/trade-description/index.tsx index 4be8e4582be..5047ace5cc8 100644 --- a/src/features/components/templates/trade-platform/trade-description/index.tsx +++ b/src/features/components/templates/trade-platform/trade-description/index.tsx @@ -12,12 +12,7 @@ interface TradingPlatformDescriptionProps { } const TradeDescription = ({ title, subtitle }: TradingPlatformDescriptionProps) => { return ( - + diff --git a/src/features/components/templates/trade-platform/types.ts b/src/features/components/templates/trade-platform/types.ts index b9b5d6de9ce..b7bc3e46ad4 100644 --- a/src/features/components/templates/trade-platform/types.ts +++ b/src/features/components/templates/trade-platform/types.ts @@ -44,10 +44,3 @@ export type TradingPlatformOtherProps = { description: TString link: string }[] -export type TradingPlatformDataType = { - trading_platform_hero: TradingPlatformPHeroProps - trading_platform_description: TradingPlatformDescriptionProps - trading_platform_start: TradingPlatformStartProps - trading_platform_banner?: BannerType - trading_platform_other: TradingPlatformOtherProps -} diff --git a/src/features/components/templates/trade-platform/what-have/index.tsx b/src/features/components/templates/trade-platform/what-have/index.tsx index aca528436af..c92278e61e3 100644 --- a/src/features/components/templates/trade-platform/what-have/index.tsx +++ b/src/features/components/templates/trade-platform/what-have/index.tsx @@ -1,6 +1,6 @@ import React from 'react' import { TradingPlatformWhatHaveData } from '../types' -import { what_have_wrapper, flex_items } from './what-have.module.scss' +import { what_have_wrapper, flex_items, image_item } from './what-have.module.scss' import FlexBox from 'features/components/atoms/flex-box' import Typography from 'features/components/atoms/typography' import { Localize } from 'components/localization' @@ -15,7 +15,7 @@ const TradingPlatformWhatHave = ({ items }: TradingPlatformWhatHaveProps) => { container={'fluid'} direction={'col'} padding_inline={'8x'} - pt={'20x'} + padding_block={'20x'} md={{ padding_inline: '0x', padding_block: '40x' }} > {items.map((content, index) => { @@ -31,14 +31,16 @@ const TradingPlatformWhatHave = ({ items }: TradingPlatformWhatHaveProps) => { }} > - + - {content.image} + + {content.image} + ) })} diff --git a/src/features/components/templates/trade-platform/what-have/what-have.module.scss b/src/features/components/templates/trade-platform/what-have/what-have.module.scss index a597dcaaa9d..2bfa6573ccd 100644 --- a/src/features/components/templates/trade-platform/what-have/what-have.module.scss +++ b/src/features/components/templates/trade-platform/what-have/what-have.module.scss @@ -6,8 +6,18 @@ } } .flex_items{ + @include breakpoints(tablet) { inline-size: 49%; justify-content: center; } +} +.image_item{ + block-size: 23rem; + + @include breakpoints(tablet) { + block-size: 30rem; + inline-size: 49%; + justify-content: center; + } } \ No newline at end of file diff --git a/src/features/pages/deriv-ctrader/hero-banner/data.tsx b/src/features/pages/deriv-ctrader/hero-banner/data.tsx new file mode 100644 index 00000000000..8120313af0c --- /dev/null +++ b/src/features/pages/deriv-ctrader/hero-banner/data.tsx @@ -0,0 +1,36 @@ +import React from 'react' +import { StaticImage } from 'gatsby-plugin-image' +import Image from 'features/components/atoms/image' +import CTraderLogo from 'images/svg/trading-platforms/ctrader/ctrader-logo.svg' +import DemoLogo from 'images/svg/trading-platforms/ctrader/demo_ctrader.svg' +import { DerivProductContentType } from 'features/components/templates/banners/deriv-products-hero/types' + +export const hero_content_data: DerivProductContentType = { + main_title: ['_t_A feature-rich_t_', '_t_CFD trading_t_', '_t_platform_t_'], + hero: ( + + ), + hero_mobile: ( + + ), + logo: {'_t_Deriv, + mobile_logo: {'_t_Deriv, + demo_icon: {'_t_demo_t_'}, + mobile_demo_icon: {'_t_demo_t_'}, +} diff --git a/src/features/pages/deriv-ctrader/hero-banner/index.tsx b/src/features/pages/deriv-ctrader/hero-banner/index.tsx new file mode 100644 index 00000000000..c25e4315cbf --- /dev/null +++ b/src/features/pages/deriv-ctrader/hero-banner/index.tsx @@ -0,0 +1,9 @@ +import React from 'react' +import { hero_content_data } from './data' +import DerivProductHero from 'features/components/templates/banners/deriv-products-hero' + +const CTraderHero = () => { + return +} + +export default CTraderHero diff --git a/src/features/pages/deriv-ctrader/how-to-start/data.tsx b/src/features/pages/deriv-ctrader/how-to-start/data.tsx new file mode 100644 index 00000000000..a91e0474cf9 --- /dev/null +++ b/src/features/pages/deriv-ctrader/how-to-start/data.tsx @@ -0,0 +1,257 @@ +import React from 'react' +import { StaticImage } from 'gatsby-plugin-image' +import Link from 'features/components/atoms/link' +import { TradingPlatformStepperViewType } from 'features/components/templates/trade-platform/types' + +const how_to_start_images = { + step1: ( + + ), + step2: ( + + ), + step3: ( + + ), + 'step2-demo': ( + + ), + 'step3-demo': ( + + ), +} +const how_to_start_images_mobile = { + step1: ( + + ), + step2: ( + + ), + step3: ( + + ), + 'step2-demo': ( + + ), + 'step3-demo': ( + + ), +} +export const demo: TradingPlatformStepperViewType = [ + { + title: '_t_<0>Sign in to your Deriv account. If you don’t have one, <1>sign up for free._t_', + image: how_to_start_images['step1'], + component: [ + , + , + ], + }, + { + title: '_t_Go to the Trader’s hub and choose the Demo option._t_', + image: how_to_start_images['step2-demo'], + }, + { + title: '_t_Under CFDs, look for Deriv cTrader and select Get._t_', + image: how_to_start_images['step3-demo'], + }, +] +export const demo_mobile: TradingPlatformStepperViewType = [ + { + title: '_t_<0>Sign in to your Deriv account. If you don’t have one, <1>sign up for free._t_', + image: how_to_start_images_mobile['step1'], + component: [ + , + , + ], + }, + { + title: '_t_Go to the Trader’s hub and choose the Demo option._t_', + image: how_to_start_images_mobile['step2-demo'], + }, + { + title: '_t_Under CFDs, look for Deriv cTrader and select Get._t_', + image: how_to_start_images_mobile['step3-demo'], + }, +] +export const real: TradingPlatformStepperViewType = [ + { + title: '_t_<0>Sign in to your Deriv account. If you don’t have one, <1>sign up for free._t_', + image: how_to_start_images['step1'], + component: [ + , + , + ], + }, + { + title: '_t_Go to the Trader’s hub and choose the Real option._t_', + image: how_to_start_images['step2'], + }, + { + title: '_t_Under CFDs, look for Deriv cTrader and select Get._t_', + image: how_to_start_images['step3'], + }, +] +export const real_mobile: TradingPlatformStepperViewType = [ + { + title: '_t_<0>Sign in to your Deriv account. If you don’t have one, <1>sign up for free._t_', + image: how_to_start_images_mobile['step1'], + component: [ + , + , + ], + }, + { + title: '_t_Go to the Trader’s hub and choose the Real option._t_', + image: how_to_start_images_mobile['step2'], + }, + { + title: '_t_Under CFDs, look for Deriv cTrader and select Get._t_', + image: how_to_start_images_mobile['step3'], + }, +] +export const trading_platform_start = { + demo, + demo_mobile, + real, + real_mobile, +} diff --git a/src/features/pages/deriv-ctrader/how-to-start/index.tsx b/src/features/pages/deriv-ctrader/how-to-start/index.tsx new file mode 100644 index 00000000000..7fea8c796c5 --- /dev/null +++ b/src/features/pages/deriv-ctrader/how-to-start/index.tsx @@ -0,0 +1,42 @@ +import React, { useState } from 'react' +import { trading_platform_start } from './data' +import FlexBoxContainer from 'features/components/atoms/flex-box/box' +import Typography from 'features/components/atoms/typography' +import { Localize } from 'components/localization' +import TabStepper from 'features/components/templates/tabs/stepper' + +const HowToStartCTrader = () => { + const [tab, setTab] = useState('demo') + + const onTabClick = (chosenTab: 'demo' | 'real') => { + setTab(chosenTab) + } + return ( + + + + + +
    + +
    +
    + +
    +
    + ) +} + +export default HowToStartCTrader diff --git a/src/features/pages/deriv-ctrader/index.tsx b/src/features/pages/deriv-ctrader/index.tsx new file mode 100644 index 00000000000..4abccd16c9a --- /dev/null +++ b/src/features/pages/deriv-ctrader/index.tsx @@ -0,0 +1,39 @@ +import React from 'react' +import CTraderHero from './hero-banner' +import CTraderNumbers from './trade-numbers' +import CTraderTradeDescription from './trade-description' +import CTraderWhyTrade from './why-trade' +import CTraderTradeFeatures from './platform-features' +import HowToStartCTrader from './how-to-start' +import CTraderPlatformBanner from './platform-banner' +import OtherPlatforms from './other-platforms' +import MainNav from 'features/components/templates/navigation/main-nav' +import Footer from 'features/components/templates/footer/' +import Layout from 'features/components/templates/layout' +import { WithIntl } from 'components/localization' + +const DerivCTrader = () => { + const is_ctrader = false + + return ( + + + + + + + + + {is_ctrader && ( + <> + + + )} + + +