agnonym-laravel / bitstamp
Laravel Bitstamp API client
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
pkg:composer/agnonym-laravel/bitstamp
Requires
- php: ^7.3|^8.0
- illuminate/contracts: ^7.0|^8.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.3
This package is not auto-updated.
Last update: 2025-10-14 09:53:09 UTC
README
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.