-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (32 loc) · 1.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Forex Magin Calculator, Clean HTML & Javascript</title>
<link href="style.min.css" rel="stylesheet" />
</head>
<body>
<script type='text/javascript' src='https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js'></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/jautocalc@1.4.1/dist/jautocalc.min.js"></script>
<script type="text/javascript" src="script.min.js"></script>
<div class="margin-table">
<form id="cal"><table name="cal">
<tr>
<th>Current Price</th>
<th>Lots Size</th>
<th>Contact Size</th>
<th>Leverage</th>
<th>Margin</th>
</tr>
<tr class="line_items">
<td><input type="text" name="price" value="1.12345"></td>
<td><input type="text" name="lot" value="1.00"></td>
<td><input type="text" name="contact" value="100000"></td>
<td><input type="text" name="leverage" value="500"></td>
<td class="mm"><input type="text" class="margin" name="item_total" value="" jAutoCalc="{price} * {lot} * {contact} / {leverage}"></td>
</tr>
</table>
</form>
</div>
</body>
</html>