Mock MtGox Socket.io and HTTP server
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
TODO.md
config.js
emitter.js
messages.js
mtgox-api-util.js
orderbook.js
package.json
server.js
socket.js

README.md

mtgox-mock

MtGox doesn't provide a test environment. This project replicates Gox' Socket.io API and orderbook in order to test bots trading MtGox

Usage

First, launch the server

$ node server.js

This will launch a socket.io instance that you can connect to and an express instance that you can make request to (for instance to add or cancel an order).

Progress

This is a work in progress. For now the orderbook is super basic, and the trades are being streamed from a MongoDB database. See the TODO.md for the next steps.