Skip to content

Releases: deltadefi-protocol/python-sdk

v1.1.1

11 Jan 09:47

Choose a tag to compare

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 float to string for 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: floatstr
  • AssetBalance.free: floatstr
  • AssetBalance.locked: floatstr

Full Changelog: v1.0.1...v1.1.1

v1.0.1

10 Nov 23:46

Choose a tag to compare

Full Changelog: v1.0.0...v1.0.1

v1.0.0

10 Nov 11:19

Choose a tag to compare

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

19 Oct 13:51

Choose a tag to compare

fix websocket connection issue

v0.1.1

01 Sep 21:54

Choose a tag to compare

Changes

  • Fixed packaging issue: renamed lib directory to utils
  • 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

01 Sep 06:02

Choose a tag to compare

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 apiKey field to api_key in 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

30 Jun 15:29

Choose a tag to compare

chore: release

v0.0.10

21 Jun 07:43

Choose a tag to compare

Full Changelog: v0.0.9...v0.0.10

v0.0.9

20 Jun 03:32

Choose a tag to compare

chore: release

v0.0.8

20 Jun 03:13

Choose a tag to compare

fix: ci