Releases: deltadefi-protocol/python-sdk
v1.1.1
What's Changed
Features
- Add App and Points API clients to align SDK with espresso develop branch
Fixes
- Change balance and record qty fields from
floattostringfor decimal precision - Align SDK types with Espresso develop API
New API Modules
App Client (client.app)
get_terms_and_conditions()get_hydra_cycle()get_market_config()get_mock_usdx()submit_tx()
Points Client (client.points)
get_my_points()get_points_history()get_referral_info()get_points_breakdown()update_referral_code()get_leaderboard()get_my_rank()get_leagues()get_active_quests()get_my_claims()claim_quest()
Breaking Changes
AssetRecord.qty:float→strAssetBalance.free:float→strAssetBalance.locked:float→str
Full Changelog: v1.0.1...v1.1.1
v1.0.1
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Release Notes - v1.0.0
Commit: 5212220
Key Features
Mainnet Support
The SDK now defaults to production mainnet configuration (network_id: 1). Production API endpoint: https://api.deltadefi.io and WebSocket connectivity at wss://stream.deltadefi.io are available. Preprod/testnet can still be accessed through explicit network parameter specification.
Enhanced Order Management
A fresh cancel_all_orders() method allows users to terminate all open orders simultaneously, reducing transaction complexity. The update introduces support for post-only orders, preventing the execution of orders that would extract liquidity from the market.
WebSocket Support
Real-time market data and order updates are now available through WebSocket connectivity, enabling efficient streaming of market information and trade events.
Full Changelog: v0.1.3...v1.0.0
v0.1.3
fix websocket connection issue
v0.1.1
Changes
- Fixed packaging issue: renamed
libdirectory toutils - Added pre-commit hooks for automated quality checks
- Improved code formatting and linting
Breaking Changes
- Import path changed:
from deltadefi.lib.utils import ...→from deltadefi.utils import ...
v0.1.0
Changes
- Added WebSocket support for real-time data streams
- Migrated to UV package manager
- Added internal transfer functionality
- Fixed lint issues and code quality improvements
- Updated type annotations to modern Python syntax
Breaking Changes
- Renamed
apiKeyfield toapi_keyin AuthHeaders class
Technical Improvements
- Fixed bare except clauses
- Updated exception handling with proper error chaining
- Replaced deprecated percent formatting with format specifiers
- Updated Optional type annotations to use | None syntax
v0.0.11
chore: release
v0.0.10
Full Changelog: v0.0.9...v0.0.10
v0.0.9
chore: release
v0.0.8
fix: ci