ccxt 4.1.56 → 4.1.58

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.
Files changed (318) hide show
  1. package/.git-templates/hooks/pre-push +2 -2
  2. package/README.md +3 -3
  3. package/build.sh +30 -18
  4. package/dist/ccxt.browser.js +3893 -3214
  5. package/dist/ccxt.browser.min.js +10 -10
  6. package/dist/cjs/ccxt.js +1 -1
  7. package/dist/cjs/src/ace.js +17 -13
  8. package/dist/cjs/src/alpaca.js +6 -6
  9. package/dist/cjs/src/ascendex.js +35 -29
  10. package/dist/cjs/src/base/Exchange.js +39 -26
  11. package/dist/cjs/src/base/Precise.js +1 -3
  12. package/dist/cjs/src/base/ws/Client.js +1 -1
  13. package/dist/cjs/src/bigone.js +24 -20
  14. package/dist/cjs/src/binance.js +97 -76
  15. package/dist/cjs/src/bingx.js +63 -44
  16. package/dist/cjs/src/bit2c.js +18 -15
  17. package/dist/cjs/src/bitbank.js +16 -15
  18. package/dist/cjs/src/bitbns.js +28 -18
  19. package/dist/cjs/src/bitfinex.js +23 -21
  20. package/dist/cjs/src/bitfinex2.js +32 -28
  21. package/dist/cjs/src/bitflyer.js +28 -20
  22. package/dist/cjs/src/bitforex.js +25 -18
  23. package/dist/cjs/src/bitget.js +184 -147
  24. package/dist/cjs/src/bithumb.js +23 -16
  25. package/dist/cjs/src/bitmart.js +110 -89
  26. package/dist/cjs/src/bitmex.js +104 -64
  27. package/dist/cjs/src/bitopro.js +38 -26
  28. package/dist/cjs/src/bitpanda.js +24 -23
  29. package/dist/cjs/src/bitrue.js +33 -24
  30. package/dist/cjs/src/bitso.js +24 -23
  31. package/dist/cjs/src/bitstamp.js +24 -23
  32. package/dist/cjs/src/bittrex.js +30 -29
  33. package/dist/cjs/src/bitvavo.js +38 -30
  34. package/dist/cjs/src/bl3p.js +11 -10
  35. package/dist/cjs/src/blockchaincom.js +20 -20
  36. package/dist/cjs/src/btcalpha.js +18 -17
  37. package/dist/cjs/src/btcbox.js +13 -12
  38. package/dist/cjs/src/btcmarkets.js +20 -19
  39. package/dist/cjs/src/btcturk.js +14 -13
  40. package/dist/cjs/src/bybit.js +84 -54
  41. package/dist/cjs/src/cex.js +16 -14
  42. package/dist/cjs/src/coinbase.js +29 -27
  43. package/dist/cjs/src/coinbasepro.js +27 -25
  44. package/dist/cjs/src/coincheck.js +15 -14
  45. package/dist/cjs/src/coinex.js +100 -77
  46. package/dist/cjs/src/coinlist.js +28 -27
  47. package/dist/cjs/src/coinmate.js +20 -17
  48. package/dist/cjs/src/coinone.js +21 -16
  49. package/dist/cjs/src/coinsph.js +37 -28
  50. package/dist/cjs/src/coinspot.js +12 -11
  51. package/dist/cjs/src/cryptocom.js +40 -202
  52. package/dist/cjs/src/currencycom.js +32 -25
  53. package/dist/cjs/src/delta.js +34 -28
  54. package/dist/cjs/src/deribit.js +39 -36
  55. package/dist/cjs/src/digifinex.js +64 -44
  56. package/dist/cjs/src/exmo.js +29 -27
  57. package/dist/cjs/src/gate.js +67 -53
  58. package/dist/cjs/src/gemini.js +23 -20
  59. package/dist/cjs/src/hitbtc.js +65 -56
  60. package/dist/cjs/src/hollaex.js +30 -27
  61. package/dist/cjs/src/htx.js +132 -143
  62. package/dist/cjs/src/huobijp.js +22 -20
  63. package/dist/cjs/src/idex.js +22 -21
  64. package/dist/cjs/src/independentreserve.js +15 -14
  65. package/dist/cjs/src/indodax.js +30 -26
  66. package/dist/cjs/src/kraken.js +29 -27
  67. package/dist/cjs/src/krakenfutures.js +29 -22
  68. package/dist/cjs/src/kucoin.js +48 -43
  69. package/dist/cjs/src/kucoinfutures.js +33 -28
  70. package/dist/cjs/src/kuna.js +25 -24
  71. package/dist/cjs/src/latoken.js +24 -22
  72. package/dist/cjs/src/lbank.js +45 -30
  73. package/dist/cjs/src/luno.js +22 -19
  74. package/dist/cjs/src/lykke.js +19 -17
  75. package/dist/cjs/src/mercado.js +30 -19
  76. package/dist/cjs/src/mexc.js +60 -49
  77. package/dist/cjs/src/ndax.js +23 -22
  78. package/dist/cjs/src/novadax.js +23 -22
  79. package/dist/cjs/src/oceanex.js +22 -19
  80. package/dist/cjs/src/okcoin.js +29 -23
  81. package/dist/cjs/src/okx.js +87 -82
  82. package/dist/cjs/src/p2b.js +79 -82
  83. package/dist/cjs/src/paymium.js +10 -10
  84. package/dist/cjs/src/phemex.js +63 -40
  85. package/dist/cjs/src/poloniex.js +22 -22
  86. package/dist/cjs/src/poloniexfutures.js +23 -19
  87. package/dist/cjs/src/pro/alpaca.js +5 -5
  88. package/dist/cjs/src/pro/ascendex.js +4 -4
  89. package/dist/cjs/src/pro/binance.js +16 -16
  90. package/dist/cjs/src/pro/bingx.js +1 -1
  91. package/dist/cjs/src/pro/bitfinex.js +4 -4
  92. package/dist/cjs/src/pro/bitfinex2.js +6 -6
  93. package/dist/cjs/src/pro/bitget.js +7 -7
  94. package/dist/cjs/src/pro/bitmart.js +7 -5
  95. package/dist/cjs/src/pro/bitmex.js +6 -6
  96. package/dist/cjs/src/pro/bitopro.js +4 -4
  97. package/dist/cjs/src/pro/bitpanda.js +6 -6
  98. package/dist/cjs/src/pro/bitrue.js +2 -2
  99. package/dist/cjs/src/pro/bitstamp.js +6 -4
  100. package/dist/cjs/src/pro/bittrex.js +15 -6
  101. package/dist/cjs/src/pro/bitvavo.js +11 -7
  102. package/dist/cjs/src/pro/blockchaincom.js +8 -8
  103. package/dist/cjs/src/pro/bybit.js +7 -7
  104. package/dist/cjs/src/pro/cex.js +13 -9
  105. package/dist/cjs/src/pro/coinbase.js +5 -5
  106. package/dist/cjs/src/pro/coinbasepro.js +11 -10
  107. package/dist/cjs/src/pro/coinex.js +7 -9
  108. package/dist/cjs/src/pro/cryptocom.js +9 -9
  109. package/dist/cjs/src/pro/currencycom.js +4 -4
  110. package/dist/cjs/src/pro/deribit.js +6 -6
  111. package/dist/cjs/src/pro/exmo.js +12 -14
  112. package/dist/cjs/src/pro/gate.js +7 -7
  113. package/dist/cjs/src/pro/gemini.js +3 -3
  114. package/dist/cjs/src/pro/hitbtc.js +263 -4
  115. package/dist/cjs/src/pro/hollaex.js +5 -5
  116. package/dist/cjs/src/pro/htx.js +6 -6
  117. package/dist/cjs/src/pro/huobijp.js +3 -3
  118. package/dist/cjs/src/pro/idex.js +4 -4
  119. package/dist/cjs/src/pro/independentreserve.js +2 -2
  120. package/dist/cjs/src/pro/kraken.js +10 -10
  121. package/dist/cjs/src/pro/krakenfutures.js +41 -17
  122. package/dist/cjs/src/pro/kucoin.js +7 -7
  123. package/dist/cjs/src/pro/kucoinfutures.js +8 -6
  124. package/dist/cjs/src/pro/luno.js +2 -2
  125. package/dist/cjs/src/pro/mexc.js +6 -6
  126. package/dist/cjs/src/pro/ndax.js +3 -3
  127. package/dist/cjs/src/pro/okcoin.js +5 -5
  128. package/dist/cjs/src/pro/okx.js +12 -12
  129. package/dist/cjs/src/pro/phemex.js +6 -6
  130. package/dist/cjs/src/pro/poloniex.js +7 -7
  131. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  132. package/dist/cjs/src/pro/probit.js +6 -6
  133. package/dist/cjs/src/pro/upbit.js +3 -3
  134. package/dist/cjs/src/pro/wazirx.js +8 -8
  135. package/dist/cjs/src/pro/whitebit.js +12 -8
  136. package/dist/cjs/src/pro/woo.js +1 -1
  137. package/dist/cjs/src/probit.js +28 -23
  138. package/dist/cjs/src/tidex.js +16 -15
  139. package/dist/cjs/src/timex.js +19 -18
  140. package/dist/cjs/src/tokocrypto.js +27 -22
  141. package/dist/cjs/src/upbit.js +19 -19
  142. package/dist/cjs/src/wavesexchange.js +22 -19
  143. package/dist/cjs/src/wazirx.js +24 -17
  144. package/dist/cjs/src/whitebit.js +33 -27
  145. package/dist/cjs/src/woo.js +44 -34
  146. package/dist/cjs/src/yobit.js +25 -20
  147. package/dist/cjs/src/zaif.js +9 -9
  148. package/dist/cjs/src/zonda.js +18 -17
  149. package/js/ccxt.d.ts +1 -1
  150. package/js/ccxt.js +1 -1
  151. package/js/src/abstract/bybit.d.ts +1 -0
  152. package/js/src/abstract/cryptocom.d.ts +0 -20
  153. package/js/src/ace.js +18 -14
  154. package/js/src/alpaca.js +6 -6
  155. package/js/src/ascendex.js +35 -29
  156. package/js/src/base/Exchange.d.ts +37 -34
  157. package/js/src/base/Exchange.js +39 -26
  158. package/js/src/base/Precise.d.ts +4 -4
  159. package/js/src/base/Precise.js +1 -3
  160. package/js/src/base/functions/type.d.ts +25 -25
  161. package/js/src/base/types.d.ts +21 -14
  162. package/js/src/base/ws/Client.js +1 -1
  163. package/js/src/bigone.js +25 -21
  164. package/js/src/binance.d.ts +2 -2
  165. package/js/src/binance.js +97 -76
  166. package/js/src/bingx.js +63 -44
  167. package/js/src/bit2c.js +19 -16
  168. package/js/src/bitbank.js +16 -15
  169. package/js/src/bitbns.js +28 -18
  170. package/js/src/bitfinex.js +23 -21
  171. package/js/src/bitfinex2.js +32 -28
  172. package/js/src/bitflyer.js +28 -20
  173. package/js/src/bitforex.js +26 -19
  174. package/js/src/bitget.d.ts +25 -3
  175. package/js/src/bitget.js +184 -147
  176. package/js/src/bithumb.js +23 -16
  177. package/js/src/bitmart.d.ts +1 -1
  178. package/js/src/bitmart.js +110 -89
  179. package/js/src/bitmex.d.ts +2 -2
  180. package/js/src/bitmex.js +104 -64
  181. package/js/src/bitopro.js +38 -26
  182. package/js/src/bitpanda.js +24 -23
  183. package/js/src/bitrue.js +33 -24
  184. package/js/src/bitso.js +24 -23
  185. package/js/src/bitstamp.d.ts +2 -2
  186. package/js/src/bitstamp.js +24 -23
  187. package/js/src/bittrex.js +30 -29
  188. package/js/src/bitvavo.js +38 -30
  189. package/js/src/bl3p.js +11 -10
  190. package/js/src/blockchaincom.js +20 -20
  191. package/js/src/btcalpha.js +18 -17
  192. package/js/src/btcbox.js +13 -12
  193. package/js/src/btcmarkets.js +20 -19
  194. package/js/src/btcturk.js +14 -13
  195. package/js/src/bybit.d.ts +1 -1
  196. package/js/src/bybit.js +84 -54
  197. package/js/src/cex.js +16 -14
  198. package/js/src/coinbase.js +29 -27
  199. package/js/src/coinbasepro.js +27 -25
  200. package/js/src/coincheck.js +15 -14
  201. package/js/src/coinex.d.ts +1 -1
  202. package/js/src/coinex.js +100 -77
  203. package/js/src/coinlist.js +28 -27
  204. package/js/src/coinmate.js +21 -18
  205. package/js/src/coinone.js +21 -16
  206. package/js/src/coinsph.js +37 -28
  207. package/js/src/coinspot.js +12 -11
  208. package/js/src/cryptocom.d.ts +0 -23
  209. package/js/src/cryptocom.js +40 -202
  210. package/js/src/currencycom.js +32 -25
  211. package/js/src/delta.js +35 -29
  212. package/js/src/deribit.js +39 -36
  213. package/js/src/digifinex.d.ts +2 -2
  214. package/js/src/digifinex.js +65 -45
  215. package/js/src/exmo.js +29 -27
  216. package/js/src/gate.d.ts +1 -1
  217. package/js/src/gate.js +67 -53
  218. package/js/src/gemini.js +23 -20
  219. package/js/src/hitbtc.d.ts +1 -0
  220. package/js/src/hitbtc.js +65 -56
  221. package/js/src/hollaex.js +30 -27
  222. package/js/src/htx.d.ts +11 -3
  223. package/js/src/htx.js +132 -143
  224. package/js/src/huobijp.js +23 -21
  225. package/js/src/idex.js +22 -21
  226. package/js/src/independentreserve.js +15 -14
  227. package/js/src/indodax.js +30 -26
  228. package/js/src/kraken.js +29 -27
  229. package/js/src/krakenfutures.js +29 -22
  230. package/js/src/kucoin.d.ts +1 -1
  231. package/js/src/kucoin.js +48 -43
  232. package/js/src/kucoinfutures.js +33 -28
  233. package/js/src/kuna.js +25 -24
  234. package/js/src/latoken.js +25 -23
  235. package/js/src/lbank.js +46 -31
  236. package/js/src/luno.js +22 -19
  237. package/js/src/lykke.js +19 -17
  238. package/js/src/mercado.js +30 -19
  239. package/js/src/mexc.d.ts +1 -1
  240. package/js/src/mexc.js +60 -49
  241. package/js/src/ndax.js +23 -22
  242. package/js/src/novadax.js +23 -22
  243. package/js/src/oceanex.js +22 -19
  244. package/js/src/okcoin.js +29 -23
  245. package/js/src/okx.d.ts +2 -2
  246. package/js/src/okx.js +87 -82
  247. package/js/src/p2b.d.ts +8 -7
  248. package/js/src/p2b.js +79 -81
  249. package/js/src/paymium.js +10 -10
  250. package/js/src/phemex.js +63 -40
  251. package/js/src/poloniex.js +22 -22
  252. package/js/src/poloniexfutures.js +23 -19
  253. package/js/src/pro/alpaca.js +5 -5
  254. package/js/src/pro/ascendex.js +4 -4
  255. package/js/src/pro/binance.js +16 -16
  256. package/js/src/pro/bingx.js +1 -1
  257. package/js/src/pro/bitfinex.js +4 -4
  258. package/js/src/pro/bitfinex2.d.ts +1 -1
  259. package/js/src/pro/bitfinex2.js +6 -6
  260. package/js/src/pro/bitget.js +7 -7
  261. package/js/src/pro/bitmart.js +7 -5
  262. package/js/src/pro/bitmex.js +6 -6
  263. package/js/src/pro/bitopro.js +4 -4
  264. package/js/src/pro/bitpanda.js +6 -6
  265. package/js/src/pro/bitrue.js +2 -2
  266. package/js/src/pro/bitstamp.js +7 -5
  267. package/js/src/pro/bittrex.js +15 -6
  268. package/js/src/pro/bitvavo.js +12 -8
  269. package/js/src/pro/blockchaincom.js +8 -8
  270. package/js/src/pro/bybit.js +7 -7
  271. package/js/src/pro/cex.js +14 -10
  272. package/js/src/pro/coinbase.js +5 -5
  273. package/js/src/pro/coinbasepro.js +12 -11
  274. package/js/src/pro/coinex.js +7 -9
  275. package/js/src/pro/cryptocom.js +9 -9
  276. package/js/src/pro/currencycom.js +4 -4
  277. package/js/src/pro/deribit.js +6 -6
  278. package/js/src/pro/exmo.js +12 -14
  279. package/js/src/pro/gate.js +7 -7
  280. package/js/src/pro/gemini.js +3 -3
  281. package/js/src/pro/hitbtc.d.ts +8 -1
  282. package/js/src/pro/hitbtc.js +264 -5
  283. package/js/src/pro/hollaex.js +5 -5
  284. package/js/src/pro/htx.js +6 -6
  285. package/js/src/pro/huobijp.js +3 -3
  286. package/js/src/pro/idex.js +4 -4
  287. package/js/src/pro/independentreserve.js +2 -2
  288. package/js/src/pro/kraken.js +10 -10
  289. package/js/src/pro/krakenfutures.d.ts +1 -0
  290. package/js/src/pro/krakenfutures.js +42 -18
  291. package/js/src/pro/kucoin.js +7 -7
  292. package/js/src/pro/kucoinfutures.js +8 -6
  293. package/js/src/pro/luno.js +2 -2
  294. package/js/src/pro/mexc.js +6 -6
  295. package/js/src/pro/ndax.js +3 -3
  296. package/js/src/pro/okcoin.js +5 -5
  297. package/js/src/pro/okx.js +12 -12
  298. package/js/src/pro/phemex.js +6 -6
  299. package/js/src/pro/poloniex.js +7 -7
  300. package/js/src/pro/poloniexfutures.js +5 -5
  301. package/js/src/pro/probit.js +6 -6
  302. package/js/src/pro/upbit.js +3 -3
  303. package/js/src/pro/wazirx.js +8 -8
  304. package/js/src/pro/whitebit.js +13 -9
  305. package/js/src/pro/woo.js +1 -1
  306. package/js/src/probit.js +29 -24
  307. package/js/src/tidex.js +16 -15
  308. package/js/src/timex.js +19 -18
  309. package/js/src/tokocrypto.js +28 -23
  310. package/js/src/upbit.js +19 -19
  311. package/js/src/wavesexchange.js +23 -20
  312. package/js/src/wazirx.js +25 -18
  313. package/js/src/whitebit.js +33 -27
  314. package/js/src/woo.js +45 -35
  315. package/js/src/yobit.js +25 -20
  316. package/js/src/zaif.js +9 -9
  317. package/js/src/zonda.js +18 -17
  318. package/package.json +1 -1
@@ -184,7 +184,7 @@ class poloniex extends poloniex$1 {
184
184
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
185
185
  * @param {string} symbol unified symbol of the market to fetch the ticker for
186
186
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
187
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
187
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
188
188
  */
189
189
  await this.loadMarkets();
190
190
  symbol = this.symbol(symbol);
@@ -199,7 +199,7 @@ class poloniex extends poloniex$1 {
199
199
  * @see https://docs.poloniex.com/#public-channels-market-data-ticker
200
200
  * @param {string} symbol unified symbol of the market to fetch the ticker for
201
201
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
202
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
202
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
203
203
  */
204
204
  await this.loadMarkets();
205
205
  const name = 'ticker';
@@ -220,7 +220,7 @@ class poloniex extends poloniex$1 {
220
220
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
221
221
  * @param {int} [limit] the maximum amount of trades to fetch
222
222
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
223
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
223
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
224
224
  */
225
225
  await this.loadMarkets();
226
226
  symbol = this.symbol(symbol);
@@ -240,7 +240,7 @@ class poloniex extends poloniex$1 {
240
240
  * @param {string} symbol unified symbol of the market to fetch the order book for
241
241
  * @param {int} [limit] not used by poloniex watchOrderBook
242
242
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
243
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
243
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
244
244
  */
245
245
  await this.loadMarkets();
246
246
  const watchOrderBookOptions = this.safeValue(this.options, 'watchOrderBook');
@@ -259,7 +259,7 @@ class poloniex extends poloniex$1 {
259
259
  * @param {int} [since] not used by poloniex watchOrders
260
260
  * @param {int} [limit] not used by poloniex watchOrders
261
261
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
262
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
262
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
263
263
  */
264
264
  await this.loadMarkets();
265
265
  const name = 'orders';
@@ -284,7 +284,7 @@ class poloniex extends poloniex$1 {
284
284
  * @param {int} [since] not used by poloniex watchMyTrades
285
285
  * @param {int} [limit] not used by poloniex watchMyTrades
286
286
  * @param {object} [params] extra parameters specific to the poloniex strean
287
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
287
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
288
288
  */
289
289
  await this.loadMarkets();
290
290
  const name = 'orders';
@@ -307,7 +307,7 @@ class poloniex extends poloniex$1 {
307
307
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
308
308
  * @see https://docs.poloniex.com/#authenticated-channels-market-data-balances
309
309
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
310
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
310
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
311
311
  */
312
312
  await this.loadMarkets();
313
313
  const name = 'balances';
@@ -229,7 +229,7 @@ class poloniexfutures extends poloniexfutures$1 {
229
229
  * @see https://futures-docs.poloniex.com/#get-real-time-symbol-ticker
230
230
  * @param {string} symbol unified symbol of the market to fetch the ticker for
231
231
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
232
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
232
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
233
233
  */
234
234
  await this.loadMarkets();
235
235
  symbol = this.symbol(symbol);
@@ -246,7 +246,7 @@ class poloniexfutures extends poloniexfutures$1 {
246
246
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
247
247
  * @param {int} [limit] the maximum amount of trades to fetch
248
248
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
249
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
249
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
250
250
  */
251
251
  await this.loadMarkets();
252
252
  const options = this.safeValue(this.options, 'watchTrades');
@@ -269,7 +269,7 @@ class poloniexfutures extends poloniexfutures$1 {
269
269
  * @param {int} [limit] not used by poloniexfutures watchOrderBook
270
270
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
271
271
  * @param {string} [params.method] the method to use. Defaults to /contractMarket/level2 can also be /contractMarket/level3v2 to receive the raw stream of orders
272
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
272
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
273
273
  */
274
274
  await this.loadMarkets();
275
275
  const options = this.safeValue(this.options, 'watchOrderBook');
@@ -300,7 +300,7 @@ class poloniexfutures extends poloniexfutures$1 {
300
300
  * @param {int} [limit] the maximum number of orde structures to retrieve
301
301
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
302
302
  * @param {string} [params.method] the method to use will default to /contractMarket/tradeOrders. Set to /contractMarket/advancedOrders to watch stop orders
303
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
303
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
304
304
  */
305
305
  await this.loadMarkets();
306
306
  const options = this.safeValue(this.options, 'watchOrders');
@@ -323,7 +323,7 @@ class poloniexfutures extends poloniexfutures$1 {
323
323
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
324
324
  * @see https://futures-docs.poloniex.com/#account-balance-events
325
325
  * @param {object} [params] extra parameters specific to the poloniexfutures api endpoint
326
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
326
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
327
327
  */
328
328
  await this.loadMarkets();
329
329
  const name = '/contractAccount/wallet';
@@ -53,7 +53,7 @@ class probit extends probit$1 {
53
53
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
54
54
  * @see https://docs-en.probit.com/reference/balance-1
55
55
  * @param {object} [params] extra parameters specific to the probit api endpoint
56
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
56
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
57
57
  */
58
58
  await this.authenticate(params);
59
59
  const messageHash = 'balance';
@@ -121,7 +121,7 @@ class probit extends probit$1 {
121
121
  * @param {string} symbol unified symbol of the market to fetch the ticker for
122
122
  * @param {object} [params] extra parameters specific to the probit api endpoint
123
123
  * @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
124
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
124
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
125
125
  */
126
126
  let filter = undefined;
127
127
  [filter, params] = this.handleOptionAndParams(params, 'watchTicker', 'filter', 'ticker');
@@ -166,7 +166,7 @@ class probit extends probit$1 {
166
166
  * @param {int} [limit] the maximum amount of trades to fetch
167
167
  * @param {object} [params] extra parameters specific to the probit api endpoint
168
168
  * @param {int} [params.interval] Unit time to synchronize market information (ms). Available units: 100, 500
169
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
169
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
170
170
  */
171
171
  let filter = undefined;
172
172
  [filter, params] = this.handleOptionAndParams(params, 'watchTrades', 'filter', 'recent_trades');
@@ -226,7 +226,7 @@ class probit extends probit$1 {
226
226
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
227
227
  * @param {int} [limit] the maximum amount of trades to fetch
228
228
  * @param {object} [params] extra parameters specific to the probit api endpoint
229
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
229
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
230
230
  */
231
231
  await this.loadMarkets();
232
232
  await this.authenticate(params);
@@ -308,7 +308,7 @@ class probit extends probit$1 {
308
308
  * @param {int} [limit] the maximum amount of orders to watch
309
309
  * @param {object} [params] extra parameters specific to the aax api endpoint
310
310
  * @param {string} [params.channel] choose what channel to use. Can open_order or order_history.
311
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
311
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
312
312
  */
313
313
  await this.authenticate(params);
314
314
  const url = this.urls['api']['ws'];
@@ -393,7 +393,7 @@ class probit extends probit$1 {
393
393
  * @param {string} symbol unified symbol of the market to fetch the order book for
394
394
  * @param {int} [limit] the maximum amount of order book entries to return
395
395
  * @param {object} [params] extra parameters specific to the probit api endpoint
396
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
396
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
397
397
  */
398
398
  let filter = undefined;
399
399
  [filter, params] = this.handleOptionAndParams(params, 'watchOrderBook', 'filter', 'order_books');
@@ -55,7 +55,7 @@ class upbit extends upbit$1 {
55
55
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
56
56
  * @param {string} symbol unified symbol of the market to fetch the ticker for
57
57
  * @param {object} [params] extra parameters specific to the upbit api endpoint
58
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
58
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
59
59
  */
60
60
  return await this.watchPublic(symbol, 'ticker');
61
61
  }
@@ -68,7 +68,7 @@ class upbit extends upbit$1 {
68
68
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
69
69
  * @param {int} [limit] the maximum amount of trades to fetch
70
70
  * @param {object} [params] extra parameters specific to the upbit api endpoint
71
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
71
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
72
72
  */
73
73
  await this.loadMarkets();
74
74
  symbol = this.symbol(symbol);
@@ -86,7 +86,7 @@ class upbit extends upbit$1 {
86
86
  * @param {string} symbol unified symbol of the market to fetch the order book for
87
87
  * @param {int} [limit] the maximum amount of order book entries to return
88
88
  * @param {object} [params] extra parameters specific to the upbit api endpoint
89
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
89
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
90
90
  */
91
91
  const orderbook = await this.watchPublic(symbol, 'orderbook');
92
92
  return orderbook.limit();
@@ -44,7 +44,7 @@ class wazirx extends wazirx$1 {
44
44
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
45
45
  * @see https://docs.wazirx.com/#account-update
46
46
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
47
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
47
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
48
48
  */
49
49
  await this.loadMarkets();
50
50
  const token = await this.authenticate(params);
@@ -85,8 +85,8 @@ class wazirx extends wazirx$1 {
85
85
  const balance = balances[i];
86
86
  const currencyId = this.safeString(balance, 'a');
87
87
  const code = this.safeCurrencyCode(currencyId);
88
- const available = this.safeNumber(balance, 'b');
89
- const locked = this.safeNumber(balance, 'l');
88
+ const available = this.safeString(balance, 'b');
89
+ const locked = this.safeString(balance, 'l');
90
90
  const account = this.account();
91
91
  account['free'] = available;
92
92
  account['used'] = locked;
@@ -165,7 +165,7 @@ class wazirx extends wazirx$1 {
165
165
  * @see https://docs.wazirx.com/#all-market-tickers-stream
166
166
  * @param {string} symbol unified symbol of the market to fetch the ticker for
167
167
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
168
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
168
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
169
169
  */
170
170
  await this.loadMarkets();
171
171
  const market = this.market(symbol);
@@ -188,7 +188,7 @@ class wazirx extends wazirx$1 {
188
188
  * @see https://docs.wazirx.com/#all-market-tickers-stream
189
189
  * @param {string[]} symbols unified symbol of the market to fetch the ticker for
190
190
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
191
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
191
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
192
192
  */
193
193
  await this.loadMarkets();
194
194
  symbols = this.marketSymbols(symbols);
@@ -288,7 +288,7 @@ class wazirx extends wazirx$1 {
288
288
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
289
289
  * @param {int} [limit] the maximum amount of trades to fetch
290
290
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
291
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
291
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
292
292
  */
293
293
  await this.loadMarkets();
294
294
  const market = this.market(symbol);
@@ -354,7 +354,7 @@ class wazirx extends wazirx$1 {
354
354
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
355
355
  * @param {int} [limit] the maximum amount of trades to fetch
356
356
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
357
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
357
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
358
358
  */
359
359
  await this.loadMarkets();
360
360
  const token = await this.authenticate(params);
@@ -473,7 +473,7 @@ class wazirx extends wazirx$1 {
473
473
  * @param {string} symbol unified symbol of the market to fetch the order book for
474
474
  * @param {int} [limit] the maximum amount of order book entries to return
475
475
  * @param {object} [params] extra parameters specific to the wazirx api endpoint
476
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
476
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
477
477
  */
478
478
  await this.loadMarkets();
479
479
  const market = this.market(symbol);
@@ -134,7 +134,7 @@ class whitebit extends whitebit$1 {
134
134
  * @param {string} symbol unified symbol of the market to fetch the order book for
135
135
  * @param {int} [limit] the maximum amount of order book entries to return
136
136
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
137
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
137
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
138
138
  */
139
139
  await this.loadMarkets();
140
140
  const market = this.market(symbol);
@@ -237,7 +237,7 @@ class whitebit extends whitebit$1 {
237
237
  * @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
238
238
  * @param {string} symbol unified symbol of the market to fetch the ticker for
239
239
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
240
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
240
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
241
241
  */
242
242
  await this.loadMarkets();
243
243
  const market = this.market(symbol);
@@ -305,7 +305,7 @@ class whitebit extends whitebit$1 {
305
305
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
306
306
  * @param {int} [limit] the maximum amount of trades to fetch
307
307
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
308
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
308
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
309
309
  */
310
310
  await this.loadMarkets();
311
311
  const market = this.market(symbol);
@@ -371,9 +371,11 @@ class whitebit extends whitebit$1 {
371
371
  * @param {int} [since] the earliest time in ms to fetch trades for
372
372
  * @param {int} [limit] the maximum number of trades structures to retrieve
373
373
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
374
- * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
374
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
375
375
  */
376
- this.checkRequiredSymbol('watchMyTrades', symbol);
376
+ if (symbol === undefined) {
377
+ throw new errors.ArgumentsRequired(this.id + ' watchMyTrades() requires a symbol argument');
378
+ }
377
379
  await this.loadMarkets();
378
380
  await this.authenticate();
379
381
  const market = this.market(symbol);
@@ -468,9 +470,11 @@ class whitebit extends whitebit$1 {
468
470
  * @param {int} [since] the earliest time in ms to fetch orders for
469
471
  * @param {int} [limit] the maximum number of order structures to retrieve
470
472
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
471
- * @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure
473
+ * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure
472
474
  */
473
- this.checkRequiredSymbol('watchOrders', symbol);
475
+ if (symbol === undefined) {
476
+ throw new errors.ArgumentsRequired(this.id + ' watchOrders() requires a symbol argument');
477
+ }
474
478
  await this.loadMarkets();
475
479
  await this.authenticate();
476
480
  const market = this.market(symbol);
@@ -639,7 +643,7 @@ class whitebit extends whitebit$1 {
639
643
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
640
644
  * @param {object} [params] extra parameters specific to the whitebit api endpoint
641
645
  * @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
642
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
646
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
643
647
  */
644
648
  await this.loadMarkets();
645
649
  let type = undefined;
@@ -611,7 +611,7 @@ class woo extends woo$1 {
611
611
  * @name woo#watchBalance
612
612
  * @description watch balance and get the amount of funds available for trading or funds locked in orders
613
613
  * @param {object} [params] extra parameters specific to the woo api endpoint
614
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
614
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
615
615
  */
616
616
  await this.loadMarkets();
617
617
  const topic = 'balance';
@@ -35,12 +35,11 @@ class probit extends probit$1 {
35
35
  'createStopMarketOrder': false,
36
36
  'createStopOrder': false,
37
37
  'fetchBalance': true,
38
- 'fetchBorrowRate': false,
39
38
  'fetchBorrowRateHistories': false,
40
39
  'fetchBorrowRateHistory': false,
41
- 'fetchBorrowRates': false,
42
- 'fetchBorrowRatesPerSymbol': false,
43
40
  'fetchClosedOrders': true,
41
+ 'fetchCrossBorrowRate': false,
42
+ 'fetchCrossBorrowRates': false,
44
43
  'fetchCurrencies': true,
45
44
  'fetchDepositAddress': true,
46
45
  'fetchDepositAddresses': true,
@@ -51,6 +50,8 @@ class probit extends probit$1 {
51
50
  'fetchFundingRateHistory': false,
52
51
  'fetchFundingRates': false,
53
52
  'fetchIndexOHLCV': false,
53
+ 'fetchIsolatedBorrowRate': false,
54
+ 'fetchIsolatedBorrowRates': false,
54
55
  'fetchLeverage': false,
55
56
  'fetchLeverageTiers': false,
56
57
  'fetchMarginMode': false,
@@ -528,7 +529,7 @@ class probit extends probit$1 {
528
529
  * @see https://docs-en.probit.com/reference/balance
529
530
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
530
531
  * @param {object} [params] extra parameters specific to the probit api endpoint
531
- * @returns {object} a [balance structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#balance-structure}
532
+ * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
532
533
  */
533
534
  await this.loadMarkets();
534
535
  const response = await this.privateGetBalance(params);
@@ -554,7 +555,7 @@ class probit extends probit$1 {
554
555
  * @param {string} symbol unified symbol of the market to fetch the order book for
555
556
  * @param {int} [limit] the maximum amount of order book entries to return
556
557
  * @param {object} [params] extra parameters specific to the probit api endpoint
557
- * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
558
+ * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
558
559
  */
559
560
  await this.loadMarkets();
560
561
  const market = this.market(symbol);
@@ -583,7 +584,7 @@ class probit extends probit$1 {
583
584
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
584
585
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
585
586
  * @param {object} [params] extra parameters specific to the probit api endpoint
586
- * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
587
+ * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
587
588
  */
588
589
  await this.loadMarkets();
589
590
  const request = {};
@@ -619,7 +620,7 @@ class probit extends probit$1 {
619
620
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
620
621
  * @param {string} symbol unified symbol of the market to fetch the ticker for
621
622
  * @param {object} [params] extra parameters specific to the probit api endpoint
622
- * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
623
+ * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
623
624
  */
624
625
  await this.loadMarkets();
625
626
  const market = this.market(symbol);
@@ -703,7 +704,7 @@ class probit extends probit$1 {
703
704
  * @param {int} [since] the earliest time in ms to fetch trades for
704
705
  * @param {int} [limit] the maximum number of trades structures to retrieve
705
706
  * @param {object} [params] extra parameters specific to the probit api endpoint
706
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
707
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
707
708
  */
708
709
  await this.loadMarkets();
709
710
  let market = undefined;
@@ -757,7 +758,7 @@ class probit extends probit$1 {
757
758
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
758
759
  * @param {int} [limit] the maximum amount of trades to fetch
759
760
  * @param {object} [params] extra parameters specific to the probit api endpoint
760
- * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
761
+ * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
761
762
  */
762
763
  await this.loadMarkets();
763
764
  const market = this.market(symbol);
@@ -1020,7 +1021,7 @@ class probit extends probit$1 {
1020
1021
  * @param {int} [since] the earliest time in ms to fetch open orders for
1021
1022
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1022
1023
  * @param {object} [params] extra parameters specific to the probit api endpoint
1023
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1024
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1024
1025
  */
1025
1026
  await this.loadMarkets();
1026
1027
  since = this.parse8601(since);
@@ -1044,7 +1045,7 @@ class probit extends probit$1 {
1044
1045
  * @param {int} [since] the earliest time in ms to fetch orders for
1045
1046
  * @param {int} [limit] the maximum number of orde structures to retrieve
1046
1047
  * @param {object} [params] extra parameters specific to the probit api endpoint
1047
- * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1048
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1048
1049
  */
1049
1050
  await this.loadMarkets();
1050
1051
  const request = {
@@ -1075,9 +1076,11 @@ class probit extends probit$1 {
1075
1076
  * @description fetches information on an order made by the user
1076
1077
  * @param {string} symbol unified symbol of the market the order was made in
1077
1078
  * @param {object} [params] extra parameters specific to the probit api endpoint
1078
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1079
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1079
1080
  */
1080
- this.checkRequiredSymbol('fetchOrder', symbol);
1081
+ if (symbol === undefined) {
1082
+ throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
1083
+ }
1081
1084
  await this.loadMarkets();
1082
1085
  const market = this.market(symbol);
1083
1086
  const request = {
@@ -1184,7 +1187,7 @@ class probit extends probit$1 {
1184
1187
  * @param {float} amount how much of currency you want to trade in units of base currency
1185
1188
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1186
1189
  * @param {object} [params] extra parameters specific to the probit api endpoint
1187
- * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1190
+ * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1188
1191
  */
1189
1192
  await this.loadMarkets();
1190
1193
  const market = this.market(symbol);
@@ -1276,9 +1279,11 @@ class probit extends probit$1 {
1276
1279
  * @param {string} id order id
1277
1280
  * @param {string} symbol unified symbol of the market the order was made in
1278
1281
  * @param {object} [params] extra parameters specific to the probit api endpoint
1279
- * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1282
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1280
1283
  */
1281
- this.checkRequiredSymbol('cancelOrder', symbol);
1284
+ if (symbol === undefined) {
1285
+ throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
1286
+ }
1282
1287
  await this.loadMarkets();
1283
1288
  const market = this.market(symbol);
1284
1289
  const request = {
@@ -1313,7 +1318,7 @@ class probit extends probit$1 {
1313
1318
  * @description fetch the deposit address for a currency associated with this account
1314
1319
  * @param {string} code unified currency code
1315
1320
  * @param {object} [params] extra parameters specific to the probit api endpoint
1316
- * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1321
+ * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
1317
1322
  */
1318
1323
  await this.loadMarkets();
1319
1324
  const currency = this.currency(code);
@@ -1367,7 +1372,7 @@ class probit extends probit$1 {
1367
1372
  * @description fetch deposit addresses for multiple currencies and chain types
1368
1373
  * @param {string[]|undefined} codes list of unified currency codes, default is undefined
1369
1374
  * @param {object} [params] extra parameters specific to the probit api endpoint
1370
- * @returns {object} a list of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
1375
+ * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
1371
1376
  */
1372
1377
  await this.loadMarkets();
1373
1378
  const request = {};
@@ -1394,7 +1399,7 @@ class probit extends probit$1 {
1394
1399
  * @param {string} address the address to withdraw to
1395
1400
  * @param {string} tag
1396
1401
  * @param {object} [params] extra parameters specific to the probit api endpoint
1397
- * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1402
+ * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1398
1403
  */
1399
1404
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
1400
1405
  // In order to use this method
@@ -1439,7 +1444,7 @@ class probit extends probit$1 {
1439
1444
  * @param {int} [since] the earliest time in ms to fetch deposits for
1440
1445
  * @param {int} [limit] the maximum number of transaction structures to retrieve
1441
1446
  * @param {object} [params] extra parameters specific to the probit api endpoint
1442
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1447
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1443
1448
  */
1444
1449
  const request = {
1445
1450
  'type': 'deposit',
@@ -1456,7 +1461,7 @@ class probit extends probit$1 {
1456
1461
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1457
1462
  * @param {int} [limit] the maximum number of transaction structures to retrieve
1458
1463
  * @param {object} [params] extra parameters specific to the probit api endpoint
1459
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1464
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1460
1465
  */
1461
1466
  const request = {
1462
1467
  'type': 'withdrawal',
@@ -1476,7 +1481,7 @@ class probit extends probit$1 {
1476
1481
  * @param {int} [limit] the maximum number of transaction structures to retrieve
1477
1482
  * @param {int} [params.until] the latest time in ms to fetch transactions for
1478
1483
  * @param {object} [params] extra parameters specific to the probit api endpoint
1479
- * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
1484
+ * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
1480
1485
  */
1481
1486
  await this.loadMarkets();
1482
1487
  let currency = undefined;
@@ -1618,7 +1623,7 @@ class probit extends probit$1 {
1618
1623
  * @description fetch deposit and withdraw fees
1619
1624
  * @param {string[]|undefined} codes list of unified currency codes
1620
1625
  * @param {object} [params] extra parameters specific to the poloniex api endpoint
1621
- * @returns {object[]} a list of [fees structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
1626
+ * @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
1622
1627
  */
1623
1628
  await this.loadMarkets();
1624
1629
  const response = await this.publicGetCurrencyWithPlatform(params);