Skip to content

Commit

Permalink
fixed return24Volume -> return24hVolume
Browse files Browse the repository at this point in the history
  • Loading branch information
you21979 committed Jun 19, 2017
1 parent c3670cd commit b9c09d4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
7 changes: 7 additions & 0 deletions example/24vol.js
@@ -0,0 +1,7 @@
var poloniex = require('..')
var api = poloniex.PublicApi;

api.volume24().then(console.log)



2 changes: 1 addition & 1 deletion lib/public_api.js
Expand Up @@ -48,7 +48,7 @@ var ticker = exports.ticker = function(){
}

var volume24 = exports.volume24 = function(){
return query('return24Volume')
return query('return24hVolume')
}

var orderBook = exports.orderBook = function(pair, depth){
Expand Down
26 changes: 13 additions & 13 deletions package.json
@@ -1,27 +1,27 @@
{
"author": "Yuki Akiyama <you2197901 [at] gmail.com>",
"name": "@you21979/poloniex.com",
"version": "0.0.9",
"version": "0.0.10",
"private": false,
"dependencies": {
"autobahn" : "0.10.x",
"@you21979/simple-verify" : "0.0.x",
"@you21979/object-util" : "0.0.x",
"@you21979/http-api-error" : "0.0.x",
"limit-request-promise" : "0.1.x",
"autobahn": "0.10.x",
"@you21979/simple-verify": "0.0.x",
"@you21979/object-util": "0.0.x",
"@you21979/http-api-error": "0.0.x",
"limit-request-promise": "0.1.x",
"request": "^2.34"
},
"readmeFilename": "README.md",
"description": "poloniex.com trade api for promise",
"main": "index.js",
"devDependencies": {
"local-echoserver" : "",
"moment" : "",
"bluebird" : "",
"istanbul":"",
"coveralls":"",
"power-assert":"",
"mocha":""
"local-echoserver": "",
"moment": "",
"bluebird": "",
"istanbul": "",
"coveralls": "",
"power-assert": "",
"mocha": ""
},
"scripts": {
"test": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha",
Expand Down

0 comments on commit b9c09d4

Please sign in to comment.