Releases: Kwenta/kwenta-python-sdk
1.2.0
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
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
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
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
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:
- 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.
- The SDK will enable creation of multiple smart margin accounts for multi-positioned markets
- Examples of a basic workflow can be found in the tests folder. (more examples to come)
- 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
What's Changed
- Order functions by @Tburm in #20
- Add
self_execute
option by @Tburm in #22 - Added flag and liquidation position functions by @TossAyeCoin in #21
- Gas Estimate by @Tburm in #23
- Update Queries by @Tburm in #25
- Keeper: Tracking code filter by @Tburm in #26
- add markets by @Tburm in #27
- Update data contract address by @Tburm in #28
- Try/catch in keeper by @Tburm in #29
- Add queries by @Tburm in #30
- Improve documentation by @Tburm in #31
- Cli by @TossAyeCoin in #24
- Release v1.0.3 by @Tburm in #32
Full Changelog: 1.0.2...1.0.3
v1.0.2
v1.0.1
v1.0.0
Initial release of the SDK
What's Changed
- Large Update by @TossAyeCoin in #2
- SDK Fixes by @Tburm in #3
- Improve contract imports by @Tburm in #5
- Testnet support by @Tburm in #6
- Add pypi publish workflow by @Tburm in #7
New Contributors
- @TossAyeCoin made their first contribution in #2
- @Tburm made their first contribution in #3
Full Changelog: https://github.com/Kwenta/kwenta-python-sdk/commits/1.0.0