-
Notifications
You must be signed in to change notification settings - Fork 25
/
index.html
57 lines (57 loc) · 3.44 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="ROBOTS" content="INDEX, FOLLOW" />
<meta name="VIEWPORT" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://saxobank.github.io/openapi-samples-js/assets/css/style.css">
<link rel="shortcut icon" type="image/x-icon" href="https://saxobank.github.io/openapi-samples-js/favicon.ico">
<script type="text/javascript" src="../../assets/js/boilerplate.js" defer></script>
<script type="text/javascript" src="demo.js" defer></script>
<title>Order Demo for Regulatory Requirements</title>
</head>
<body>
<section class="page-header">
<h1 class="project-name">Regulatory Requirements</h1>
<h2 class="project-tagline">Example on Requirements for Order Tickets</h2>
<a href="https://saxobank.github.io/openapi-samples-js" class="btn">← Back to main page</a>
<a href="https://github.com/SaxoBank/openapi-samples-js/tree/main/orders/regulatory-requirements" class="btn">View on GitHub</a>
</section>
<section class="main-content">
<div class="highlight">
<label><span>Add token <a href="https://www.developer.saxo/openapi/token" target="_blank" id="idHrefRetrieveToken">from here</a> to the box below:</span><br />
<input type="text" class="token-field" id="idBearerToken" value="" placeholder="Paste token here.." autofocus /></label>
<input type="button" class="action-button" value="Validate" id="idBtnValidate" /><br />
<label>
Account: <select class="selector" id="idCbxAccount">
<option value="-">Click Validate to populate</option>
</select>
</label>
</div>
<h1>Requirements for order tickets</h1>
This example shows three important things which need to be in place for order tickets, to apply with the EU-MiFID regulations.<br />
<ol>
<li>When the customer wants to trade a complex AssetType, the customer must be warned that specific knowledge about this AssetType is required.</li>
<li>The customer must have the option to examine a <a href="https://www.developer.saxo/openapi/learn/mifid-2-cost-reporting" target="_blank">cost breakdown</a> of the transaction and holding the asset for 1 year.</li>
<li>If there is documentation about the asset <a href="https://www.developer.saxo/openapi/learn/market-overview" target="_blank">(PRIIPS/KIID)</a>, the customer must have the option to download this.</li>
</ol>
<label>
Asset type: <select class="selector" id="idCbxAssetType">
<option value="-">Click "Validate" to populate</option>
</select>
</label>
<label>Instrument Uic: <input type="text" class="text-field" id="idUic" value="112809" placeholder="Enter instrument Uic.." /></label><br />
<label>Amount (for cost): <input type="text" class="text-field" id="idAmount" value="100" placeholder="Enter amount.." /></label><br />
<label>Price (for cost): <input type="text" class="text-field" id="idPrice" value="3.24" placeholder="Enter last price.." /></label><br />
<br />
<input type="button" class="action-button" value="Complex warning" id="idBtnComplexWarning" />
<input type="button" class="action-button" value="Order costs" id="idBtnGetOrderCosts" />
<input type="button" class="action-button" value="Download KID" id="idBtnGetKid" />
<br />
Response: <pre class="highlight" id="idResponse">Click button to launch function.</pre>
<br />
JS code: <pre class="code-block" id="idJavaScript">Click button to show code.</pre>
<footer class="site-footer"><span class="site-footer-credits" id="idFooter"></span></footer>
</section>
</body>
</html>