HTTP API for a ticker using cherrypy and couchdb