okx-exchange 0.0.83__py3-none-any.whl → 0.0.85__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.
- okx/ccxt/__init__.py +1 -1
- okx/ccxt/async_support/__init__.py +1 -1
- okx/ccxt/async_support/base/exchange.py +1 -1
- okx/ccxt/async_support/okx.py +2 -2
- okx/ccxt/base/exchange.py +7 -1
- okx/ccxt/okx.py +2 -2
- okx/ccxt/pro/__init__.py +1 -1
- {okx_exchange-0.0.83.dist-info → okx_exchange-0.0.85.dist-info}/METADATA +1 -1
- {okx_exchange-0.0.83.dist-info → okx_exchange-0.0.85.dist-info}/RECORD +10 -10
- {okx_exchange-0.0.83.dist-info → okx_exchange-0.0.85.dist-info}/WHEEL +0 -0
okx/ccxt/__init__.py
CHANGED
okx/ccxt/async_support/okx.py
CHANGED
@@ -1244,7 +1244,7 @@ class okx(Exchange, ImplicitAPI):
|
|
1244
1244
|
'FUTURES': 'FUTURES',
|
1245
1245
|
'OPTION': 'OPTION',
|
1246
1246
|
},
|
1247
|
-
'brokerId': '
|
1247
|
+
'brokerId': '6b9ad766b55dBCDE',
|
1248
1248
|
},
|
1249
1249
|
'features': {
|
1250
1250
|
'default': {
|
@@ -6009,7 +6009,7 @@ class okx(Exchange, ImplicitAPI):
|
|
6009
6009
|
self.check_required_credentials()
|
6010
6010
|
# inject id in implicit api call
|
6011
6011
|
if method == 'POST' and (path == 'trade/batch-orders' or path == 'trade/order-algo' or path == 'trade/order'):
|
6012
|
-
brokerId = self.safe_string(self.options, 'brokerId', '
|
6012
|
+
brokerId = self.safe_string(self.options, 'brokerId', '6b9ad766b55dBCDE')
|
6013
6013
|
if isinstance(params, list):
|
6014
6014
|
for i in range(0, len(params)):
|
6015
6015
|
entry = params[i]
|
okx/ccxt/base/exchange.py
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
# -----------------------------------------------------------------------------
|
6
6
|
|
7
|
-
__version__ = '4.5.
|
7
|
+
__version__ = '4.5.2'
|
8
8
|
|
9
9
|
# -----------------------------------------------------------------------------
|
10
10
|
|
@@ -2337,6 +2337,12 @@ class Exchange(object):
|
|
2337
2337
|
# return the first index of the cache that can be applied to the orderbook or -1 if not possible
|
2338
2338
|
return -1
|
2339
2339
|
|
2340
|
+
def arrays_concat(self, arraysOfArrays: List[Any]):
|
2341
|
+
result = []
|
2342
|
+
for i in range(0, len(arraysOfArrays)):
|
2343
|
+
result = self.array_concat(result, arraysOfArrays[i])
|
2344
|
+
return result
|
2345
|
+
|
2340
2346
|
def find_timeframe(self, timeframe, timeframes=None):
|
2341
2347
|
if timeframes is None:
|
2342
2348
|
timeframes = self.timeframes
|
okx/ccxt/okx.py
CHANGED
@@ -1243,7 +1243,7 @@ class okx(Exchange, ImplicitAPI):
|
|
1243
1243
|
'FUTURES': 'FUTURES',
|
1244
1244
|
'OPTION': 'OPTION',
|
1245
1245
|
},
|
1246
|
-
'brokerId': '
|
1246
|
+
'brokerId': '6b9ad766b55dBCDE',
|
1247
1247
|
},
|
1248
1248
|
'features': {
|
1249
1249
|
'default': {
|
@@ -6008,7 +6008,7 @@ class okx(Exchange, ImplicitAPI):
|
|
6008
6008
|
self.check_required_credentials()
|
6009
6009
|
# inject id in implicit api call
|
6010
6010
|
if method == 'POST' and (path == 'trade/batch-orders' or path == 'trade/order-algo' or path == 'trade/order'):
|
6011
|
-
brokerId = self.safe_string(self.options, 'brokerId', '
|
6011
|
+
brokerId = self.safe_string(self.options, 'brokerId', '6b9ad766b55dBCDE')
|
6012
6012
|
if isinstance(params, list):
|
6013
6013
|
for i in range(0, len(params)):
|
6014
6014
|
entry = params[i]
|
okx/ccxt/pro/__init__.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
okx/__init__.py,sha256=SLqs4d-SexaSbdW86VEbgXzMVyX9dwVlxXtQ8_Zm0T0,210
|
2
|
-
okx/ccxt/__init__.py,sha256=
|
3
|
-
okx/ccxt/okx.py,sha256=
|
2
|
+
okx/ccxt/__init__.py,sha256=W-Ondl828EOLEe7-wpdo5MHXtPfxeF3Tqmo8Vzk7XlM,6124
|
3
|
+
okx/ccxt/okx.py,sha256=sp8_vP2Aw5dTecZ55c0FMtgjdkfkhvtUBde7PdhM7PY,407629
|
4
4
|
okx/ccxt/abstract/okx.py,sha256=vf8yrYRfX1K30qzmLmTUDCRoDObSMbYX437FPKfBCXY,52434
|
5
|
-
okx/ccxt/async_support/__init__.py,sha256=
|
6
|
-
okx/ccxt/async_support/okx.py,sha256=
|
5
|
+
okx/ccxt/async_support/__init__.py,sha256=nzneAqBF9Paeib5tqkRGsmZWIq1mNITBfnal2IMgp0U,4857
|
6
|
+
okx/ccxt/async_support/okx.py,sha256=BKuvmTV2CZWxK2qv62rfqP474kGJgtINMfTK25l0jHk,409348
|
7
7
|
okx/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
|
8
|
-
okx/ccxt/async_support/base/exchange.py,sha256=
|
8
|
+
okx/ccxt/async_support/base/exchange.py,sha256=f8NMSn7dvE2ZuL71iRKyinVbyafvacm5Zj4WcQ4TWck,121268
|
9
9
|
okx/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
|
10
10
|
okx/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
|
11
11
|
okx/ccxt/async_support/base/ws/cache.py,sha256=xf2VOtfUwloxSlIQ39M1RGZHWQzyS9IGhB5NX6cDcAc,8370
|
@@ -17,10 +17,10 @@ okx/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9produ
|
|
17
17
|
okx/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
|
18
18
|
okx/ccxt/base/decimal_to_precision.py,sha256=3XI30u9YudHbTA438397u5rkdlXa3atxwZEfUus3C4k,6803
|
19
19
|
okx/ccxt/base/errors.py,sha256=OGhWNvNtRlJOzFx-n1x3ZjTnaPpfWH0Vc0xACS-MeDw,5012
|
20
|
-
okx/ccxt/base/exchange.py,sha256=
|
20
|
+
okx/ccxt/base/exchange.py,sha256=wXcblsdBqxUWtSbKu1hDTey2mOUhXe05MT7b91Mztno,334337
|
21
21
|
okx/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
|
22
22
|
okx/ccxt/base/types.py,sha256=Gvbogh9i7pPH7Z18xesYeDPribqqwq8uKpOv-YODFBs,11505
|
23
|
-
okx/ccxt/pro/__init__.py,sha256=
|
23
|
+
okx/ccxt/pro/__init__.py,sha256=RXnvyinv1DG0R4U3ukiO_6jdixkN4JkDP14tljueuG4,4171
|
24
24
|
okx/ccxt/pro/okx.py,sha256=QOWqRTsipWS8j9CZifajsxT2seiTxVI5RhQidIpDuZA,104724
|
25
25
|
okx/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
|
26
26
|
okx/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
|
@@ -281,6 +281,6 @@ okx/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWnX2uC
|
|
281
281
|
okx/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
|
282
282
|
okx/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
283
283
|
okx/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
|
284
|
-
okx_exchange-0.0.
|
285
|
-
okx_exchange-0.0.
|
286
|
-
okx_exchange-0.0.
|
284
|
+
okx_exchange-0.0.85.dist-info/METADATA,sha256=49Jk2181R_KELA2Y8DcblV55C43A7cTczu1zkZTqW2E,30556
|
285
|
+
okx_exchange-0.0.85.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
286
|
+
okx_exchange-0.0.85.dist-info/RECORD,,
|
File without changes
|