Welcome to the Excrypt, a Python package designed to streamline the process of interfacing with various cryptocurrency exchanges via their APIs. This tool is primarily developed for personal use, aiming to simplify the integration and interaction with exchange platforms for automated trading bots and financial analysis tools.
This package is under development for personal projects and, due to time constraints, may have incomplete documentation or descriptions for some methods. The current version includes only those API endpoints that are utilized in my trading robots, making it less comprehensive than a full-fledged library for interacting with cryptocurrency exchanges. However, the included functionality should serve as a solid foundation for those with similar needs, offering a starting point for expansion.
- Unified API Access: Simplify your codebase by using a single, unified interface to interact with multiple cryptocurrency exchanges.
- Extensible: Designed with extensibility in mind. New exchanges and endpoints can be added easily, following the patterns established by the existing codebase.
- Binance
- KuCoin
- ByBit
To get started with Exchanges, clone the repository and install the package using pip:
git clone https://github.com/kstka/excrypt
cd excrypt
pip install -e .
Selecting exchange from a string
from excrypt import Client
EXCHANGE_NAME = 'kucoin'
API_KEY = ''
API_SECRET = ''
client = Client(EXCHANGE_NAME, API_KEY, API_SECRET)
client = client.get_exchange()
print(client.get_exchange_info())
Selecting exchange from a class
from excrypt import ByBit
API_KEY = ''
API_SECRET = ''
client = ByBit(API_KEY, API_SECRET)
print(client.get_exchange_info())
Exchanges is available under the MIT License.