pavlyshyn/bittrex
Composer 安装命令:
composer require pavlyshyn/bittrex
包简介
API Wrapper for the Bittrex cryptocurrency exchange
README 文档
README
This package is a wrapper for the Bittrex.com Exchange. It can be used to check the current market, check your portfolio and place buy and sell orders.
Requirements
- Account on bittrex.com, with an API key and API secret.
Usage
Install this package using:
composer require pavlyshyn/bittrex
Create an instance of the bittrex object, and call one of the available methods.
use Pavlyshyn\Bittrex\Client;
$key = 'here-comes-the-api-key-from-bittrex';
$secret = 'this-is-the-api-secret-from-bittrex';
// Create a new Bittrex client object
$btx = new Client($key, $secret);
// Get the current values for the BTC-LTC market
$ticker = $btx->ticker('BTC-LTC);
// Get the current orderbook for the BTC-DGB market
$oderBook = $btx->orderBook('BTC-DGB');
// Get your open orders for the BTC-ETH market
$orders = $btx->orderHistory('BTC-ETH);
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-08-05