gate-io-api 0.0.65__py3-none-any.whl → 0.0.100__py3-none-any.whl
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.
Potentially problematic release.
This version of gate-io-api might be problematic. Click here for more details.
- gate/ccxt/__init__.py +2 -1
- gate/ccxt/abstract/gate.py +62 -18
- gate/ccxt/async_support/__init__.py +2 -1
- gate/ccxt/async_support/base/exchange.py +165 -27
- gate/ccxt/async_support/base/throttler.py +1 -1
- gate/ccxt/async_support/base/ws/client.py +194 -64
- gate/ccxt/async_support/base/ws/future.py +27 -50
- gate/ccxt/async_support/gate.py +356 -253
- gate/ccxt/base/decimal_to_precision.py +14 -10
- gate/ccxt/base/errors.py +6 -0
- gate/ccxt/base/exchange.py +606 -119
- gate/ccxt/base/types.py +4 -0
- gate/ccxt/gate.py +356 -253
- gate/ccxt/pro/__init__.py +2 -89
- gate/ccxt/pro/gate.py +14 -7
- {gate_io_api-0.0.65.dist-info → gate_io_api-0.0.100.dist-info}/METADATA +70 -25
- {gate_io_api-0.0.65.dist-info → gate_io_api-0.0.100.dist-info}/RECORD +18 -19
- gate/ccxt/async_support/base/ws/aiohttp_client.py +0 -147
- {gate_io_api-0.0.65.dist-info → gate_io_api-0.0.100.dist-info}/WHEEL +0 -0
gate/ccxt/base/types.py
CHANGED
|
@@ -190,6 +190,9 @@ class Liquidation(TypedDict):
|
|
|
190
190
|
price: Num
|
|
191
191
|
baseValue: Num
|
|
192
192
|
quoteValue: Num
|
|
193
|
+
side: OrderSide
|
|
194
|
+
contracts: Num
|
|
195
|
+
contractSize: Num
|
|
193
196
|
|
|
194
197
|
|
|
195
198
|
class FundingHistory(TypedDict):
|
|
@@ -606,3 +609,4 @@ class ConstructorArgs(TypedDict, total=False):
|
|
|
606
609
|
hostname: str
|
|
607
610
|
urls: Dict[str, Any]
|
|
608
611
|
headers: Dict[str, Any]
|
|
612
|
+
session: Any
|