Changelogs » Trading-api-wrappers

Trading-api-wrappers

0.13.0

Python 3.7 support
- Remove Python 3.6 from Pipfile (allows Python 3.7)
- Add Python 3.7 on README

General
- Multiple error keys can raise an `InvalidResponse`
- Improve README
- Updated dependencies
- Pipenv support on pyup

Buda
- Fix typo on `LTC` currency constant (it had `PEN` as value)
- Add pagination support for deposits and withdrawals on Buda
- `withdrawals` and `deposits` accept `page` and `per_page` params
- New `withdrawal_pages` and `deposit_pages` methods includes pages meta obj
- Remove UNTESTED note on withdrawals

0.12.3

Hotfix:
- Fix the `give_up_retry` callback. The retry failed for cases where there wasn't a response (connection errors, etc)

0.12.2

Buda:
- Fix payload not being sent as json on `new_order`.

0.12.1

Hotfix:
- Add `backoff` on setup.py `install_requires`

0.12.0

Improvements

Better use of the `requests` lib.

Auth:
- The project now uses [`requests.auth`](http://docs.python-requests.org/en/master/user/authentication/) features to sign authenticated requests on clients.
- Created base `HMACAuth` and `ApiKeyAuth` classes, implemented custom auth classes on clients.

Exceptions:
- `InvalidResponse` now includes the client's error meesage along with the HTTP code.

Retry:
- Replace `urllib` `Retry` for the [`backoff` library](https://github.com/litl/backoff) as `Retry` is "too low-level" and doesn't allow the request to be signed again with a new nonce by the `requests.auth` classes.

0.10.0

**General**
- Add rate limit feature, defaults to 1000ms
- Close request's `session` object on `Client` deletion
- Move `nonce` generation to `Client`
- Update `pytest` to `3.6.1`

0.9.1

**General**
- Add code `403` to retry list

**Buda**
- Add `limit` param on `BudaPublic.trades()`.
- Fix case when `timestamp` param is null for `BudaPublic.trades()`.
- Fix case when transfer's data (`deposits` and `withdrawals`) may be null.

0.9.0

**General**
- Add new optional `retry` feature on client requests.

**Buda**
- Add new `ARS` and `LTC` markets.

**CryptoMKT**
- Add new `BTC` and `XLM` markets.

0.8.2

**General**
- Update dependencies.

**Kraken**
- Fix error on `balance` call caused by null return on `clean_parameters`.

0.8.1

**Bitstamp**
- Fix `user_transactions` path if `currency_pair` param is `None`

**Kraken**
- Fix non-required `txid` param on `open_positions`

0.8.0

**General**
- Refactor setup.py
- Upload to PyPI: `pip install trading-api-wrappers`

0.7.3

**Buda**
- Fix Buda `host` param implementation
- Refactor Buda client, remove `test` param

0.7.2

**General**
- Update dependencies

**Buda**
- Add optional `host` param on Buda clients

0.7.1

**General**
- Update dependencies
- Update Pipenv to v11.9.0

**CurrencyLayer**
- Fix `time_frame` call and tests

0.7.0

**General**
- Update dependencies

**CurrencyLayer**
- Add client

0.6.1

**Bitfinex**
- Fix update params on `place_order`

0.6.0

**General**
- Drop support for Python 3.5
- Fixed error check in API response
- Refactor all clients code
- Move `Path` constants to API methods
- Add `return_json` param on `Buda`, `CryptoMKT` and `BitfinexV2` clients to return JSON data instead of client's models

**Bitstamp**
- Add client

**Buda (SURBTC)**
- Change `SURBTC` to `Buda`, add deprecation warning on `SURBTC`
- Add `trades` method
- Remove deprecated `trade_transactions` method

0.5.0

**General**
- Use [Pipenv](https://docs.pipenv.org/)

**Open Exchange Rates**
- Add client

0.4.0

**General**
- Updated readme and changed license to MIT
- Market Enums now have` base` and `quote` Currency properties
- Currency Enums now have a `decimals` property

**CryptoMKT**
- Updated CryptoMKT, added Auth client and tests

**CoinMarketCap**
- Add client and tests

0.3.82


      

0.3.8

Adds Bitcoin Cash to supporting exchanges

0.3.7

CryptoMKT

-  Added Public API

0.3.6


      

0.3.5

SURBTC

-  Models: Fixed withdrawals for fiat money

0.3.4

**SURBTC**

- Constants: Fixed `ETH_COP` typo

0.3.3

**SURBTC**

- Markets: Added `BTC_PEN` and `ETH_PEN`

0.3.2

**SURBTC**
- Fix amount units on trade transactions

**Requirements**
- requests: 2.18.1 -> 2.18.3
- pytest: 3.1.3 -> 3.2.0

0.3.1

**SURBTC**
- Markets: Added `ETH_BTC` and `ETH_COP`
- `trade_transactions_pages` working on `Public` client
- Removed `fee_percentage`

0.3.0

ETH support for SURBTC

0.2.13