Skip to content

Commit

Permalink
Add other currency pair format LTCEUR BTCEUR XBTEUR ETHEUR
Browse files Browse the repository at this point in the history
  • Loading branch information
dve committed Aug 19, 2017
1 parent 56e5e0a commit a629aee
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Constant/CurrencyPair.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

class CurrencyPair
{
const LTCEUR = 'LTCEUR';
const BTCEUR = 'BTCEUR';
const XBTEUR = 'XBTEUR';
const ETHEUR = 'ETHEUR';
const BCHEUR = 'BCHEUR';
const DASHEUR = 'DASHEUR';
const DASHUSD = 'DASHUSD';
Expand Down Expand Up @@ -60,6 +64,10 @@ class CurrencyPair
const XZECZUSD = 'XZECZUSD';

private static $quoteCurrenciesByPair = [
self::LTCEUR => 'EUR',
self::BTCEUR => 'EUR',
self::XBTEUR => 'EUR',
self::ETHEUR => 'EUR',
self::BCHEUR => 'EUR',
self::DASHEUR => 'EUR',
self::DASHUSD => 'USD',
Expand Down Expand Up @@ -117,6 +125,10 @@ class CurrencyPair
];

private static $baseCurrenciesByPair = [
self::LTCEUR => 'XLTC',
self::BTCEUR => 'XXBT',
self::XBTEUR => 'XXBT',
self::ETHEUR => 'XETH',
self::BCHEUR => 'BCH',
self::DASHEUR => 'DASH',
self::DASHUSD => 'DASH',
Expand Down

0 comments on commit a629aee

Please sign in to comment.