Git Product home page Git Product logo

bitcoin-rt's Issues

Error when running example and opening browser


Starting mock MtGox service
Started listening on port 1337
sending trade {"type":"trade","exchange":"mtgoxUSD","date":1367088244000,"amount":5,"price":12.239,"price_currency":"USD","txid":"1348679989121772"}
date Sat Apr 27 2013 14:44:03 GMT-0400 (EDT) / 1367088243868

/Users/tibbon/Code/bitcoin-rt/node/trades-db.js:27
        var stream = collection.find({}).streamRecords();
                                         ^
TypeError: Object #<Cursor> has no method 'streamRecords'
    at /Users/tibbon/Code/bitcoin-rt/node/trades-db.js:27:42
    at Db.collection (/Users/tibbon/node_modules/mongodb/lib/mongodb/db.js:461:44)
    at Object.exports.forEachTrade (/Users/tibbon/Code/bitcoin-rt/node/trades-db.js:26:8)
    at WebSocketServer.<anonymous> (/Users/tibbon/Code/bitcoin-rt/node/bitcoind.js:29:28)
    at WebSocketServer.EventEmitter.emit (events.js:95:17)
    at WebSocketServer.handleUpgrade (/Users/tibbon/node_modules/websocket/lib/WebSocketServer.js:189:14)
    at Server.EventEmitter.emit (events.js:106:17)
    at Socket.socket.ondata (http.js:1937:14)
    at TCP.onread (net.js:510:27)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.