Skip to content
This repository has been archived by the owner on Dec 17, 2017. It is now read-only.

Commit

Permalink
added trade example
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoqween committed Jan 5, 2017
1 parent 0bde715 commit 6c7b4d4
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
3 changes: 0 additions & 3 deletions streamer/current/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@

<div class="wrapper">
<h1><span id="fsym"></span> - <span id="tsym"></span> <strong><span class="price" id="price"></span></strong></h1>

<div class="label">Last Market: <span class="market" id="market"></span></div>

<div class="label">Last Volume: <span class="value" id="volume"></span></div>
<div class="label">Last VolumeTo: <span class="value" id="volumeto"></span></div>
<div class="label">24h Volume: <span class="value" id="24volume"></span></div>
<div class="label">24h VolumeTo: <span class="value" id="24volumeto"></span></div>
<div class="label">Last TradeId: <span class="value" id="tradeid"></span></div>

<div class="source"> Source: <a href="http://www.cryptocompare.com">CryptoCompare</a></div>
</div>

Expand Down
19 changes: 19 additions & 0 deletions streamer/trade/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css"
</head>

<body>

<div class="wrapper">


</div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.7.2/socket.io.js"></script>
<script src="../ccc-streamer-utilities.js"></script>
<script src="./stream.js"></script>

</body>
</html>
Empty file added streamer/trade/stream.js
Empty file.
Empty file added streamer/trade/style.css
Empty file.

0 comments on commit 6c7b4d4

Please sign in to comment.