-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtrading.html
184 lines (140 loc) · 5.59 KB
/
trading.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Exchangery Demo Trading Screen</title>
<meta name="description" content="A sample trading screen.">
<meta name="author" content="The Exchangery">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/fancybox.css">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script -->
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/plugins.js" type="text/javascript"></script>
<script src="js/exchange_client.js" type="text/javascript"></script>
<script src="js/trading_screen.js" type="text/javascript"></script>
<script src="js/newsletter.js" type="text/javascript" ></script>
<script src="js/fancybox.js" type="text/javascript"></script>
<script src="js/jquery.validate.min.js" type="text/javascript"></script>
<script src="js/chart.js" type="text/javascript"></script>
<script src="js/general.js" type="text/javascript"></script>
</head>
<body class="index">
<header>
<div class="inner">
<h1>The Exchangery</h1>
<nav>
<ul>
<li><a href="index.html" title="Home">Home</a></li>
<li><a href="faq.html" title="Frequently Asked Questions">FAQ</a></li>
<li><a href="about.html" title="About">About</a></li>
<li><a href="api.html" title="API">APIs</a></li>
<li><a href="trading.html" title="Trading" class="active">Trading Demo</a></li>
<li class="no-display"><a id="menu-login" href="#login-form" title="Login">Login</a></li>
<!-- <li><a href="account.html" title="Account Demo" class="">Account Demo</a></li> -->
</ul>
</nav>
<div class="hidden">
<form id="login-form" method="post">
<div class="connect-note">The connection is lost. Please try to login again.</div>
<div class="error-note">The username or password is not correct. Please try again.</div>
<div>
<div class="item-title">Username:</div>
<input type="text" name="username" id="username">
<div class="clear"></div>
</div>
<div>
<div class="item-title">Password:</div>
<input type="password" name="password" id="password">
<div class="clear"></div>
</div>
<div class="a-right">
<input type="submit" class="button" value="Login">
</div>
</form>
</div>
</div>
</header>
<div id="intro" class="intro">
<div class="inner">
<h2>Trading Demo</h2>
</div>
</div>
<div id="body">
<div class="inner">
<div class="column six" style="vertical-align: top;">
<table id="order_grid" width="100%">
<thead>
<tr>
<td width="17%">product</td>
<td width="16%">bid quantity</td>
<td width="12%">bid</td>
<td width="12%">offer</td>
<td width="20%">offer quantity</td>
<td width="16%">last price</td>
<td width="4%"> </td>
</tr>
</thead>
<tbody>
</tbody>
</table>
<div id="chart"><div></div></div>
</div>
<div class="column six last">
<div id="detail_pane" class="box" style="vertical-align: top; padding: 20px;">
Choose a product from the left to display order book depth.
</div>
</div>
<div class="column twelve" style="margin-top: 40px;">
<form id="order_form">
<label>Symbol:</label>
<select type="text" id="symbol" name="symbol"></select>
<label>Side:</label>
<select id="side" name="side">
<option value="buy">buy</option>
<option value="sell">sell</option>
</select>
<label>Quantity:</label>
<input type="text" id="quantity" name="quantity" min="1">
<label>Price:</label>
<input type="text" id="price" name="price" min="0">
<input type="submit" value="Place Order" class="button">
<img src="images/loading.gif" class="loader" />
</form>
</div>
</div>
</div>
<div id="signup" class="focus">
<div class="inset">
<div class="inner">
<p class="big column five">Sign up for our newsletter and get updates and early access.</p>
<div class="column seven last">
<form id="newsletter">
<input type="text" name="email" placeholder="[email protected]">
<input type="submit" name="submit" value="Get Notified" class="button">
</form>
</div>
</div>
</div>
</div>
<footer>
<div class="inner">
<p>© 2011 The Exchangery.</p>
</div>
</footer>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-22166769-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>