pmxt 1.0.4__tar.gz → 1.1.0b0__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.
- {pmxt-1.0.4 → pmxt-1.1.0b0}/PKG-INFO +4 -4
- {pmxt-1.0.4 → pmxt-1.1.0b0}/README.md +3 -3
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/__init__.py +1 -1
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/api_client.py +1 -1
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/configuration.py +1 -1
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt/__init__.py +1 -1
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt.egg-info/PKG-INFO +4 -4
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pyproject.toml +1 -1
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/api/__init__.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/api/default_api.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/api_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/exceptions.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/__init__.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/balance.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/base_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/base_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/cancel_order_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/create_order200_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/create_order_params.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/create_order_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/error_detail.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/error_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/exchange_credentials.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_balance200_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_markets200_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_markets_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_ohlcv200_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_ohlcv_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_ohlcv_request_args_inner.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_open_orders200_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_open_orders_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_order_book200_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_order_book_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_positions200_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_positions_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_trades200_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_trades_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/get_markets_by_slug_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/health_check200_response.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/history_filter_params.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/market_filter_params.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/market_outcome.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/order.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/order_book.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/order_level.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/position.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/price_candle.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/search_markets_request.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/search_markets_request_args_inner.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/trade.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/unified_market.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/py.typed +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/rest.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt/_server/__init__.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt/_server/bin/pmxt-ensure-server +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt/_server/server/bundled.js +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt/client.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt/models.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt/server_manager.py +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt.egg-info/SOURCES.txt +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt.egg-info/dependency_links.txt +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt.egg-info/requires.txt +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/pmxt.egg-info/top_level.txt +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/setup.cfg +0 -0
- {pmxt-1.0.4 → pmxt-1.1.0b0}/tests/test_integration.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pmxt
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1.0b0
|
|
4
4
|
Summary: Unified prediction market data API - The ccxt for prediction markets
|
|
5
5
|
Author: PMXT Contributors
|
|
6
6
|
License: MIT
|
|
@@ -206,10 +206,10 @@ For deep-dive methods like `fetch_ohlcv()`, `fetch_order_book()`, and `fetch_tra
|
|
|
206
206
|
|
|
207
207
|
```python
|
|
208
208
|
markets = poly.search_markets("Trump")
|
|
209
|
-
outcome_id = markets[0].outcomes[0].id #
|
|
209
|
+
outcome_id = markets[0].outcomes[0].id # Correct
|
|
210
210
|
|
|
211
|
-
candles = poly.fetch_ohlcv(outcome_id, ...) #
|
|
212
|
-
candles = poly.fetch_ohlcv(markets[0].id, ...) #
|
|
211
|
+
candles = poly.fetch_ohlcv(outcome_id, ...) # Works
|
|
212
|
+
candles = poly.fetch_ohlcv(markets[0].id, ...) # Wrong!
|
|
213
213
|
```
|
|
214
214
|
|
|
215
215
|
### Prices are 0.0 to 1.0
|
|
@@ -172,10 +172,10 @@ For deep-dive methods like `fetch_ohlcv()`, `fetch_order_book()`, and `fetch_tra
|
|
|
172
172
|
|
|
173
173
|
```python
|
|
174
174
|
markets = poly.search_markets("Trump")
|
|
175
|
-
outcome_id = markets[0].outcomes[0].id #
|
|
175
|
+
outcome_id = markets[0].outcomes[0].id # Correct
|
|
176
176
|
|
|
177
|
-
candles = poly.fetch_ohlcv(outcome_id, ...) #
|
|
178
|
-
candles = poly.fetch_ohlcv(markets[0].id, ...) #
|
|
177
|
+
candles = poly.fetch_ohlcv(outcome_id, ...) # Works
|
|
178
|
+
candles = poly.fetch_ohlcv(markets[0].id, ...) # Wrong!
|
|
179
179
|
```
|
|
180
180
|
|
|
181
181
|
### Prices are 0.0 to 1.0
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/1.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/1.1.0b0/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -506,7 +506,7 @@ class Configuration:
|
|
|
506
506
|
"OS: {env}\n"\
|
|
507
507
|
"Python Version: {pyversion}\n"\
|
|
508
508
|
"Version of the API: 0.4.4\n"\
|
|
509
|
-
"SDK Package Version: 1.
|
|
509
|
+
"SDK Package Version: 1.1.0b0".\
|
|
510
510
|
format(env=sys.platform, pyversion=sys.version)
|
|
511
511
|
|
|
512
512
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pmxt
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1.0b0
|
|
4
4
|
Summary: Unified prediction market data API - The ccxt for prediction markets
|
|
5
5
|
Author: PMXT Contributors
|
|
6
6
|
License: MIT
|
|
@@ -206,10 +206,10 @@ For deep-dive methods like `fetch_ohlcv()`, `fetch_order_book()`, and `fetch_tra
|
|
|
206
206
|
|
|
207
207
|
```python
|
|
208
208
|
markets = poly.search_markets("Trump")
|
|
209
|
-
outcome_id = markets[0].outcomes[0].id #
|
|
209
|
+
outcome_id = markets[0].outcomes[0].id # Correct
|
|
210
210
|
|
|
211
|
-
candles = poly.fetch_ohlcv(outcome_id, ...) #
|
|
212
|
-
candles = poly.fetch_ohlcv(markets[0].id, ...) #
|
|
211
|
+
candles = poly.fetch_ohlcv(outcome_id, ...) # Works
|
|
212
|
+
candles = poly.fetch_ohlcv(markets[0].id, ...) # Wrong!
|
|
213
213
|
```
|
|
214
214
|
|
|
215
215
|
### Prices are 0.0 to 1.0
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/fetch_ohlcv_request_args_inner.py
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pmxt-1.0.4 → pmxt-1.1.0b0}/generated/pmxt_internal/models/search_markets_request_args_inner.py
RENAMED
|
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
|
|
File without changes
|