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 CHANGED
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
29
- __version__ = '4.5.0'
29
+ __version__ = '4.5.2'
30
30
 
31
31
  # ----------------------------------------------------------------------------
32
32
 
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.5.0'
11
+ __version__ = '4.5.2'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.5.0'
5
+ __version__ = '4.5.2'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -1244,7 +1244,7 @@ class okx(Exchange, ImplicitAPI):
1244
1244
  'FUTURES': 'FUTURES',
1245
1245
  'OPTION': 'OPTION',
1246
1246
  },
1247
- 'brokerId': 'e847386590ce4dBC',
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', 'e847386590ce4dBC')
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.0'
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': 'e847386590ce4dBC',
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', 'e847386590ce4dBC')
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
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.5.0'
11
+ __version__ = '4.5.2'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: okx-exchange
3
- Version: 0.0.83
3
+ Version: 0.0.85
4
4
  Summary: okx crypto exchange api client
5
5
  Project-URL: Homepage, https://github.com/ccxt/ccxt
6
6
  Project-URL: Issues, https://github.com/ccxt/ccxt
@@ -1,11 +1,11 @@
1
1
  okx/__init__.py,sha256=SLqs4d-SexaSbdW86VEbgXzMVyX9dwVlxXtQ8_Zm0T0,210
2
- okx/ccxt/__init__.py,sha256=xxjaZYj13xXmlfd6BQd4UBrp6UxwDwWSqY_K4pO4lNU,6124
3
- okx/ccxt/okx.py,sha256=gxYGq1BWtooK-e7sF6t_87W04K0PVuuZLjMh5Yo9knc,407629
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=iRtbb23ddJUKjp0BaiEx1iMTv-K_bcGK4Ivto0rtbx4,4857
6
- okx/ccxt/async_support/okx.py,sha256=bIDlD0LJrsa44FeiSSvF-q4ZualI8LMW7zo6gKrI9NA,409348
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=YMd_vhLNV7Ay-PhgjeEmksr2-wUhQk6TSj_gsaJhLYg,121268
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=W1B4s4X8fIXF9lvAte_LmBb8FYHtFF0qATcJgBfXEYA,334124
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=ToKpvE7Xu_V981k5pzmBVRRHjEZEdYRCjdinTiHkT3g,4171
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.83.dist-info/METADATA,sha256=lG4Ul1WblcGC5-ntGEHbmvoqpti9tagt0lEj0TRiqvI,30556
285
- okx_exchange-0.0.83.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
- okx_exchange-0.0.83.dist-info/RECORD,,
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,,