JSPM

  • Created
  • Published
  • 0
  • Score
    100M100P100Q45168F
  • License MIT

Crypto currency trade API

Package Exports

  • tradex

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tradex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Tradex

Crypto currency trade API

Features

  • Support some popular crypto currency exchanges
  • Only support spot, futures is planning
  • Less dependencies
  • Support Node 12+

Installing

Using yarn:

$ yarn add tradex

Or using npm:

$ npm install tradex

Useage

const Tradex = require('tradex');

const tradex = new Tradex({
    id: 'binance',
    host: '',
    apiKey: '',
    secretKey: ''
});

const account = await tradex.getAccount();
console.log(account);

How to get API's access permission

Supported Exchange Markets

| Name | id | Document | API | | ---- | ---- | ---- | | Binance | binance | doc | | Huobi Global | huobi | doc | | OKEx | okex | doc |

Document

  • βœ… getTrick
  • πŸ• getTricks
  • βœ… getBalance
  • βœ… getBalances
  • βœ… buy
  • βœ… sell
  • βœ… getOrder

License

MIT

Copyright (c) 2020-present, δΈ€δΏ’(1Jay)