https://github.com/makevoid/bitstamp_react_pusher
Bistamp Orderbook React Viz - Visualizes the Bitstamp BTC/USD Orderbook using Opal and React
https://github.com/makevoid/bitstamp_react_pusher
Last synced: 9 months ago
JSON representation
Bistamp Orderbook React Viz - Visualizes the Bitstamp BTC/USD Orderbook using Opal and React
- Host: GitHub
- URL: https://github.com/makevoid/bitstamp_react_pusher
- Owner: makevoid
- Created: 2015-08-14T11:18:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-09-12T01:50:03.000Z (over 10 years ago)
- Last Synced: 2025-03-25T06:02:44.549Z (10 months ago)
- Language: Ruby
- Homepage: http://bitstamp-react-pusher.mkvd.net/
- Size: 480 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Bitstamp React Pusher (websockets) Orderbook Visualization
Visualizes the Bitstamp BTC/USD Orderbook
#### todo:
sum up all the trades at the same price in the same bar / element
---
# mkv Opal setup (no sprockets, using guard)
A very fast opal setup - includes opal browser - uses guard to automatically compile your .js.ruby files as you save them - has opal and opal-browser vendored already in js files.
Open the project in a webserver:
python SimpleHTTPServer 3000
then open a browser at:
#### Development
install the dependencies
bundle
launch guard:
guard
modify app.rb, save and refresh the browser
---
you can also run everything with a simple command (experimental)
rake
---
#### extra infos:
build a stdlib module
File.open("math.js", 'w') { |file| file.write(Opal::Builder.build('math')) }
all stdlib modules:
https://github.com/opal/opal/tree/master/stdlib
useful stdlib modules:
- nodejs (file, dir, kernel, io ...)
- js (instanceof, typeof, call ...)