woofipro crypto exchange api client
Project description
woofipro-python
Python SDK (sync and async) for Woofipro with Rest and WS capabilities.
You can check Woofipro's docs here: Docs
You can check the SDK docs here: SDK
This package derives from CCXT and allows you to call pretty much every endpoint by either using the unified CCXT API or calling the endpoints directly
Installation
pip install woofipro-api
Usage
Sync
from woofipro import WoofiproSync
def main():
instance = WoofiproSync({})
ob = instance.fetch_order_book("BTC/USDC")
print(ob)
#
# balance = instance.fetch_balance()
# order = instance.create_order("BTC/USDC", "limit", "buy", 1, 100000)
Async
import asyncio
from woofipro import WoofiproAsync
async def main():
instance = WoofiproAsync({})
ob = await instance.fetch_order_book("BTC/USDC")
print(ob)
#
# balance = await instance.fetch_balance()
# order = await instance.create_order("BTC/USDC", "limit", "buy", 1, 100000)
asyncio.run(main())
Websockets
from woofipro import WoofiproWs
async def main():
instance = WoofiproWs({})
while True:
ob = await instance.watch_order_book("BTC/USDC")
print(ob)
# orders = await instance.watch_orders("BTC/USDC")
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 woofipro_api-0.0.10.tar.gz.
File metadata
- Download URL: woofipro_api-0.0.10.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
768c4a1ad6c8c379d82489b529e53003eab390f8f9295b4484924901b1dd6629
|
|
| MD5 |
e954ad2a5c50635f7347983541178e57
|
|
| BLAKE2b-256 |
30be6c4dbc084f494c35da888f1bb645138ada39a6fbcccaae269aff8ad5a133
|
File details
Details for the file woofipro_api-0.0.10-py3-none-any.whl.
File metadata
- Download URL: woofipro_api-0.0.10-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36ad6be2fdd18ddf61f6fa9e0663df32968f28653178f42c1c7f5760c3a5c095
|
|
| MD5 |
2ddd55667b71b7822ce82cf292b5a872
|
|
| BLAKE2b-256 |
34fa1946347104f4ad8645ef92422cd6a5b7fda11a6917f084f82a24c2b21a0c
|