PHPackages                             tomasnikl/bittrex-currency-converter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tomasnikl/bittrex-currency-converter

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

tomasnikl/bittrex-currency-converter
====================================

Very simple php class to transfer your crypto currencies on Bittrex to your currency (USD, EUR, CZK, GBP....)

013PHP

Since Jul 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tomasnikl/bittrex-currency-converter)[ Packagist](https://packagist.org/packages/tomasnikl/bittrex-currency-converter)[ RSS](/packages/tomasnikl-bittrex-currency-converter/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Bittrex currency converter
==========================

[](#bittrex-currency-converter)

very simple php class to transfer your crypto currencies on Bittrex to your currency (USD, EUR, CZK, GBP....)

[![Image of Example](https://raw.githubusercontent.com/tomasnikl/bittrex-currency-converter/master/screenshot.png)](https://raw.githubusercontent.com/tomasnikl/bittrex-currency-converter/master/screenshot.png)

Installation
------------

[](#installation)

### Download sources from github or use composer to install:

[](#download-sources-from-github-or-use-composer-to-install)

```
composer require tomasnikl/bittrex-currency-converter
```

### Include to your site/project and initialize BittrexCurrencyConverter class

[](#include-to-your-siteproject-and-initialize-bittrexcurrencyconverter-class)

```
$bittrex = new BittrexCurrencyConverter('YOUR_BITTREX_API_KEY', 'YOUR_BITTREX_API_SECRET');
```

### Run the magic :)

[](#run-the-magic-)

```
$bittrex = new BittrexCurrencyConverter('YOUR_BITTREX_API_KEY', 'YOUR_BITTREX_API_SECRET');

$items = $bittrex
    ->fetchCoins()
    ->convert();
```

Options:
--------

[](#options)

Examples are located in example folder.

### Default

[](#default)

code:

```
$bittrex = new BittrexCurrencyConverter('YOUR_BITTREX_API_KEY', 'YOUR_BITTREX_API_SECRET');

$items = $bittrex
    ->fetchCoins()
    ->convert();
```

returns:

```
// your crypto currencies in your Bittrex account
Array
(
    [btc] => Array
        (
            [symbol] => BTC // crypto currency code
            [value] => 2.27690484 // volume in crypto currency code (BTC for this example)
            [valueInBtc] => 2.27690484 // volume in BTC
            [valueInUsd] => 5282.76076453 // volume in USD
            [valueInMyCurrency] => 5282.76076453 // volume in your custom currency (default USD)
            [progress] => Array
                (
                    [1h] => -2.03 // change in percents in last 1 hour
                    [24h] => -14.16 // change in percents in last 24 hour
                    [7d] => -13.41 // change in percents in last 7 days
                )
        )

    [sc] => Array
        (
            [symbol] => SC
            [value] => 19500.4837941
            [valueInBtc] => 0.101597520567
            [valueInUsd] => 251.039478124
            [valueInMyCurrency] => 251.039478124
            [progress] => Array
                (
                    [1h] => -5.03
                    [24h] => 14.16
                    [7d] => 12.41
                )
        )

    [dgb] => Array
        (
            [symbol] => DGB
            [value] => 23800.4837941
            [valueInBtc] => 0.265137389466
            [valueInUsd] => 606.91233675
            [valueInMyCurrency] => 606.91233675
            [progress] => Array
                (
                    [1h] => -5.03
                    [24h] => 14.16
                    [7d] => 12.41
                )
        )

    [total] => Array
        (
            [valueInBtc] => 2.64835684679
            [valueInUsd] => 6126.84997092
            [valueInMyCurrency] => 6126.84997092
        )
)
```

### Convert to your custom currency (GBP, CZK, PLN, EUR....)

[](#convert-to-your-custom-currency-gbp-czk-pln-eur)

code:

```
$bittrex = new BittrexCurrencyConverter('YOUR_BITTREX_API_KEY', 'YOUR_BITTREX_API_SECRET');

$items = $bittrex
    ->fetchCoins()
    ->setCurrency('CZK')
    ->convert();
```

returns:

```
// your crypto currencies in your Bittrex account
Array
(
    [btc] => Array
        (
            [symbol] => BTC // crypto currency code
            [value] => 2.27690484 // volume in crypto currency code (BTC for this example)
            [valueInBtc] => 2.27690484 // volume in BTC
            [valueInUsd] => 5282.76076453 // volume in USD
            [valueInMyCurrency] => 122752.31856 // volume in CZK
            [progress] => Array
                (
                    [1h] => -2.03 // change in percents in last 1 hour
                    [24h] => -14.16 // change in percents in last 24 hour
                    [7d] => -13.41 // change in percents in last 7 days
                )
        )

    [sc] => Array
        (
            [symbol] => SC
            [value] => 19500.4837941
            [valueInBtc] => 0.101597520567
            [valueInUsd] => 251.039478124
            [valueInMyCurrency] => 5875.73868665
            [progress] => Array
                (
                    [1h] => -5.03
                    [24h] => 14.16
                    [7d] => 12.41
                )
        )

    [dgb] => Array
        (
            [symbol] => DGB
            [value] => 23800.4837941
            [valueInBtc] => 0.265137389466
            [valueInUsd] => 606.91233675
            [valueInMyCurrency] => 14336.3552649
            [progress] => Array
                (
                    [1h] => -5.03
                    [24h] => 14.16
                    [7d] => 12.41
                )
        )

    [total] => Array
        (
            [valueInBtc] => 2.64835684679
            [valueInUsd] => 6126.84997092
            [valueInMyCurrency] => 142964.412512
            [progress] => Array
                (
                    [1h] => -5.03
                    [24h] => 14.16
                    [7d] => 12.41
                )
        )
)
```

### Add more volume from your wallets

[](#add-more-volume-from-your-wallets)

If you have crypto in your wallets, you can add to code too.

code:

```
$bittrex = new BittrexCurrencyConverter('YOUR_BITTREX_API_KEY', 'YOUR_BITTREX_API_SECRET');

$items = $bittrex
    ->fetchCoins()
    ->addCoin('XZC', 3000)
    ->addCoin('GNT', 5200)
    ->setCurrency('CZK')
    ->convert();
```

returns:

```
// your crypto currencies in your Bittrex account
Array
(
    [btc] => Array // this is currency volume from Bittrex
        (
            [symbol] => BTC // crypto currency code
            [value] => 2.27690484 // volume in crypto currency code (BTC for this example)
            [valueInBtc] => 2.27690484 // volume in BTC
            [valueInUsd] => 5282.76076453 // volume in USD
            [valueInMyCurrency] => 122752.31856 // volume in CZK
            [progress] => Array
                (
                    [1h] => -2.03 // change in percents in last 1 hour
                    [24h] => -14.16 // change in percents in last 24 hour
                    [7d] => -13.41 // change in percents in last 7 days
                )
        )

    [sc] => Array // this is currency volume from Bittrex
        (
            [symbol] => SC
            [value] => 19500.4837941
            [valueInBtc] => 0.101597520567
            [valueInUsd] => 251.039478124
            [valueInMyCurrency] => 5875.73868665
            [progress] => Array
                (
                    [1h] => -5.03
                    [24h] => 14.16
                    [7d] => 12.41
                )
        )

    [dgb] => Array // this is currency volume from Bittrex
        (
            [symbol] => DGB
            [value] => 23800.4837941
            [valueInBtc] => 0.265137389466
            [valueInUsd] => 606.91233675
            [valueInMyCurrency] => 14336.3552649
            [progress] => Array
                (
                    [1h] => -5.03
                    [24h] => 14.16
                    [7d] => 12.41
                )
        )

    [xzc] => Array // this is currency added in code
        (
            [symbol] => XZC
            [value] => 3000
            [valueInBtc] => 15.34824
            [valueInUsd] => 37446.9
            [valueInMyCurrency] => 876877.206195
            [progress] => Array
                (
                    [1h] => -5.03
                    [24h] => 14.16
                    [7d] => 12.41
                )
        )

    [gnt] => Array // this is currency added in code
        (
            [symbol] => GNT
            [value] => 5200
            [valueInBtc] => 1.0348
            [valueInUsd] => 2382.3956
            [valueInMyCurrency] => 55787.4856874
            [progress] => Array
                (
                    [1h] => -5.03
                    [24h] => 14.16
                    [7d] => 12.41
                )
        )

    [total] => Array
        (
            [valueInBtc] => 2.64835684679
            [valueInUsd] => 6126.84997092
            [valueInMyCurrency] => 142964.412512
        )
)
```

Buy me a beer
-------------

[](#buy-me-a-beer)

You can buy me a beer via BTC. My BTC wallet address is:

```
14KBa1cBzQg5gEce2Pnu9Wtrqs4sPAAakp

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/91eb1135dacf01f0f2a19b9b67f70579b85785784df0a79e158ef40f4c758a78?d=identicon)[tomasnikl](/maintainers/tomasnikl)

---

Top Contributors

[![tomasnikl](https://avatars.githubusercontent.com/u/1084596?v=4)](https://github.com/tomasnikl "tomasnikl (8 commits)")

### Embed Badge

![Health badge](/badges/tomasnikl-bittrex-currency-converter/health.svg)

```
[![Health](https://phpackages.com/badges/tomasnikl-bittrex-currency-converter/health.svg)](https://phpackages.com/packages/tomasnikl-bittrex-currency-converter)
```

###  Alternatives

[wi1dcard/china-divisions

中国行政区划地址库 SDK + 爬虫 + 数据。

2194.1k1](/packages/wi1dcard-china-divisions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
