Skip to content

Releases: Kwenta/kwenta-python-sdk

1.2.0

29 Sep 14:34
59c2e2f
Compare
Choose a tag to compare

Increased Account initialization performance.
Added new data fields to all markets
Added get all balances functionality to get balances for ALL markets.

Thanks @capsized0815 for the new account creation example.

https://github.com/Kwenta/kwenta-python-sdk/blob/main/examples/perps/99_setup_sm_account.py

To upgrade run the command:

pip install kwenta --upgrade

1.1.0

31 Aug 17:41
f5afd2a
Compare
Choose a tag to compare

Updated wording and fixed some bugs.

Internal_nonce tracking added to SDK for internal nonce updates. This should allow for use of threads and clear issues with tx overlap. If you enable this flag the nonce is pulled during the account init.

Use a dedicated wallet when running the SDK!

pip install kwenta --upgrade

1.0.9

07 Aug 16:33
b81de7e
Compare
Choose a tag to compare

Update fixes some bugs with operators and wording.

Added new functions for funding information, as well as added funding values to the market inits.
get_funding_rate
get_funding_velocity

Added new FAST init flag. Set to false by default. Requires a fast RPC to not hit rate limits.

pip install kwenta --upgrade

1.0.8

24 Jul 16:55
28c1841
Compare
Choose a tag to compare

Updated the transfer_margin function to represent withdrawals more accurately.

Created an ATS script example in the examples folder. Basic example of what is possible with the SDK from a trading perspective. Understand what you are doing before just running this blindly.

v1.0.7

06 Jul 14:10
9303084
Compare
Choose a tag to compare

Smart Margin Updates!
This update will enable smart margin functionality. Versions below this, will only support the Kwenta V1 isolated margin implementation. Going forward, only this version of the SDK will be supported.

Notes:

  1. Most functionality is identical to how it was used in the past only with the addition of "wallet_address" on most functions. This will allow for complex integrations of multiple positions from a single EOA wallet.
  2. The SDK will enable creation of multiple smart margin accounts for multi-positioned markets
  3. Examples of a basic workflow can be found in the tests folder. (more examples to come)
  4. Currently limit orders must be executed/monitored by the user. Gelato may be added later, but this option should be more robust for ATS integrations.

To upgrade your current install run:

pip install kwenta --upgrade

Ping us in the discord if you have any questions/issues you run into.

v1.0.3

18 May 20:22
666b42b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.2...1.0.3

v1.0.2

10 Apr 21:45
a2e3055
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.1...1.0.2

v1.0.1

09 Apr 06:11
5654490
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @omahs made their first contribution in #11

Full Changelog: 1.0.0...1.0.1

v1.0.0

04 Apr 19:11
ed7d181
Compare
Choose a tag to compare

Initial release of the SDK

What's Changed

New Contributors

Full Changelog: https://github.com/Kwenta/kwenta-python-sdk/commits/1.0.0