ostium-python-sdk 0.1.34__tar.gz → 0.1.35__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/PKG-INFO +9 -2
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/README.md +3 -1
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk.egg-info/PKG-INFO +9 -2
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/setup.py +1 -1
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/__init__.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/abi/__init__.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/abi/abi.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/abi/faucet_abi.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/balance.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/config.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/constants.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/exceptions.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/faucet.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/formulae.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/formulae_wrapper.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/ostium.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/price.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/sdk.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/subgraph.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk/utils.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk.egg-info/SOURCES.txt +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk.egg-info/dependency_links.txt +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk.egg-info/requires.txt +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk.egg-info/top_level.txt +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/pyproject.toml +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/setup.cfg +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/tests/__init__.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/tests/test_slippage.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/tests/test_trade_get_tp_price.py +0 -0
- {ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/tests/test_trade_liquidation_price.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: ostium-python-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.35
|
|
4
4
|
Summary: A python based SDK developed for interacting with Ostium, a leveraged trading application for trading currencies, commodities, indices, crypto and more.
|
|
5
5
|
Home-page: https://github.com/0xOstium/ostium-python-sdk
|
|
6
6
|
Author: ami@ostium.io
|
|
@@ -90,7 +90,6 @@ You can instantiate the SDK with the following parameters.
|
|
|
90
90
|
Ostium Platform is deployed on Arbitrum. You can use the testnet or mainnet config via the `NetworkConfig` class, see below for an example.
|
|
91
91
|
|
|
92
92
|
|
|
93
|
-
**NOTE: You can also use the SDK _without_ providing a private key, in which case you will be limited to read only operations on the SDK.**
|
|
94
93
|
|
|
95
94
|
```python
|
|
96
95
|
from dotenv import load_dotenv
|
|
@@ -117,8 +116,11 @@ sdk = OstiumSDK(configTestnet, private_key)
|
|
|
117
116
|
# sdk = OstiumSDK(configMainnet, private_key)
|
|
118
117
|
#
|
|
119
118
|
```
|
|
119
|
+
|
|
120
120
|
<b>NOTE:</b> create a .env file with PRIVATE_KEY and RPC_URL to use the SDK. An RPC URL is required to use the SDK. You can get one by signing up for a free account at https://www.alchemy.com/ and creating an app.
|
|
121
121
|
|
|
122
|
+
**NOTE: You can also use the SDK _without_ providing a private key, in which case you will be limited to read only operations on the SDK.**
|
|
123
|
+
|
|
122
124
|
```
|
|
123
125
|
PRIVATE_KEY=your_private_key_here
|
|
124
126
|
RPC_URL=https://arb-sepolia.g.alchemy.com/v2/...
|
|
@@ -475,6 +477,11 @@ All notable changes to the Ostium Python SDK will be documented in this file.
|
|
|
475
477
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
476
478
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
477
479
|
|
|
480
|
+
## [0.1.34] - 2025-01-14
|
|
481
|
+
|
|
482
|
+
### Added
|
|
483
|
+
- Allow read only operations on the SDK without providing a private key
|
|
484
|
+
|
|
478
485
|
## [0.1.31] - 2025-01-13
|
|
479
486
|
|
|
480
487
|
### Added
|
|
@@ -62,7 +62,6 @@ You can instantiate the SDK with the following parameters.
|
|
|
62
62
|
Ostium Platform is deployed on Arbitrum. You can use the testnet or mainnet config via the `NetworkConfig` class, see below for an example.
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
**NOTE: You can also use the SDK _without_ providing a private key, in which case you will be limited to read only operations on the SDK.**
|
|
66
65
|
|
|
67
66
|
```python
|
|
68
67
|
from dotenv import load_dotenv
|
|
@@ -89,8 +88,11 @@ sdk = OstiumSDK(configTestnet, private_key)
|
|
|
89
88
|
# sdk = OstiumSDK(configMainnet, private_key)
|
|
90
89
|
#
|
|
91
90
|
```
|
|
91
|
+
|
|
92
92
|
<b>NOTE:</b> create a .env file with PRIVATE_KEY and RPC_URL to use the SDK. An RPC URL is required to use the SDK. You can get one by signing up for a free account at https://www.alchemy.com/ and creating an app.
|
|
93
93
|
|
|
94
|
+
**NOTE: You can also use the SDK _without_ providing a private key, in which case you will be limited to read only operations on the SDK.**
|
|
95
|
+
|
|
94
96
|
```
|
|
95
97
|
PRIVATE_KEY=your_private_key_here
|
|
96
98
|
RPC_URL=https://arb-sepolia.g.alchemy.com/v2/...
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: ostium-python-sdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.35
|
|
4
4
|
Summary: A python based SDK developed for interacting with Ostium, a leveraged trading application for trading currencies, commodities, indices, crypto and more.
|
|
5
5
|
Home-page: https://github.com/0xOstium/ostium-python-sdk
|
|
6
6
|
Author: ami@ostium.io
|
|
@@ -90,7 +90,6 @@ You can instantiate the SDK with the following parameters.
|
|
|
90
90
|
Ostium Platform is deployed on Arbitrum. You can use the testnet or mainnet config via the `NetworkConfig` class, see below for an example.
|
|
91
91
|
|
|
92
92
|
|
|
93
|
-
**NOTE: You can also use the SDK _without_ providing a private key, in which case you will be limited to read only operations on the SDK.**
|
|
94
93
|
|
|
95
94
|
```python
|
|
96
95
|
from dotenv import load_dotenv
|
|
@@ -117,8 +116,11 @@ sdk = OstiumSDK(configTestnet, private_key)
|
|
|
117
116
|
# sdk = OstiumSDK(configMainnet, private_key)
|
|
118
117
|
#
|
|
119
118
|
```
|
|
119
|
+
|
|
120
120
|
<b>NOTE:</b> create a .env file with PRIVATE_KEY and RPC_URL to use the SDK. An RPC URL is required to use the SDK. You can get one by signing up for a free account at https://www.alchemy.com/ and creating an app.
|
|
121
121
|
|
|
122
|
+
**NOTE: You can also use the SDK _without_ providing a private key, in which case you will be limited to read only operations on the SDK.**
|
|
123
|
+
|
|
122
124
|
```
|
|
123
125
|
PRIVATE_KEY=your_private_key_here
|
|
124
126
|
RPC_URL=https://arb-sepolia.g.alchemy.com/v2/...
|
|
@@ -475,6 +477,11 @@ All notable changes to the Ostium Python SDK will be documented in this file.
|
|
|
475
477
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
476
478
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
477
479
|
|
|
480
|
+
## [0.1.34] - 2025-01-14
|
|
481
|
+
|
|
482
|
+
### Added
|
|
483
|
+
- Allow read only operations on the SDK without providing a private key
|
|
484
|
+
|
|
478
485
|
## [0.1.31] - 2025-01-13
|
|
479
486
|
|
|
480
487
|
### Added
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk.egg-info/requires.txt
RENAMED
|
File without changes
|
{ostium_python_sdk-0.1.34 → ostium_python_sdk-0.1.35}/ostium_python_sdk.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|