ccxt 4.0.73 → 4.0.75

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 (283) hide show
  1. package/README.md +11 -11
  2. package/dist/ccxt.browser.js +2058 -1943
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +9 -9
  6. package/dist/cjs/src/alpaca.js +6 -6
  7. package/dist/cjs/src/ascendex.js +22 -22
  8. package/dist/cjs/src/base/Exchange.js +2 -2
  9. package/dist/cjs/src/bigone.js +17 -17
  10. package/dist/cjs/src/binance.js +51 -51
  11. package/dist/cjs/src/bingx.js +25 -26
  12. package/dist/cjs/src/bit2c.js +10 -10
  13. package/dist/cjs/src/bitbank.js +11 -11
  14. package/dist/cjs/src/bitbns.js +12 -12
  15. package/dist/cjs/src/bitfinex.js +19 -19
  16. package/dist/cjs/src/bitfinex2.js +25 -25
  17. package/dist/cjs/src/bitflyer.js +15 -15
  18. package/dist/cjs/src/bitforex.js +9 -9
  19. package/dist/cjs/src/bitget.js +34 -34
  20. package/dist/cjs/src/bithumb.js +9 -9
  21. package/dist/cjs/src/bitmart.js +42 -29
  22. package/dist/cjs/src/bitmex.js +19 -19
  23. package/dist/cjs/src/bitopro.js +18 -18
  24. package/dist/cjs/src/bitpanda.js +19 -19
  25. package/dist/cjs/src/bitrue.js +15 -15
  26. package/dist/cjs/src/bitso.js +19 -19
  27. package/dist/cjs/src/bitstamp.js +19 -19
  28. package/dist/cjs/src/bitstamp1.js +6 -6
  29. package/dist/cjs/src/bittrex.js +24 -24
  30. package/dist/cjs/src/bitvavo.js +16 -16
  31. package/dist/cjs/src/bkex.js +17 -17
  32. package/dist/cjs/src/bl3p.js +6 -6
  33. package/dist/cjs/src/blockchaincom.js +20 -20
  34. package/dist/cjs/src/btcalpha.js +13 -13
  35. package/dist/cjs/src/btcbox.js +8 -8
  36. package/dist/cjs/src/btcmarkets.js +15 -15
  37. package/dist/cjs/src/btctradeua.js +6 -6
  38. package/dist/cjs/src/btcturk.js +9 -9
  39. package/dist/cjs/src/bybit.js +148 -116
  40. package/dist/cjs/src/cex.js +12 -12
  41. package/dist/cjs/src/coinbase.js +20 -20
  42. package/dist/cjs/src/coinbasepro.js +22 -22
  43. package/dist/cjs/src/coincheck.js +10 -10
  44. package/dist/cjs/src/coinex.js +81 -35
  45. package/dist/cjs/src/coinfalcon.js +14 -14
  46. package/dist/cjs/src/coinmate.js +12 -12
  47. package/dist/cjs/src/coinone.js +10 -10
  48. package/dist/cjs/src/coinsph.js +20 -20
  49. package/dist/cjs/src/coinspot.js +6 -6
  50. package/dist/cjs/src/cryptocom.js +24 -24
  51. package/dist/cjs/src/currencycom.js +18 -18
  52. package/dist/cjs/src/delta.js +23 -23
  53. package/dist/cjs/src/deribit.js +27 -27
  54. package/dist/cjs/src/digifinex.js +27 -27
  55. package/dist/cjs/src/exmo.js +24 -24
  56. package/dist/cjs/src/gate.js +34 -34
  57. package/dist/cjs/src/gemini.js +14 -14
  58. package/dist/cjs/src/hitbtc.js +30 -30
  59. package/dist/cjs/src/hollaex.js +20 -20
  60. package/dist/cjs/src/huobi.js +40 -40
  61. package/dist/cjs/src/huobijp.js +18 -18
  62. package/dist/cjs/src/idex.js +17 -17
  63. package/dist/cjs/src/independentreserve.js +10 -10
  64. package/dist/cjs/src/indodax.js +12 -12
  65. package/dist/cjs/src/kraken.js +25 -25
  66. package/dist/cjs/src/krakenfutures.js +12 -12
  67. package/dist/cjs/src/kucoin.js +29 -29
  68. package/dist/cjs/src/kucoinfutures.js +19 -19
  69. package/dist/cjs/src/kuna.js +10 -10
  70. package/dist/cjs/src/latoken.js +15 -15
  71. package/dist/cjs/src/lbank.js +10 -10
  72. package/dist/cjs/src/lbank2.js +21 -21
  73. package/dist/cjs/src/luno.js +14 -14
  74. package/dist/cjs/src/lykke.js +14 -14
  75. package/dist/cjs/src/mercado.js +10 -10
  76. package/dist/cjs/src/mexc.js +38 -38
  77. package/dist/cjs/src/ndax.js +18 -18
  78. package/dist/cjs/src/novadax.js +18 -18
  79. package/dist/cjs/src/oceanex.js +14 -14
  80. package/dist/cjs/src/okcoin.js +19 -19
  81. package/dist/cjs/src/okx.js +48 -48
  82. package/dist/cjs/src/paymium.js +9 -9
  83. package/dist/cjs/src/phemex.js +24 -24
  84. package/dist/cjs/src/poloniex.js +77 -60
  85. package/dist/cjs/src/poloniexfutures.js +16 -16
  86. package/dist/cjs/src/pro/alpaca.js +5 -5
  87. package/dist/cjs/src/pro/ascendex.js +2 -2
  88. package/dist/cjs/src/pro/binance.js +10 -10
  89. package/dist/cjs/src/pro/bitfinex.js +3 -3
  90. package/dist/cjs/src/pro/bitfinex2.js +4 -4
  91. package/dist/cjs/src/pro/bitget.js +4 -4
  92. package/dist/cjs/src/pro/bitmart.js +3 -3
  93. package/dist/cjs/src/pro/bitmex.js +4 -4
  94. package/dist/cjs/src/pro/bitopro.js +2 -2
  95. package/dist/cjs/src/pro/bitrue.js +1 -1
  96. package/dist/cjs/src/pro/bitstamp.js +2 -2
  97. package/dist/cjs/src/pro/bittrex.js +4 -4
  98. package/dist/cjs/src/pro/bitvavo.js +4 -4
  99. package/dist/cjs/src/pro/bybit.js +12 -11
  100. package/dist/cjs/src/pro/cex.js +3 -3
  101. package/dist/cjs/src/pro/coinbasepro.js +5 -5
  102. package/dist/cjs/src/pro/coinex.js +3 -3
  103. package/dist/cjs/src/pro/cryptocom.js +7 -7
  104. package/dist/cjs/src/pro/currencycom.js +2 -2
  105. package/dist/cjs/src/pro/deribit.js +3 -3
  106. package/dist/cjs/src/pro/exmo.js +2 -2
  107. package/dist/cjs/src/pro/gate.js +5 -5
  108. package/dist/cjs/src/pro/gemini.js +2 -2
  109. package/dist/cjs/src/pro/hitbtc.js +2 -2
  110. package/dist/cjs/src/pro/hollaex.js +3 -3
  111. package/dist/cjs/src/pro/huobi.js +4 -4
  112. package/dist/cjs/src/pro/huobijp.js +2 -2
  113. package/dist/cjs/src/pro/idex.js +3 -3
  114. package/dist/cjs/src/pro/independentreserve.js +1 -1
  115. package/dist/cjs/src/pro/kraken.js +6 -6
  116. package/dist/cjs/src/pro/krakenfutures.js +2 -2
  117. package/dist/cjs/src/pro/kucoin.js +4 -4
  118. package/dist/cjs/src/pro/kucoinfutures.js +3 -3
  119. package/dist/cjs/src/pro/luno.js +1 -1
  120. package/dist/cjs/src/pro/ndax.js +2 -2
  121. package/dist/cjs/src/pro/okcoin.js +3 -3
  122. package/dist/cjs/src/pro/okx.js +12 -11
  123. package/dist/cjs/src/pro/phemex.js +4 -4
  124. package/dist/cjs/src/pro/poloniex.js +1 -1
  125. package/dist/cjs/src/pro/upbit.js +2 -2
  126. package/dist/cjs/src/pro/wazirx.js +3 -3
  127. package/dist/cjs/src/pro/whitebit.js +4 -4
  128. package/dist/cjs/src/probit.js +17 -17
  129. package/dist/cjs/src/tidex.js +11 -11
  130. package/dist/cjs/src/timex.js +14 -14
  131. package/dist/cjs/src/tokocrypto.js +16 -16
  132. package/dist/cjs/src/upbit.js +18 -18
  133. package/dist/cjs/src/wavesexchange.js +13 -13
  134. package/dist/cjs/src/wazirx.js +10 -10
  135. package/dist/cjs/src/whitebit.js +21 -21
  136. package/dist/cjs/src/woo.js +28 -22
  137. package/dist/cjs/src/yobit.js +14 -14
  138. package/dist/cjs/src/zaif.js +8 -8
  139. package/dist/cjs/src/zonda.js +13 -13
  140. package/js/ccxt.d.ts +1 -1
  141. package/js/ccxt.js +1 -1
  142. package/js/src/abstract/bitmart.d.ts +13 -0
  143. package/js/src/abstract/bybit.d.ts +33 -21
  144. package/js/src/abstract/woo.d.ts +6 -0
  145. package/js/src/ace.js +9 -9
  146. package/js/src/alpaca.js +6 -6
  147. package/js/src/ascendex.js +22 -22
  148. package/js/src/base/Exchange.js +2 -2
  149. package/js/src/bigone.js +17 -17
  150. package/js/src/binance.js +51 -51
  151. package/js/src/bingx.js +25 -26
  152. package/js/src/bit2c.js +10 -10
  153. package/js/src/bitbank.js +11 -11
  154. package/js/src/bitbns.js +12 -12
  155. package/js/src/bitfinex.js +19 -19
  156. package/js/src/bitfinex2.js +25 -25
  157. package/js/src/bitflyer.js +15 -15
  158. package/js/src/bitforex.js +9 -9
  159. package/js/src/bitget.js +34 -34
  160. package/js/src/bithumb.js +9 -9
  161. package/js/src/bitmart.js +42 -29
  162. package/js/src/bitmex.js +19 -19
  163. package/js/src/bitopro.js +18 -18
  164. package/js/src/bitpanda.js +19 -19
  165. package/js/src/bitrue.js +15 -15
  166. package/js/src/bitso.js +19 -19
  167. package/js/src/bitstamp.js +19 -19
  168. package/js/src/bitstamp1.js +6 -6
  169. package/js/src/bittrex.js +24 -24
  170. package/js/src/bitvavo.js +16 -16
  171. package/js/src/bkex.js +17 -17
  172. package/js/src/bl3p.js +6 -6
  173. package/js/src/blockchaincom.js +20 -20
  174. package/js/src/btcalpha.js +13 -13
  175. package/js/src/btcbox.js +8 -8
  176. package/js/src/btcmarkets.js +15 -15
  177. package/js/src/btctradeua.js +6 -6
  178. package/js/src/btcturk.js +9 -9
  179. package/js/src/bybit.js +148 -116
  180. package/js/src/cex.js +12 -12
  181. package/js/src/coinbase.js +20 -20
  182. package/js/src/coinbasepro.js +22 -22
  183. package/js/src/coincheck.js +10 -10
  184. package/js/src/coinex.d.ts +1 -0
  185. package/js/src/coinex.js +81 -35
  186. package/js/src/coinfalcon.js +14 -14
  187. package/js/src/coinmate.js +12 -12
  188. package/js/src/coinone.js +10 -10
  189. package/js/src/coinsph.js +20 -20
  190. package/js/src/coinspot.js +6 -6
  191. package/js/src/cryptocom.js +24 -24
  192. package/js/src/currencycom.js +18 -18
  193. package/js/src/delta.js +23 -23
  194. package/js/src/deribit.js +27 -27
  195. package/js/src/digifinex.js +27 -27
  196. package/js/src/exmo.js +24 -24
  197. package/js/src/gate.js +34 -34
  198. package/js/src/gemini.js +14 -14
  199. package/js/src/hitbtc.js +30 -30
  200. package/js/src/hollaex.js +20 -20
  201. package/js/src/huobi.js +40 -40
  202. package/js/src/huobijp.js +18 -18
  203. package/js/src/idex.js +17 -17
  204. package/js/src/independentreserve.js +10 -10
  205. package/js/src/indodax.js +12 -12
  206. package/js/src/kraken.js +25 -25
  207. package/js/src/krakenfutures.js +12 -12
  208. package/js/src/kucoin.js +29 -29
  209. package/js/src/kucoinfutures.js +19 -19
  210. package/js/src/kuna.js +10 -10
  211. package/js/src/latoken.js +15 -15
  212. package/js/src/lbank.js +10 -10
  213. package/js/src/lbank2.js +21 -21
  214. package/js/src/luno.js +14 -14
  215. package/js/src/lykke.js +14 -14
  216. package/js/src/mercado.js +10 -10
  217. package/js/src/mexc.js +38 -38
  218. package/js/src/ndax.js +18 -18
  219. package/js/src/novadax.js +18 -18
  220. package/js/src/oceanex.js +14 -14
  221. package/js/src/okcoin.js +19 -19
  222. package/js/src/okx.js +48 -48
  223. package/js/src/paymium.js +9 -9
  224. package/js/src/phemex.js +24 -24
  225. package/js/src/poloniex.js +77 -60
  226. package/js/src/poloniexfutures.js +16 -16
  227. package/js/src/pro/alpaca.js +5 -5
  228. package/js/src/pro/ascendex.js +2 -2
  229. package/js/src/pro/binance.js +10 -10
  230. package/js/src/pro/bitfinex.js +3 -3
  231. package/js/src/pro/bitfinex2.js +4 -4
  232. package/js/src/pro/bitget.js +4 -4
  233. package/js/src/pro/bitmart.js +3 -3
  234. package/js/src/pro/bitmex.js +4 -4
  235. package/js/src/pro/bitopro.js +2 -2
  236. package/js/src/pro/bitrue.js +1 -1
  237. package/js/src/pro/bitstamp.js +2 -2
  238. package/js/src/pro/bittrex.js +4 -4
  239. package/js/src/pro/bitvavo.js +4 -4
  240. package/js/src/pro/bybit.d.ts +1 -1
  241. package/js/src/pro/bybit.js +12 -11
  242. package/js/src/pro/cex.js +3 -3
  243. package/js/src/pro/coinbasepro.js +5 -5
  244. package/js/src/pro/coinex.js +3 -3
  245. package/js/src/pro/cryptocom.js +7 -7
  246. package/js/src/pro/currencycom.js +2 -2
  247. package/js/src/pro/deribit.js +3 -3
  248. package/js/src/pro/exmo.js +2 -2
  249. package/js/src/pro/gate.js +5 -5
  250. package/js/src/pro/gemini.js +2 -2
  251. package/js/src/pro/hitbtc.js +2 -2
  252. package/js/src/pro/hollaex.js +3 -3
  253. package/js/src/pro/huobi.js +4 -4
  254. package/js/src/pro/huobijp.js +2 -2
  255. package/js/src/pro/idex.js +3 -3
  256. package/js/src/pro/independentreserve.js +1 -1
  257. package/js/src/pro/kraken.js +6 -6
  258. package/js/src/pro/krakenfutures.js +2 -2
  259. package/js/src/pro/kucoin.js +4 -4
  260. package/js/src/pro/kucoinfutures.js +3 -3
  261. package/js/src/pro/luno.js +1 -1
  262. package/js/src/pro/ndax.js +2 -2
  263. package/js/src/pro/okcoin.js +3 -3
  264. package/js/src/pro/okx.d.ts +1 -1
  265. package/js/src/pro/okx.js +12 -11
  266. package/js/src/pro/phemex.js +4 -4
  267. package/js/src/pro/poloniex.js +1 -1
  268. package/js/src/pro/upbit.js +2 -2
  269. package/js/src/pro/wazirx.js +3 -3
  270. package/js/src/pro/whitebit.js +4 -4
  271. package/js/src/probit.js +17 -17
  272. package/js/src/tidex.js +11 -11
  273. package/js/src/timex.js +14 -14
  274. package/js/src/tokocrypto.js +16 -16
  275. package/js/src/upbit.js +18 -18
  276. package/js/src/wavesexchange.js +13 -13
  277. package/js/src/wazirx.js +10 -10
  278. package/js/src/whitebit.js +21 -21
  279. package/js/src/woo.js +28 -22
  280. package/js/src/yobit.js +14 -14
  281. package/js/src/zaif.js +8 -8
  282. package/js/src/zonda.js +13 -13
  283. package/package.json +1 -1
@@ -1130,7 +1130,7 @@ class okx extends okx$1 {
1130
1130
  * @name okx#fetchStatus
1131
1131
  * @description the latest known information on the availability of the exchange API
1132
1132
  * @param {object} [params] extra parameters specific to the okx api endpoint
1133
- * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
1133
+ * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
1134
1134
  */
1135
1135
  const response = await this.publicGetSystemStatus(params);
1136
1136
  //
@@ -1200,7 +1200,7 @@ class okx extends okx$1 {
1200
1200
  * @name okx#fetchAccounts
1201
1201
  * @description fetch all the accounts associated with a profile
1202
1202
  * @param {object} [params] extra parameters specific to the okx api endpoint
1203
- * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
1203
+ * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
1204
1204
  */
1205
1205
  const response = await this.privateGetAccountConfig(params);
1206
1206
  //
@@ -1626,7 +1626,7 @@ class okx extends okx$1 {
1626
1626
  * @param {string} symbol unified symbol of the market to fetch the order book for
1627
1627
  * @param {int} [limit] the maximum amount of order book entries to return
1628
1628
  * @param {object} [params] extra parameters specific to the okx api endpoint
1629
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1629
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
1630
1630
  */
1631
1631
  await this.loadMarkets();
1632
1632
  const market = this.market(symbol);
@@ -1726,7 +1726,7 @@ class okx extends okx$1 {
1726
1726
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1727
1727
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1728
1728
  * @param {object} [params] extra parameters specific to the okx api endpoint
1729
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1729
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1730
1730
  */
1731
1731
  await this.loadMarkets();
1732
1732
  const market = this.market(symbol);
@@ -1816,7 +1816,7 @@ class okx extends okx$1 {
1816
1816
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1817
1817
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1818
1818
  * @param {object} [params] extra parameters specific to the okx api endpoint
1819
- * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1819
+ * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1820
1820
  */
1821
1821
  await this.loadMarkets();
1822
1822
  symbols = this.marketSymbols(symbols);
@@ -2249,7 +2249,7 @@ class okx extends okx$1 {
2249
2249
  * @description fetch the trading fees for a market
2250
2250
  * @param {string} symbol unified market symbol
2251
2251
  * @param {object} [params] extra parameters specific to the okx api endpoint
2252
- * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
2252
+ * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
2253
2253
  */
2254
2254
  await this.loadMarkets();
2255
2255
  const market = this.market(symbol);
@@ -2673,7 +2673,7 @@ class okx extends okx$1 {
2673
2673
  * @param {string} type 'market' or 'limit'
2674
2674
  * @param {string} side 'buy' or 'sell'
2675
2675
  * @param {float} amount how much of currency you want to trade in units of base currency
2676
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2676
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2677
2677
  * @param {object} [params] extra parameters specific to the okx api endpoint
2678
2678
  * @param {bool} [params.reduceOnly] MARGIN orders only, or swap/future orders in net mode
2679
2679
  * @param {bool} [params.postOnly] true to place a post only order
@@ -2685,7 +2685,7 @@ class okx extends okx$1 {
2685
2685
  * @param {float} [params.stopLoss.triggerPrice] stop loss trigger price
2686
2686
  * @param {float} [params.stopLoss.price] used for stop loss limit orders, not used for stop loss market price orders
2687
2687
  * @param {string} [params.stopLoss.type] 'market' or 'limit' used to specify the stop loss price type
2688
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2688
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2689
2689
  */
2690
2690
  await this.loadMarkets();
2691
2691
  const market = this.market(symbol);
@@ -2781,7 +2781,7 @@ class okx extends okx$1 {
2781
2781
  * @param {string} type 'market' or 'limit'
2782
2782
  * @param {string} side 'buy' or 'sell'
2783
2783
  * @param {float} amount how much of the currency you want to trade in units of the base currency
2784
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2784
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2785
2785
  * @param {object} [params] extra parameters specific to the okx api endpoint
2786
2786
  * @param {string} [params.clientOrderId] client order id, uses id if not passed
2787
2787
  * @param {float} [params.stopLossPrice] stop loss trigger price
@@ -2798,7 +2798,7 @@ class okx extends okx$1 {
2798
2798
  * @param {float} [params.takeProfit.triggerPrice] take profit trigger price
2799
2799
  * @param {float} [params.takeProfit.price] used for take profit limit orders, not used for take profit market price orders
2800
2800
  * @param {string} [params.takeProfit.type] 'market' or 'limit' used to specify the take profit price type
2801
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2801
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2802
2802
  */
2803
2803
  await this.loadMarkets();
2804
2804
  const market = this.market(symbol);
@@ -2835,7 +2835,7 @@ class okx extends okx$1 {
2835
2835
  * @param {string} id order id
2836
2836
  * @param {string} symbol unified symbol of the market the order was made in
2837
2837
  * @param {object} [params] extra parameters specific to the okx api endpoint
2838
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
2838
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2839
2839
  */
2840
2840
  const stop = this.safeValue(params, 'stop');
2841
2841
  if (stop) {
@@ -2889,7 +2889,7 @@ class okx extends okx$1 {
2889
2889
  * @param {string[]} ids order ids
2890
2890
  * @param {string} symbol unified market symbol
2891
2891
  * @param {object} [params] extra parameters specific to the okx api endpoint
2892
- * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2892
+ * @returns {object} an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2893
2893
  */
2894
2894
  // TODO : the original endpoint signature differs, according to that you can skip individual symbol and assign ids in batch. At this moment, `params` is not being used too.
2895
2895
  if (symbol === undefined) {
@@ -3191,7 +3191,7 @@ class okx extends okx$1 {
3191
3191
  * @param {string} id the order id
3192
3192
  * @param {string} symbol unified market symbol
3193
3193
  * @param {object} [params] extra and exchange specific parameters
3194
- * @returns [an order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
3194
+ * @returns [an order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3195
3195
  */
3196
3196
  if (symbol === undefined) {
3197
3197
  throw new errors.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
@@ -3342,7 +3342,7 @@ class okx extends okx$1 {
3342
3342
  * @param {bool} [params.stop] True if fetching trigger or conditional orders
3343
3343
  * @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
3344
3344
  * @param {string} [params.algoId] Algo ID "'433845797218942976'"
3345
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3345
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3346
3346
  */
3347
3347
  await this.loadMarkets();
3348
3348
  const request = {
@@ -3490,7 +3490,7 @@ class okx extends okx$1 {
3490
3490
  * @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
3491
3491
  * @param {string} [params.algoId] Algo ID "'433845797218942976'"
3492
3492
  * @param {int} [params.until] timestamp in ms to fetch orders for
3493
- * @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3493
+ * @returns {object} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3494
3494
  */
3495
3495
  await this.loadMarkets();
3496
3496
  const request = {
@@ -3664,7 +3664,7 @@ class okx extends okx$1 {
3664
3664
  * @param {string} [params.ordType] "conditional", "oco", "trigger", "move_order_stop", "iceberg", or "twap"
3665
3665
  * @param {string} [params.algoId] Algo ID "'433845797218942976'"
3666
3666
  * @param {int} [params.until] timestamp in ms to fetch orders for
3667
- * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
3667
+ * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
3668
3668
  */
3669
3669
  await this.loadMarkets();
3670
3670
  const request = {
@@ -3825,7 +3825,7 @@ class okx extends okx$1 {
3825
3825
  * @param {int} [since] the earliest time in ms to fetch trades for
3826
3826
  * @param {int} [limit] the maximum number of trades structures to retrieve
3827
3827
  * @param {object} [params] extra parameters specific to the okx api endpoint
3828
- * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3828
+ * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3829
3829
  */
3830
3830
  await this.loadMarkets();
3831
3831
  const request = {
@@ -3886,7 +3886,7 @@ class okx extends okx$1 {
3886
3886
  * @param {int} [since] the earliest time in ms to fetch trades for
3887
3887
  * @param {int} [limit] the maximum number of trades to retrieve
3888
3888
  * @param {object} [params] extra parameters specific to the okx api endpoint
3889
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
3889
+ * @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
3890
3890
  */
3891
3891
  const request = {
3892
3892
  // 'instrument_id': market['id'],
@@ -3910,7 +3910,7 @@ class okx extends okx$1 {
3910
3910
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
3911
3911
  * @param {object} [params] extra parameters specific to the okx api endpoint
3912
3912
  * @param {string} [params.marginMode] 'cross' or 'isolated'
3913
- * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
3913
+ * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
3914
3914
  */
3915
3915
  await this.loadMarkets();
3916
3916
  const options = this.safeValue(this.options, 'fetchLedger', {});
@@ -4201,7 +4201,7 @@ class okx extends okx$1 {
4201
4201
  * @description fetch a dictionary of addresses for a currency, indexed by network
4202
4202
  * @param {string} code unified currency code of the currency for the deposit address
4203
4203
  * @param {object} [params] extra parameters specific to the okx api endpoint
4204
- * @returns {object} a dictionary of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure} indexed by the network
4204
+ * @returns {object} a dictionary of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure} indexed by the network
4205
4205
  */
4206
4206
  await this.loadMarkets();
4207
4207
  const currency = this.currency(code);
@@ -4242,7 +4242,7 @@ class okx extends okx$1 {
4242
4242
  * @description fetch the deposit address for a currency associated with this account
4243
4243
  * @param {string} code unified currency code
4244
4244
  * @param {object} [params] extra parameters specific to the okx api endpoint
4245
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
4245
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
4246
4246
  */
4247
4247
  const rawNetwork = this.safeStringUpper(params, 'network');
4248
4248
  const networks = this.safeValue(this.options, 'networks', {});
@@ -4285,7 +4285,7 @@ class okx extends okx$1 {
4285
4285
  * @param {string} address the address to withdraw to
4286
4286
  * @param {string} tag
4287
4287
  * @param {object} [params] extra parameters specific to the okx api endpoint
4288
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4288
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4289
4289
  */
4290
4290
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
4291
4291
  this.checkAddress(address);
@@ -4363,7 +4363,7 @@ class okx extends okx$1 {
4363
4363
  * @param {int} [since] the earliest time in ms to fetch deposits for
4364
4364
  * @param {int} [limit] the maximum number of deposits structures to retrieve
4365
4365
  * @param {object} [params] extra parameters specific to the okx api endpoint
4366
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4366
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4367
4367
  */
4368
4368
  await this.loadMarkets();
4369
4369
  const request = {
@@ -4435,7 +4435,7 @@ class okx extends okx$1 {
4435
4435
  * @param {string} id deposit id
4436
4436
  * @param {string} code filter by currency code
4437
4437
  * @param {object} [params] extra parameters specific to the okx api endpoint
4438
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4438
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4439
4439
  */
4440
4440
  await this.loadMarkets();
4441
4441
  const request = {
@@ -4461,7 +4461,7 @@ class okx extends okx$1 {
4461
4461
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
4462
4462
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
4463
4463
  * @param {object} [params] extra parameters specific to the okx api endpoint
4464
- * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4464
+ * @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4465
4465
  */
4466
4466
  await this.loadMarkets();
4467
4467
  const request = {
@@ -4525,7 +4525,7 @@ class okx extends okx$1 {
4525
4525
  * @param {string} id withdrawal id
4526
4526
  * @param {string} code unified currency code of the currency withdrawn, default is undefined
4527
4527
  * @param {object} [params] extra parameters specific to the okx api endpoint
4528
- * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
4528
+ * @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
4529
4529
  */
4530
4530
  await this.loadMarkets();
4531
4531
  const request = {
@@ -4703,7 +4703,7 @@ class okx extends okx$1 {
4703
4703
  * @param {string} symbol unified market symbol
4704
4704
  * @param {object} [params] extra parameters specific to the okx api endpoint
4705
4705
  * @param {string} [params.marginMode] 'cross' or 'isolated'
4706
- * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/#/?id=leverage-structure}
4706
+ * @returns {object} a [leverage structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-structure}
4707
4707
  */
4708
4708
  await this.loadMarkets();
4709
4709
  let marginMode = undefined;
@@ -4745,7 +4745,7 @@ class okx extends okx$1 {
4745
4745
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
4746
4746
  * @param {object} [params] extra parameters specific to the okx api endpoint
4747
4747
  * @param {string} [params.instType] MARGIN, SWAP, FUTURES, OPTION
4748
- * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
4748
+ * @returns {object} a [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
4749
4749
  */
4750
4750
  await this.loadMarkets();
4751
4751
  const market = this.market(symbol);
@@ -4821,7 +4821,7 @@ class okx extends okx$1 {
4821
4821
  * @param {string[]|undefined} symbols list of unified market symbols
4822
4822
  * @param {object} [params] extra parameters specific to the okx api endpoint
4823
4823
  * @param {string} [params.instType] MARGIN, SWAP, FUTURES, OPTION
4824
- * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
4824
+ * @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
4825
4825
  */
4826
4826
  await this.loadMarkets();
4827
4827
  const request = {
@@ -5055,7 +5055,7 @@ class okx extends okx$1 {
5055
5055
  * @param {string} fromAccount account to transfer from
5056
5056
  * @param {string} toAccount account to transfer to
5057
5057
  * @param {object} [params] extra parameters specific to the okx api endpoint
5058
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
5058
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
5059
5059
  */
5060
5060
  await this.loadMarkets();
5061
5061
  const currency = this.currency(code);
@@ -5228,7 +5228,7 @@ class okx extends okx$1 {
5228
5228
  * @param {int} [since] the earliest time in ms to fetch transfers for
5229
5229
  * @param {int} [limit] the maximum number of transfers structures to retrieve
5230
5230
  * @param {object} [params] extra parameters specific to the okx api endpoint
5231
- * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
5231
+ * @returns {object[]} a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
5232
5232
  */
5233
5233
  await this.loadMarkets();
5234
5234
  let currency = undefined;
@@ -5392,7 +5392,7 @@ class okx extends okx$1 {
5392
5392
  * @description fetch the current funding rate
5393
5393
  * @param {string} symbol unified market symbol
5394
5394
  * @param {object} [params] extra parameters specific to the okx api endpoint
5395
- * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
5395
+ * @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
5396
5396
  */
5397
5397
  await this.loadMarkets();
5398
5398
  const market = this.market(symbol);
@@ -5432,7 +5432,7 @@ class okx extends okx$1 {
5432
5432
  * @param {int} [since] the earliest time in ms to fetch funding history for
5433
5433
  * @param {int} [limit] the maximum number of funding history structures to retrieve
5434
5434
  * @param {object} [params] extra parameters specific to the okx api endpoint
5435
- * @returns {object} a [funding history structure]{@link https://docs.ccxt.com/#/?id=funding-history-structure}
5435
+ * @returns {object} a [funding history structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
5436
5436
  */
5437
5437
  await this.loadMarkets();
5438
5438
  const request = {
@@ -5731,7 +5731,7 @@ class okx extends okx$1 {
5731
5731
  * @name okx#fetchBorrowRates
5732
5732
  * @description fetch the borrow interest rates of all currencies
5733
5733
  * @param {object} [params] extra parameters specific to the okx api endpoint
5734
- * @returns {object} a list of [borrow rate structures]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure}
5734
+ * @returns {object} a list of [borrow rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#borrow-rate-structure}
5735
5735
  */
5736
5736
  await this.loadMarkets();
5737
5737
  const response = await this.privateGetAccountInterestRate(params);
@@ -5771,7 +5771,7 @@ class okx extends okx$1 {
5771
5771
  * @description fetch the rate of interest to borrow a currency for margin trading
5772
5772
  * @param {string} code unified currency code
5773
5773
  * @param {object} [params] extra parameters specific to the okx api endpoint
5774
- * @returns {object} a [borrow rate structure]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure}
5774
+ * @returns {object} a [borrow rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#borrow-rate-structure}
5775
5775
  */
5776
5776
  await this.loadMarkets();
5777
5777
  const currency = this.currency(code);
@@ -5866,7 +5866,7 @@ class okx extends okx$1 {
5866
5866
  * @param {int} [since] timestamp in ms of the earliest borrowRate, default is undefined
5867
5867
  * @param {int} [limit] max number of borrow rate prices to return, default is undefined
5868
5868
  * @param {object} [params] extra parameters specific to the okx api endpoint
5869
- * @returns {object} a dictionary of [borrow rate structures]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure} indexed by the market symbol
5869
+ * @returns {object} a dictionary of [borrow rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#borrow-rate-structure} indexed by the market symbol
5870
5870
  */
5871
5871
  await this.loadMarkets();
5872
5872
  const request = {
@@ -5906,9 +5906,9 @@ class okx extends okx$1 {
5906
5906
  * @description retrieves a history of a currencies borrow interest rate at specific time slots
5907
5907
  * @param {string} code unified currency code
5908
5908
  * @param {int} [since] timestamp for the earliest borrow rate
5909
- * @param {int} [limit] the maximum number of [borrow rate structures]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure} to retrieve
5909
+ * @param {int} [limit] the maximum number of [borrow rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#borrow-rate-structure} to retrieve
5910
5910
  * @param {object} [params] extra parameters specific to the exchange api endpoint
5911
- * @returns {object[]} an array of [borrow rate structures]{@link https://docs.ccxt.com/#/?id=borrow-rate-structure}
5911
+ * @returns {object[]} an array of [borrow rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#borrow-rate-structure}
5912
5912
  */
5913
5913
  await this.loadMarkets();
5914
5914
  const currency = this.currency(code);
@@ -5998,7 +5998,7 @@ class okx extends okx$1 {
5998
5998
  * @param {string} symbol unified market symbol
5999
5999
  * @param {float} amount the amount of margin to remove
6000
6000
  * @param {object} [params] extra parameters specific to the okx api endpoint
6001
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
6001
+ * @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#reduce-margin-structure}
6002
6002
  */
6003
6003
  return await this.modifyMarginHelper(symbol, amount, 'reduce', params);
6004
6004
  }
@@ -6010,7 +6010,7 @@ class okx extends okx$1 {
6010
6010
  * @param {string} symbol unified market symbol
6011
6011
  * @param {float} amount amount of margin to add
6012
6012
  * @param {object} [params] extra parameters specific to the okx api endpoint
6013
- * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
6013
+ * @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
6014
6014
  */
6015
6015
  return await this.modifyMarginHelper(symbol, amount, 'add', params);
6016
6016
  }
@@ -6023,7 +6023,7 @@ class okx extends okx$1 {
6023
6023
  * @param {string} symbol unified market symbol
6024
6024
  * @param {object} [params] extra parameters specific to the okx api endpoint
6025
6025
  * @param {string} [params.marginMode] 'cross' or 'isolated'
6026
- * @returns {object} a [leverage tiers structure]{@link https://docs.ccxt.com/#/?id=leverage-tiers-structure}
6026
+ * @returns {object} a [leverage tiers structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure}
6027
6027
  */
6028
6028
  await this.loadMarkets();
6029
6029
  const market = this.market(symbol);
@@ -6121,11 +6121,11 @@ class okx extends okx$1 {
6121
6121
  * @param {string} code the unified currency code for the currency of the interest
6122
6122
  * @param {string} symbol the market symbol of an isolated margin market, if undefined, the interest for cross margin markets is returned
6123
6123
  * @param {int} [since] timestamp in ms of the earliest time to receive interest records for
6124
- * @param {int} [limit] the number of [borrow interest structures]{@link https://docs.ccxt.com/#/?id=borrow-interest-structure} to retrieve
6124
+ * @param {int} [limit] the number of [borrow interest structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#borrow-interest-structure} to retrieve
6125
6125
  * @param {object} [params] exchange specific parameters
6126
6126
  * @param {int} [params.type] Loan type 1 - VIP loans 2 - Market loans *Default is Market loans*
6127
6127
  * @param {string} [params.marginMode] 'cross' or 'isolated'
6128
- * @returns {object[]} An list of [borrow interest structures]{@link https://docs.ccxt.com/#/?id=borrow-interest-structure}
6128
+ * @returns {object[]} An list of [borrow interest structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#borrow-interest-structure}
6129
6129
  */
6130
6130
  await this.loadMarkets();
6131
6131
  let marginMode = undefined;
@@ -6203,7 +6203,7 @@ class okx extends okx$1 {
6203
6203
  * @param {float} amount the amount to borrow
6204
6204
  * @param {string} symbol not used by okx.borrowMargin ()
6205
6205
  * @param {object} [params] extra parameters specific to the okx api endpoint
6206
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
6206
+ * @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
6207
6207
  */
6208
6208
  await this.loadMarkets();
6209
6209
  const currency = this.currency(code);
@@ -6247,7 +6247,7 @@ class okx extends okx$1 {
6247
6247
  * @param {float} amount the amount to repay
6248
6248
  * @param {string} symbol not used by okx.repayMargin ()
6249
6249
  * @param {object} [params] extra parameters specific to the okx api endpoint
6250
- * @returns {object} a [margin loan structure]{@link https://docs.ccxt.com/#/?id=margin-loan-structure}
6250
+ * @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
6251
6251
  */
6252
6252
  await this.loadMarkets();
6253
6253
  const currency = this.currency(code);
@@ -6312,7 +6312,7 @@ class okx extends okx$1 {
6312
6312
  * @see https://www.okx.com/docs-v5/en/#rest-api-public-data-get-open-interest
6313
6313
  * @param {string} symbol Unified CCXT market symbol
6314
6314
  * @param {object} [params] exchange specific parameters
6315
- * @returns {object} an open interest structure{@link https://docs.ccxt.com/#/?id=interest-history-structure}
6315
+ * @returns {object} an open interest structure{@link https://github.com/ccxt/ccxt/wiki/Manual#interest-history-structure}
6316
6316
  */
6317
6317
  await this.loadMarkets();
6318
6318
  const market = this.market(symbol);
@@ -6358,7 +6358,7 @@ class okx extends okx$1 {
6358
6358
  * @param {int} [limit] Not used by okx, but parsed internally by CCXT
6359
6359
  * @param {object} [params] Exchange specific parameters
6360
6360
  * @param {int} [params.until] The time in ms of the latest record to retrieve as a unix timestamp
6361
- * @returns An array of [open interest structures]{@link https://docs.ccxt.com/#/?id=interest-history-structure}
6361
+ * @returns An array of [open interest structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#interest-history-structure}
6362
6362
  */
6363
6363
  const options = this.safeValue(this.options, 'fetchOpenInterestHistory', {});
6364
6364
  const timeframes = this.safeValue(options, 'timeframes', {});
@@ -6489,7 +6489,7 @@ class okx extends okx$1 {
6489
6489
  * @see https://www.okx.com/docs-v5/en/#rest-api-funding-get-currencies
6490
6490
  * @param {string[]|undefined} codes list of unified currency codes
6491
6491
  * @param {object} [params] extra parameters specific to the okx api endpoint
6492
- * @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
6492
+ * @returns {object[]} a list of [fees structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
6493
6493
  */
6494
6494
  await this.loadMarkets();
6495
6495
  const response = await this.privateGetAssetCurrencies(params);
@@ -152,7 +152,7 @@ class paymium extends paymium$1 {
152
152
  * @param {string} symbol unified symbol of the market to fetch the order book for
153
153
  * @param {int} [limit] the maximum amount of order book entries to return
154
154
  * @param {object} [params] extra parameters specific to the paymium api endpoint
155
- * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
155
+ * @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
156
156
  */
157
157
  await this.loadMarkets();
158
158
  const market = this.market(symbol);
@@ -218,7 +218,7 @@ class paymium extends paymium$1 {
218
218
  * @see https://paymium.github.io/api-documentation/#tag/Public-data/paths/~1data~1%7Bcurrency%7D~1ticker/get
219
219
  * @param {string} symbol unified symbol of the market to fetch the ticker for
220
220
  * @param {object} [params] extra parameters specific to the paymium api endpoint
221
- * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
221
+ * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
222
222
  */
223
223
  await this.loadMarkets();
224
224
  const market = this.market(symbol);
@@ -298,7 +298,7 @@ class paymium extends paymium$1 {
298
298
  * @see https://paymium.github.io/api-documentation/#tag/User/paths/~1user~1addresses/post
299
299
  * @param {string} code unified currency code of the currency for the deposit address
300
300
  * @param {object} [params] extra parameters specific to the paymium api endpoint
301
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
301
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
302
302
  */
303
303
  await this.loadMarkets();
304
304
  const response = await this.privatePostUserAddresses(params);
@@ -320,7 +320,7 @@ class paymium extends paymium$1 {
320
320
  * @see https://paymium.github.io/api-documentation/#tag/User/paths/~1user~1addresses~1%7Baddress%7D/get
321
321
  * @param {string} code unified currency code
322
322
  * @param {object} [params] extra parameters specific to the paymium api endpoint
323
- * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
323
+ * @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
324
324
  */
325
325
  await this.loadMarkets();
326
326
  const request = {
@@ -345,7 +345,7 @@ class paymium extends paymium$1 {
345
345
  * @see https://paymium.github.io/api-documentation/#tag/User/paths/~1user~1addresses/get
346
346
  * @param {string[]|undefined} codes list of unified currency codes, default is undefined
347
347
  * @param {object} [params] extra parameters specific to the paymium api endpoint
348
- * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
348
+ * @returns {object} a list of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
349
349
  */
350
350
  await this.loadMarkets();
351
351
  const response = await this.privateGetUserAddresses(params);
@@ -390,9 +390,9 @@ class paymium extends paymium$1 {
390
390
  * @param {string} type 'market' or 'limit'
391
391
  * @param {string} side 'buy' or 'sell'
392
392
  * @param {float} amount how much of currency you want to trade in units of base currency
393
- * @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
393
+ * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
394
394
  * @param {object} [params] extra parameters specific to the paymium api endpoint
395
- * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
395
+ * @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
396
396
  */
397
397
  await this.loadMarkets();
398
398
  const market = this.market(symbol);
@@ -421,7 +421,7 @@ class paymium extends paymium$1 {
421
421
  * @param {string} id order id
422
422
  * @param {string} symbol not used by paymium cancelOrder ()
423
423
  * @param {object} [params] extra parameters specific to the paymium api endpoint
424
- * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
424
+ * @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
425
425
  */
426
426
  const request = {
427
427
  'uuid': id,
@@ -439,7 +439,7 @@ class paymium extends paymium$1 {
439
439
  * @param {string} fromAccount account to transfer from
440
440
  * @param {string} toAccount account to transfer to
441
441
  * @param {object} [params] extra parameters specific to the paymium api endpoint
442
- * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
442
+ * @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
443
443
  */
444
444
  await this.loadMarkets();
445
445
  const currency = this.currency(code);