A Package to communicate with the Tabdeal platform
Project description
Package |
|
|---|---|
Quality Assurance |
|
Stats |
|
Tests |
|
Security |
|
Linters |
|
Activity |
|
Misc |
|
Documentation |
|
License |
🧭 Project overview
Unofficial Tabdeal API is a modern, fully asynchronous Python wrapper for the Tabdeal cryptocurrency trading platform. Built from the ground up to replace the outdated and limited official package, this library leverages Tabdeal’s new backend API to offer safer and developer-friendly access to all available features.
This package supports both public and private endpoints ( such as placing orders, fetching balances, and managing trades ) and is designed with clarity, security, and performance in mind, therefore, ideal for developers and algo traders who need reliable, complete, and secure access to Tabdeal’s trading features.
✅ Key features
🚀 Async-first: Designed to work efficiently in modern Python async environments.
🛡️ Safer interface: Raises clear, informative exceptions instead of vague errors.
🔧 Complete coverage: Aims to support all endpoints exposed by the new Tabdeal API.
🧪 Fully typed: Clean type hints across the codebase for better IDE support and readability.
✔️ Unit tested: Each function is tested to ensure reliability and correct behavior.
🧹 Linted and secure: Codebase follows modern Python best practices with multiple linters and security checks.
🛠️ Technical overview
This package uses the website backend to communicate with the Tabdeal platform (https://api-web.tabdeal.org) rather than the original API at (https://api1.tabdeal.org/api/v1).
This enables more stable and reliable access to Tabdeal’s features, as the new backend is designed to be more robust and feature-rich.
There are also exclusive features that aren’t available in the original API, such as setting stop loss/take profit points and 60x margin leverage.
🧰 Tech stack
🏁 Getting started
📋 Prerequisites
You need Authorization key and user-hash to use this package.
To obtain these credentials, follow these steps:
On a computer, open your internet browser and log-in to Tabdeal website
Navigate to settings page
Press F12 to open Developer tools
Navigate to Network panel
Refresh the website page and the network section should populate with many entries
Find the entry with wallet/ name
Select it and in Headers section, under Request Headers, you should find them
📦 Installation
You can install unofficial tabdeal api via pip from PyPI, requirements will be met automatically:
pip install unofficial-tabdeal-api
⚙️ Usage
Import TabdealClient from the package.
Initialize the TabdealClient with your Authorization key and user-hash information
Run your desired commands
# Import TabdealClient
from unofficial_tabdeal_api import TabdealClient
async def main():
# Initialize a TabdealClient object
my_client: TabdealClient = TabdealClient(USER_HASH, USER_AUTHORIZATION_KEY)
# Run your desired commands, remember to `await` the methods as all of them (except a few) are asynchronous
bomeusdt_asset_id = await my_client.get_margin_asset_id("BOMEUSDT")
Learn more in the Documentation.
🐛 Issues
If you encounter any problems, please file an issue along with a detailed description.
⚖️ License
Distributed under the terms of the MIT license, unofficial tabdeal api is free and open source software.
🤝 Contributing
Any contributions to this project are highly valued and appreciated. For detailed guidelines on how to contribute, please refer to the Contributor Guide.
🌟 Credits
This project was created with the help of @cjolowicz’s Hypermodern Python Cookiecutter template and @fpgmaas’s Cookiecutter Poetry template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unofficial_tabdeal_api-0.3.7.tar.gz.
File metadata
- Download URL: unofficial_tabdeal_api-0.3.7.tar.gz
- Upload date:
- Size: 31.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9608ddfdea915596130dc525d8cc5cd359b631e890586336bb90ea8d7768ff00
|
|
| MD5 |
60f01706335d4b2f051dccea83078649
|
|
| BLAKE2b-256 |
cde45f8624ec818a17afde7596b4a33a3f35b283f34639e834565c5c97ceecfe
|
Provenance
The following attestation bundles were made for unofficial_tabdeal_api-0.3.7.tar.gz:
Publisher:
release-packge.yml on MohsenHNSJ/unofficial_tabdeal_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unofficial_tabdeal_api-0.3.7.tar.gz -
Subject digest:
9608ddfdea915596130dc525d8cc5cd359b631e890586336bb90ea8d7768ff00 - Sigstore transparency entry: 272979407
- Sigstore integration time:
-
Permalink:
MohsenHNSJ/unofficial_tabdeal_api@c47796ea5aab4d23e7d64b2f73f2edbd21ad961a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/MohsenHNSJ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-packge.yml@c47796ea5aab4d23e7d64b2f73f2edbd21ad961a -
Trigger Event:
push
-
Statement type:
File details
Details for the file unofficial_tabdeal_api-0.3.7-py3-none-any.whl.
File metadata
- Download URL: unofficial_tabdeal_api-0.3.7-py3-none-any.whl
- Upload date:
- Size: 30.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba85dda16ce06270fb762b8c9cf076177decedc06be11edc83b23063821c4c1e
|
|
| MD5 |
cd2726ec71492809f127fc794f0a3dbd
|
|
| BLAKE2b-256 |
d1ff4e11c3638f3bd54a0599fd75067a003669e59b605cee29182571d1ad9d93
|
Provenance
The following attestation bundles were made for unofficial_tabdeal_api-0.3.7-py3-none-any.whl:
Publisher:
release-packge.yml on MohsenHNSJ/unofficial_tabdeal_api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
unofficial_tabdeal_api-0.3.7-py3-none-any.whl -
Subject digest:
ba85dda16ce06270fb762b8c9cf076177decedc06be11edc83b23063821c4c1e - Sigstore transparency entry: 272979408
- Sigstore integration time:
-
Permalink:
MohsenHNSJ/unofficial_tabdeal_api@c47796ea5aab4d23e7d64b2f73f2edbd21ad961a -
Branch / Tag:
refs/heads/main - Owner: https://github.com/MohsenHNSJ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-packge.yml@c47796ea5aab4d23e7d64b2f73f2edbd21ad961a -
Trigger Event:
push
-
Statement type: