You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 13, 2024. It is now read-only.
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>
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>
21
24
22
25
<SandboxIframesandbox={sandboxes.ticks} />
23
26
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>
25
30
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>
0 commit comments