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

Commit 9b669f1

Browse files
Hubert KosterHubert Koster
authored andcommitted
chore: removing branding
1 parent ba20265 commit 9b669f1

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

docs/code-examples/javascript/keep-alive/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ keywords:
1616
description: Keep Alive code example
1717
---
1818

19+
import RenderOfficialContents from '@site/src/components/RenderOfficialContents';
1920
import SandboxIframe from '@site/src/components/SandboxIframe';
2021
import { sandboxes } from '@site/src/components/SandboxIframe/utility/sandboxes';
2122

22-
In this example you'll see how to keep a connection alive when getting contract proposals via the Deriv API. This example keeps the connection alive by sending a ping every 30 seconds.
23+
<RenderOfficialContents>
24+
<p>In this example you'll see how to keep a connection alive when getting contract proposals via the Deriv API. This example keeps the connection alive by sending a ping every 30 seconds.</p>
25+
</RenderOfficialContents>
2326

2427
<SandboxIframe sandbox={sandboxes.keep_alive} />

docs/code-examples/javascript/ticks-history/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ keywords:
1616
description: Ticks History code example
1717
---
1818

19+
import RenderOfficialContents from '@site/src/components/RenderOfficialContents';
1920
import SandboxIframe from '@site/src/components/SandboxIframe';
2021
import { sandboxes } from '@site/src/components/SandboxIframe/utility/sandboxes';
2122

2223
With ticks history you are able to get a collection of past tick times and prices.
2324

2425
<SandboxIframe sandbox={sandboxes.ticks_history} />
2526

26-
We subscribe to the ticks functionality from the Deriv API websocket to keep track of current and past ticks.
27+
<RenderOfficialContents>
28+
<p>We subscribe to the ticks functionality from the Deriv API websocket to keep track of current and past ticks.</p>
29+
</RenderOfficialContents>
2730

2831
As an example you could create an interactive tick graph.

docs/code-examples/javascript/ticks/index.mdx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,20 @@ keywords:
1414
description: Ticks code example
1515
---
1616

17+
import RenderOfficialContents from '@site/src/components/RenderOfficialContents';
1718
import SandboxIframe from '@site/src/components/SandboxIframe';
1819
import { sandboxes } from '@site/src/components/SandboxIframe/utility/sandboxes';
1920

20-
The easiest way to understand how Deriv API works is to try our Tick call:
21+
<RenderOfficialContents>
22+
<p>The easiest way to understand how Deriv API works is to try our Tick call:</p>
23+
</RenderOfficialContents>
2124

2225
<SandboxIframe sandbox={sandboxes.ticks} />
2326

24-
We'll start with the ticks example because it's a pretty simple block of code to implement. You don't have to log into the Deriv account and get your app authenticated to try it.
27+
<RenderOfficialContents>
28+
<p>We'll start with the ticks example because it's a pretty simple block of code to implement. You don't have to log into the Deriv account and get your app authenticated to try it.</p>
29+
</RenderOfficialContents>
2530

26-
A tick is a measure of minimum upward or downward movement in the price of a trading commodity. We subscribe to the ticks functionality from the Deriv API websocket, which will return new tick data every second. As an example you could create an interactive tick graph with this data.
31+
<RenderOfficialContents>
32+
<p>A tick is a measure of minimum upward or downward movement in the price of a trading commodity. We subscribe to the ticks functionality from the Deriv API websocket, which will return new tick data every second. As an example you could create an interactive tick graph with this data.</p>
33+
</RenderOfficialContents>

0 commit comments

Comments
 (0)