diff --git a/src/images/common/trade-types/margin-example-crash-boom-mobile.png b/src/images/common/trade-types/margin-example-crash-boom-mobile.png new file mode 100644 index 00000000000..4babf4e81ad Binary files /dev/null and b/src/images/common/trade-types/margin-example-crash-boom-mobile.png differ diff --git a/src/images/common/trade-types/margin-example-crash-boom.png b/src/images/common/trade-types/margin-example-crash-boom.png new file mode 100644 index 00000000000..10df47f5fc5 Binary files /dev/null and b/src/images/common/trade-types/margin-example-crash-boom.png differ diff --git a/src/pages/trade-types/margin/_policies.js b/src/pages/trade-types/margin/_policies.js index 035d0874d8b..21cf9f4309a 100644 --- a/src/pages/trade-types/margin/_policies.js +++ b/src/pages/trade-types/margin/_policies.js @@ -1,37 +1,78 @@ import React from 'react' import styled from 'styled-components' +import { graphql, useStaticQuery } from 'gatsby' import { SmallContainer, Ul } from '../components/_style' -import { SectionContainer, Flex } from 'components/containers' -import { Header, Text, CardStyle } from 'components/elements' -import { localize, Localize } from 'components/localization' -import Info from 'images/svg/trade-types/info.svg' +import { SectionContainer, Show } from 'components/containers' +import { Header, Text, QueryImage } from 'components/elements' +import { LinkButton } from 'components/form' +import { localize } from 'components/localization' +import device from 'themes/device' -const Card = styled.article` - ${CardStyle} +const query = graphql` +query { + example: file(relativePath: { eq: "trade-types/margin-example-crash-boom.png" }) { + ...fadeIn + } + example_mobile: file(relativePath: { eq: "trade-types/margin-example-crash-boom-mobile.png" }) { + ...fadeIn + } +} ` -const CardHeading = styled(Flex)` - padding: 3rem 2.4rem; - background: var(--color-grey-25); - align-items: center; +const ShowWrapper = styled.div` + width:100%; ` -const CardBody = styled(Flex)` - flex-direction: column; - padding: 2.4rem; -` -const InfoWrapper = styled.div` - margin-right: 1.6rem; +const ExampleImage = styled(QueryImage)` + margin:${(props) => (props.center ? '0 auto' : 'unset')}; + width: 792px; + height: 453px; + + @media ${device.laptop}{ + width: 630px; + height: 361px; + } + + @media ${device.tabletL}{ + width:328px; + height:506px; + } + + @media ${device.mobileM}{ + width:289px; + height:454px; + } ` +const StyledLinkButton = styled(LinkButton)` + padding: 1.2rem 1.5rem; + font-size: 14px; + max-height: 4rem; + height: 100%; + margin-right: 0.8rem; -const Note = styled.div` - background-color: var(--color-grey-25); - border-radius: 60px; - padding: 0.8rem 2.4rem; - width: fit-content; + @media ${device.laptop} { + padding: 1.5rem 1.6rem; + height: 42px; + white-space: nowrap; + display: block; + max-height: 40px; + + :nth-child(2) { + margin-bottom: 16px; + } + } + + :active { + outline: none; + border: none; + } + :focus { + outline: 0; + } ` const Policies = () => { + const data = useStaticQuery(query) return ( <> @@ -80,107 +121,139 @@ const Policies = () => {
{localize('Things you should know when trading on margin')}
- + {localize('Margin increases both potential profit and loss')} - + {localize( 'Trading on margin increases your market exposure, thus amplifying both your potential profit and loss.', )} - + {localize('Stop-loss')} - + {localize( - 'You can use the stop-loss tool to minimise potential losses and decrease the chances of getting a margin call.', + 'You can set the stop loss level to minimise potential losses and decrease the chances of getting a margin call. When you set this level, your trade will automatically close when your losses equal the stop loss amount.', )} + {localize( + 'Stop loss with Crash/Boom/Range break indices', + )} + + + {localize( + "Stop loss works slightly differently in Crash/Boom/Range break indices. When trading on these indices with a stop loss level, your trade will automatically close if your losses exceed the stop loss amount.", + )} + + + {localize( + "The reason is that in Crash/Boom/Range break indices, sudden fluctuations in price between one tick to another can sometimes surpass the stop loss you set. In this case, your trade will close at the nearest applicable market price instead of exactly at the stop loss level.", + )} + + + {localize( + "For example, you predict that the market will go up, and buy a contract on Crash 500 index at 8,000.", + )} + + + {localize( + "When the market price climbs to 8,700, you decide to set the stop loss level at 8,200. After a few ticks, the price dives to 8,100, surpassing your stop loss level.", + )} + + + {localize( + "Your trade will automatically close at 8,100, which is the nearest applicable market price to your stop loss level.", + )} + + + + + + + + + + + {localize('Margin call')} - + {localize( 'You can still open positions when you get a margin call, but we recommend you add funds to your account to keep your positions running.', )} - + {localize('Margin requirements')} - + {localize( 'Margin requirements may differ depending on factors like the asset you want to trade, the equity in your account, your account type and market conditions.', )} - - - - info - -
- {localize('Important notes on our swap rates (overnight funding)')} -
-
- - +
+ {localize('Swap rates (overnight funding)')} +
+ + + {localize( + 'If you keep any position open overnight, an interest adjustment (or swap rate) will be made to your trading account to compensate for the cost of keeping your position open. Instruments traded on our platforms are subjected to different swap rates and other conditions:', + )} + +
+ {localize('Forex and commodities')} +
+ + {localize( + 'The swap rate is based on interbank lending rates, in addition to a 2% fee that is charged daily (every night) that your position is held. The swap rate also depends on the time and days that you hold your positions open:', + )} + +
    +
  • + {localize( - 'If you keep any position open overnight, an interest adjustment (or swap rate) will be made to your trading account to compensate for the cost of keeping your position open. Instruments traded on our platforms are subjected to different swap rates and other conditions:', + 'If you keep a position open past 23:59:59 GMT, you will be subjected to the basic swap rate.', )} -
    - {localize('Forex and commodities')} -
    - +
  • +
  • + {localize( - 'The swap rate is based on interbank lending rates, in addition to a 2% fee that is charged daily (every night) that your position is held. The swap rate also depends on the time and days that you hold your positions open:', + 'Since it takes two days for forex transactions to settle, positions that are still open on Wednesday at 23:59:59 GMT will be charged three times the swap rate to account for weekends.', )} -
      -
    • - - {localize( - 'If you keep a position open past 23:59:59 GMT, you will be subjected to the basic swap rate.', - )} - -
    • -
    • - - {localize( - 'Since it takes two days for forex transactions to settle, positions that are still open on Wednesday at 23:59:59 GMT will be charged three times the swap rate to account for weekends.', - )} - -
    • -
    • - - {localize( - 'Our swap rate may also be adjusted to take holidays into account.', - )} - -
    • -
    -
    - {localize('Synthetic indices')} -
    - +
  • +
  • + {localize( - 'An interest adjustment will be made to your trading account to compensate for the cost of keeping your position open overnight.', + 'Our swap rate may also be adjusted to take holidays into account.', )} - - ]} - /> - - - - {localize( - 'Please note that our swap rate also depends on the time and days you hold your positions open.', - )} - - - - +
  • +
+
+ {localize('Synthetic indices')} +
+ + {localize( + 'An interest adjustment will be made to your trading account to compensate for the cost of keeping your position open overnight. The interest adjustment is calculated on an annual basis for long and short positions.', + )} + + + {localize('You can use our swap calculator to estimate the swap charges required to keep your positions open overnight on DMT5.')} + + + + {localize('Swap calculator')} + + + + {localize( + 'Please note that our swap rate also depends on the time and days you hold your positions open.', + )} + +