bitstamp maintained by agnonym-laravel
Laravel Bitstamp
Laravel client for Bitstamp.net HTTP API v2.
Installation
You can install the package via composer:
composer require agnonym-laravel/bitstamp
Usage
use Bitstamp;
// Get Ticker for a trading pair (open, last, high, low prices, bid, ask orders, volume).
Bitstamp::ticker('BTC/USD');
// Get Hourly Ticker for a trading pair (open, last, high, low prices, bid, ask orders, volume).
Bitstamp::hourlyTicker('BTC/USD');
// Get Order Book for a trading pair (asks and bids lists).
Bitstamp::orderBook('BTC/USD');
// Get trading pairs information (for each trading pair: name, description, URL symbol, trading status, decimals for base and counter currency, minimum order).
Bitstamp::tradingPairsInformation();
// Get trading pair information (name, description, URL symbol, trading status, decimals for base and counter currency, minimum order).
Bitstamp::tradingPairInformation('BTC/USD');
Testing
composer test
License
The MIT License (MIT). Please see License File for more information.