Git Product home page Git Product logo

yunbi's Introduction

YUNBI

fork from Kimmsudenver/yunbi;

Open source developed Nodejs API for the exchange market www.yunbi.com

  • This allow user to connect to public(unauthenticated) and private(authenticated) apis to view prices, check balance and trade from the module.
  • Include most of Yunbi API except for placing multiple orders.

Usage :

npm i yunbi-api-v2 --save
  • var Client = require('yunbi-api-v2');

  • var client = new Client ( ACCESS_KEY, SECRET_KEY );

Public Call

  • client.getTicker( callback );
  • client.getAllTickers( callback );
  • client.getOrderBook( coinA, coinB, askLimit*, bitLimit*,callback );
  • client.getDepth( coinA, coinB,callback );
  • client.getMarkets( callback );
  • client.getTimeStamp( callback );
  • client.getK( coinA, coinB, limit*, period*, timestamp*, callback );
  • client.KPendingTrades( coinA, coinB, tradeId, limit*, period*, timestamp*,callback );

Private Get

  • client.getMember( callback );
  • client.getAllDeposits( coin, limit*, state*, callback );
  • client.getDeposit( transactionId, callback );
  • client.getDepositAddress( coin, callback );
  • client.getAllOrders( coinA, coinB, state*, limit*, page*, orderBy*, callback );
  • client.getOrder( orderId, callback );
  • client.myBalances( callback );
  • client.getRecentTrade( coinA, coinB, limit*, timestamp*, from*, to*, orderBy*, callback );
  • client.getMyTrades( coinA, coinB,limit*, timestamp*, from*, to*, orderBy*, callback );

Private Post

  • client.buy( coinA, coinB, rate, amount, callback );
  • client.sell( coinA, coinB, rate, amount, callback );
  • client.cancelAllOrders( side, callback );
  • client.cancelOrder( orderId, callback );
  • : optional param, pass in null if not specified.

Buy me a cup of coffee for late night coding? Thank you for your support :) Paypal : [email protected] Bitcoin : 1EnU64Gfa85A4XfzTzxm2ffYb1XLzvMtR3

yunbi's People

Contributors

geeebro avatar kimmsudenver avatar kimbuimscd avatar

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.