Giter VIP home page Giter VIP logo

node-coinigy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-coinigy's Issues

Planning

I just signed up for Coinigy, and holy $"ยง&=) am I going to be staying. I want to utilise your library and help maintain it.

What is undone? Where do you need help? What are your ideas on where we can take this sdk? etc.

Let me know! ๐Ÿ‘

Account functions test coverage

Hmm a lot of these will look interesting to test when you have to use a real account. I am not sure I want to run a test and do any transactions ๐Ÿ˜…

Thoughts on how to make the test environment as safe as possible for users of this package? Does Coinigy have a "sandbox" that provides test credentials for such a thing?

Body from client side + other thing I noticed.

Hi, this is a super n00b question, I'm building a coinigy bot as the first thing I've programmed in almost 20 years :)

I really like what you have done. There are 2 things that I have come across from your "use" example.

  1. var Coinigy = require('node-coinigy');
    var coinigy = new Coinigy('your-api-key', 'your-api-secret');

coinigy.activity()
.then(function (body) {
console.log(body.data);
console.log(body.notifications);
})
.catch(function (err) {
console.log(err);
});

Those console log commands did not work for me. I ran into this exact issue: https://stackoverflow.com/questions/10729276/how-can-i-get-the-full-object-in-node-jss-console-log-rather-than-object

So to make it work I had to change it to this:

const util = require('util')
coinigy.activity()
.then(function (body) {
console.log(util.inspect(body.data, false, null));
console.log(util.inspect(body.notifications, false, null));
})
.catch(function (err) {
console.log(err);
});

The other thing is that I want to read the tickers now, so I want to do something like this:

const util = require('util')
coinigy.ticker()
.then(function (body) {
console.log(util.inspect(body.data, false, null));
console.log(util.inspect(body.notifications, false, null));
})
.catch(function (err) {
console.log(err);
});

But I don't understand how I should implement this bit: {exchange_code, exchange_market}
Thanks for the help! :)

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.