Looking to hire Laravel developers? Try LaraJobs

bitstamp maintained by agnonym-laravel

Description
Laravel Bitstamp API client
Author
Last update
2021/01/10 14:24 (dev-master)
License
Downloads
3
Tags

Comments
comments powered by Disqus

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.