Download the PHP package openclerk/exchanges without Composer
On this page you can find all versions of the php package openclerk/exchanges. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download openclerk/exchanges
More information about openclerk/exchanges
Files in openclerk/exchanges
Package exchanges
Short Description Definitions and implementations of exchanges in Openclerk
License
Informations about the package exchanges
openclerk/exchanges
A library for accessing live exchange market data for many different exchanges, used by Openclerk and live on CryptFolio.
This extends on the abstract currency definitions provided by openclerk/currencies.
Installing
Include openclerk/exchanges
as a requirement in your project composer.json
,
and run composer update
to install it into your project:
Using
Get the markets supported by an exchanges:
Get the current trade values for an exchange market, which will always include
at least last_trade
, and may include bid
, ask
, high
, low
, volume
, avg
and/or vwap
:
Tests
Each exchange comes with a suite of tests to check each associated service.
To run the tests for a single exchange:
To get debug output for the tests (such as CURL requests and decoded output),
add the --debug
switch to your vendor/bin/phpunit
command.
Donate
Contributing
Pull requests that contribute new exchanges are welcome.
For new currencies, make sure that you also provide an associated
CurrencyTest
so that the currency is automatically testable.
TODO
- Generate README list of currencies/services automatically
- Link to live APIs on CryptFolio
- CI build server and link to test results
All versions of exchanges with dependencies
openclerk/currencies Version ^0.1
openclerk/apis Version ^0.1
monolog/monolog Version ~1.11
php Version >=5.4.6