mazanax/exchange-connector

Connector lib for crypto exchanges

v1.3 2020-08-12 08:58 UTC

This package is auto-updated.

Last update: 2024-04-12 17:40:17 UTC


README

Universal connector for Binance, Bittrex, Huobi and Okex APIs

Supported exchanges

  • Binance
  • Bittrex
  • Huobi
  • Okex

How to connect

Use Composer to import package in your project.

composer require mazanax/exchange-connector

How to use

Have to choose exchange to connect and make Connection object with needed settings. After that, use resolve to make connector.

$connector = (new Connector(''))->resolve(new Connection(
    'binance',
    'API_KEY',
    'API_SECRET'
));

print_r($connector->orders());

You can find more examples in tests folder.