Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitfinex_best_api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitfinex_best_api

Bitfinex.com — Best API-client for Stock Exchanges (2018). Getting fresh orders in real time.

  • 4.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

bitfinex_best_api

Best API-client for Bitfinex.com

Bitfinex.com — Best API-client for Stock Exchanges (2018). Getting fresh orders in real time.

Check out the Interactive Demo

With this module, you can develop your own crypto-bots, analyze crypto-markets and of course, make money.

Our web-service works 24 hours and keeps high loads

The data of all exchanges come in a single format and contain extended information (links for switching to trading pairs, best asks and bids, exchange rates and much more).


  • FREE!
  • The actuality of orders is 5-30 seconds!
  • Data from most exchanges
  • Round-the-clock support

Installation Instructions

$ npm install bitfinex_best_api

Init example

// Also you can use require method:
// var bitfinex_best_api = require("bitfinex_best_api")
import bitfinex_best_api from 'bitfinex_best_api';
let KUPINET = new bitfinex_best_api('freeApi'); // Init Free Api Key

async function getAllStocks() {
    let response = await KUPINET.getAllStocks()
    console.log(response)
}

getAllStocks()

Stocks API

import bitfinex_best_api from 'bitfinex_best_api';
let KUPINET = new bitfinex_best_api('freeApi'); // Init Free Api Key

// Get all stocks
async function getAllStocks() {
    let response = await KUPINET.getAllStocks()
    console.log(response)
}

// Get orders by Stock name
async function getStocksOrders() {
    let response = await KUPINET.getStocksOrders('Bitfinex','ETH','BTC')
    console.log(response)
}

// Get all pairs from the Stock
async function getStocksAllPairs() {
    let response = await KUPINET.getStocksAllPairs('Bitfinex')
    console.log(response)
}

Pairs API

import bitfinex_best_api from 'bitfinex_best_api';
let KUPINET = new bitfinex_best_api('freeApi'); // Init Free Api Key

// Find best prices for Pair in all Stocks
async function getPairBestPrices() {
    let response = await KUPINET.getPairBestPrices('LTC','ETH')
    console.log(response)
}

Find Best Prices API

import bitfinex_best_api from 'bitfinex_best_api';
let KUPINET = new bitfinex_best_api('freeApi'); // Init Free Api Key

// Find best ASK
async function getCoinBestPricesAsk() {
    let response = await KUPINET.getCoinBestPricesAsk('LTC','ETH')
    console.log(response)
}

//Find best BID
async function getCoinBestPricesBid() {
    let response = await KUPINET.getCoinBestPricesBid('LTC','ETH')
    console.log(response)
}

Cryptocurrency Converter (Calculator) API

import bitfinex_best_api from 'bitfinex_best_api';
let KUPINET = new bitfinex_best_api('freeApi'); // Init Free Api Key

// Coins list
async function getCalcData() {
    let response = await KUPINET.getCalcData()
    console.log(response)
}

// Convert Coin to Coin
async function getCalculation() {
    let response = await KUPINET.getCalculation('LTC','ETH', 10)
    console.log(response)
}

In the future

  • Unloading historical trade data
  • Multi-trading through a single terminal
  • Tool for crypto arbitrage
  • API for JavaScript, PHP, C#
  • Launch of a decentralized exchange
  • Widget (calculator) for integration with sites

About us

We are a team of crypto developers. Our goal is to make the most convenient crypto services possible. Contact with us

Keywords

FAQs

Package last updated on 18 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc