I am using nodejs and cryptsy api. I have the following to .js files (one
is for the api and the other is to get the data). when running this command:
cryptsy.api('myorders', { marketid: 132 }, function (err, data) {
console.log('myorders', err ? err : data);});
I am getting the following:
myorders [ { orderid: '331574847',
created: '2015-07-20 03:50:55',
ordertype: 'Sell',
price: '0.00000062',
quantity: '100.00000000',
orig_quantity: '100.00000000',
total: '0.00006200' } ]
*How can I create a function that will give me on the orderid or ordertype
or any of the above options separately?*
The cryptsy api .js file is like this (i put it on the below link in order
to avoid the code ident here (http://textuploader.com/aa6ui) or can be
downloaded using npm install cryptsy
thanks
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/81e4fbce-e792-4511-82d3-3f57b7223d1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.