You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
5 years ago | |
|---|---|---|
| .vscode | 6 years ago | |
| docs | 5 years ago | |
| src/cryptocom | 5 years ago | |
| tests | 5 years ago | |
| .codeclimate.yml | 6 years ago | |
| .coveragerc | 6 years ago | |
| .gitignore | 5 years ago | |
| .readthedocs.yml | 6 years ago | |
| LICENSE | 6 years ago | |
| README.md | 5 years ago | |
| activate.sh | 5 years ago | |
| azure-pipelines.yml | 5 years ago | |
| cc-test-reporter | 5 years ago | |
| generatestructs.py | 5 years ago | |
| init.sh | 6 years ago | |
| pytest.ini | 5 years ago | |
| setup.py | 5 years ago | |
README.md
Python 3.7+ library for crypto.com/exchange API using asyncio and aiohttp
Documentation: https://cryptocom-exchange.rtfd.io
Exchange original API docs: https://exchange-docs.crypto.com
Description
pip install cryptocom-exchange
- provides all methods to access crypto.com/exchange API (except for websockets temporary)
- full test coverage on real exchange with real money
- simple async methods with custom retries and timeouts
Please do not use secret keys, they used only for test purposes
Changelog
- 0.8.1 - fixed coin name generation
- 0.8 - fixed tests with updated coins
- 0.7.12 - updated coins, added websocket timeouts
- 0.7.11 - fixed orders history if empty
- 0.7.10 - updated pairs precision
- 0.7.9 - fixed price and quantity rounding, updated pairs and coins
- 0.7.8 - changed keys, removed depth from orderbook (not working, always 150), updated pairs
- 0.7.7 - updated pairs by JOB, fixed timeout
- 0.7.6 - updated pairs
- 0.7.5 - fixed
order.remaining_quantityrounding - 0.7.4 - fixed sync pairs for account
- 0.7.3 - fixed price of order if not filled, updated coins, added missing trades to
Order - 0.7.2 - fixed
listen_ordersprivate account method, added test - 0.7.1 - fixed missing '.0' in order price and quantity (different in py3.7, py3.9)
- 0.7 - major changes,
Pair->cro.pairs.CRO_USDTmoved to more complex structure so we can use round and server information about pairs.- If you have errors, just use
await account.sync_pairs()orawait exchange.sync_pairs() - Added rounding per pair, all floats will be with right precisions
- If you have errors, just use
- 0.6 - included changes from PR kudos to https://github.com/samueltayishere, fixed limit orders, fixed timeouts, fixed is_active order status
- 0.5.1 - added symbols YFI, BAND, fixed test with limit orders
- 0.5 - missing symbols MKR, UNI, possible refactoring for simple objects
- 0.4.5 - fixed missing CELR balances
- 0.4.4 - fixed missing QTUM, CELR coins
- 0.4.3 - fixed missing
fees_coinCoin enum - 0.4.2 - fixed supported pairs OMG and MANA
- 0.4.1 - fixed
cached_propertyfor python 3.7 - 0.4.0 - added
OrderForceTypeandOrderExecType, refactoredOrderresponses, splited private and market methods, added missingPairandCoin, addedBalancedataclass, public keys for tests passing - 0.3.4 - fixed balances listener, fixed pairs
- 0.3.3 - fixed orderbook depth
- 0.3.2 - added orderbook websocket method
- 0.3.1 - fixed missing DAI pair
- 0.3 - added websocket support for public endpoints and supports
sign=Truefor private endpoints - 0.2.1 - fixed order_id in
get_orderfunc, still preparing for stable release - 0.2 - moved to new API v2, except for websockets
TODO
- Sync pairs automatically
- Move project to poetry
- Add CD to PYPI for auto releases
Donation
If this lib helped you achieve profits will be glad to receive some donation to continue support 💪
ERC20(CRO,USDT,ETH etc.): 0x348c268A563b0C809e4E21F4371E8cdFbD1f51bf
BTC: 3NxnzUbTDFrwCEChS4PMqXbxvESxkfU2UP
LTC: MK3DtnQaMs2eSDdTygF618xdQd7Q9y7Nr2
NEO: AdTApXpKjVh2YJUKuEHuWvoSdaSAzLakFF