@@ -633,7 +633,7 @@ export default class bingx extends Exchange {
633
633
* @see https://bingx-api.github.io/docs/#/spot/market-api.html#Query%20Symbols
634
634
* @see https://bingx-api.github.io/docs/#/swapV2/market-api.html#Contract%20Information
635
635
* @param {object } [params] extra parameters specific to the exchange api endpoint
636
- * @returns {[ object] } an array of objects representing market data
636
+ * @returns {object[ ] } an array of objects representing market data
637
637
*/
638
638
const requests = [ this . fetchSpotMarkets ( params ) , this . fetchSwapMarkets ( params ) ] ;
639
639
const promises = await Promise . all ( requests ) ;
@@ -657,7 +657,7 @@ export default class bingx extends Exchange {
657
657
* @param {object } [params] extra parameters specific to the bingx api endpoint
658
658
* @param {int } [params.until] timestamp in ms of the latest candle to fetch
659
659
* @param {boolean } [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
660
- * @returns {[[ int] ] } A list of candles ordered as timestamp, open, high, low, close, volume
660
+ * @returns {int[][ ] } A list of candles ordered as timestamp, open, high, low, close, volume
661
661
*/
662
662
await this . loadMarkets ( ) ;
663
663
let paginate = false ;
@@ -764,7 +764,7 @@ export default class bingx extends Exchange {
764
764
* @param {int } [since] timestamp in ms of the earliest trade to fetch
765
765
* @param {int } [limit] the maximum amount of trades to fetch
766
766
* @param {object } [params] extra parameters specific to the bingx api endpoint
767
- * @returns {[ object] } a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
767
+ * @returns {object[ ] } a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#public-trades}
768
768
*/
769
769
await this . loadMarkets ( ) ;
770
770
const market = this . market ( symbol ) ;
@@ -1097,7 +1097,7 @@ export default class bingx extends Exchange {
1097
1097
* @param {object } [params] extra parameters specific to the bingx api endpoint
1098
1098
* @param {int } [params.until] timestamp in ms of the latest funding rate to fetch
1099
1099
* @param {boolean } [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
1100
- * @returns {[ object] } a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
1100
+ * @returns {object[ ] } a list of [funding rate structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure}
1101
1101
*/
1102
1102
this . checkRequiredSymbol ( 'fetchFundingRateHistory' , symbol ) ;
1103
1103
await this . loadMarkets ( ) ;
@@ -1263,7 +1263,7 @@ export default class bingx extends Exchange {
1263
1263
* @name bingx#fetchTickers
1264
1264
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1265
1265
* @see https://bingx-api.github.io/docs/#/swapV2/market-api.html#Get%20Ticker
1266
- * @param {[ string]|undefined } symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1266
+ * @param {string[ ]|undefined } symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1267
1267
* @param {object } [params] extra parameters specific to the bingx api endpoint
1268
1268
* @returns {object } a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
1269
1269
*/
@@ -1500,10 +1500,10 @@ export default class bingx extends Exchange {
1500
1500
* @description fetch all open positions
1501
1501
* @see https://bingx-api.github.io/docs/#/swapV2/account-api.html#Perpetual%20Swap%20Positions
1502
1502
* @see https://bingx-api.github.io/docs/#/standard/contract-interface.html#Query%20standard%20contract%20balance
1503
- * @param {[ string]|undefined } symbols list of unified market symbols
1503
+ * @param {string[ ]|undefined } symbols list of unified market symbols
1504
1504
* @param {object } [params] extra parameters specific to the bingx api endpoint
1505
1505
* @param {boolean } [params.standard] whether to fetch standard contract positions
1506
- * @returns {[ object] } a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
1506
+ * @returns {object[ ] } a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
1507
1507
*/
1508
1508
await this . loadMarkets ( ) ;
1509
1509
symbols = this . marketSymbols ( symbols ) ;
@@ -2020,7 +2020,7 @@ export default class bingx extends Exchange {
2020
2020
* @see https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20All%20Orders
2021
2021
* @param {string } [symbol] unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
2022
2022
* @param {object } [params] extra parameters specific to the bingx api endpoint
2023
- * @returns {[ object] } a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2023
+ * @returns {object[ ] } a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2024
2024
*/
2025
2025
this . checkRequiredSymbol ( 'cancelAllOrders' , symbol ) ;
2026
2026
await this . loadMarkets ( ) ;
@@ -2071,7 +2071,7 @@ export default class bingx extends Exchange {
2071
2071
* @description cancel multiple orders
2072
2072
* @see https://bingx-api.github.io/docs/#/swapV2/trade-api.html#Cancel%20a%20Batch%20of%20Orders
2073
2073
* @see https://bingx-api.github.io/docs/#/spot/trade-api.html#Cancel%20a%20Batch%20of%20Orders
2074
- * @param {[ string] } ids order ids
2074
+ * @param {string[ ] } ids order ids
2075
2075
* @param {string } symbol unified market symbol, default is undefined
2076
2076
* @param {object } [params] extra parameters specific to the bingx api endpoint
2077
2077
* @returns {object } an list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
@@ -2220,7 +2220,7 @@ export default class bingx extends Exchange {
2220
2220
* @param {int } [since] the earliest time in ms to fetch open orders for
2221
2221
* @param {int } [limit] the maximum number of open order structures to retrieve
2222
2222
* @param {object } [params] extra parameters specific to the bingx api endpoint
2223
- * @returns {[ object] } a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2223
+ * @returns {object[ ] } a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2224
2224
*/
2225
2225
this . checkRequiredSymbol ( 'fetchOrders' , symbol ) ;
2226
2226
await this . loadMarkets ( ) ;
@@ -2309,7 +2309,7 @@ export default class bingx extends Exchange {
2309
2309
* @param {object } [params] extra parameters specific to the bingx api endpoint
2310
2310
* @param {int } [params.until] the latest time in ms to fetch orders for
2311
2311
* @param {boolean } [params.standard] whether to fetch standard contract orders
2312
- * @returns {[ object] } a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2312
+ * @returns {object[ ] } a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
2313
2313
*/
2314
2314
this . checkRequiredSymbol ( 'fetchClosedOrders' , symbol ) ;
2315
2315
await this . loadMarkets ( ) ;
@@ -2440,7 +2440,7 @@ export default class bingx extends Exchange {
2440
2440
* @param {int } [since] the earliest time in ms to fetch transfers for
2441
2441
* @param {int } [limit] the maximum number of transfers structures to retrieve
2442
2442
* @param {object } [params] extra parameters specific to the bingx api endpoint
2443
- * @returns {[ object] } a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
2443
+ * @returns {object[ ] } a list of [transfer structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
2444
2444
*/
2445
2445
await this . loadMarkets ( ) ;
2446
2446
let currency = undefined ;
@@ -2589,7 +2589,7 @@ export default class bingx extends Exchange {
2589
2589
* @param {int } [since] the earliest time in ms to fetch deposits for
2590
2590
* @param {int } [limit] the maximum number of deposits structures to retrieve
2591
2591
* @param {object } [params] extra parameters specific to the bingx api endpoint
2592
- * @returns {[ object] } a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2592
+ * @returns {object[ ] } a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2593
2593
*/
2594
2594
await this . loadMarkets ( ) ;
2595
2595
const request = {
@@ -2636,7 +2636,7 @@ export default class bingx extends Exchange {
2636
2636
* @param {int } [since] the earliest time in ms to fetch withdrawals for
2637
2637
* @param {int } [limit] the maximum number of withdrawals structures to retrieve
2638
2638
* @param {object } [params] extra parameters specific to the bingx api endpoint
2639
- * @returns {[ object] } a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2639
+ * @returns {object[ ] } a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
2640
2640
*/
2641
2641
await this . loadMarkets ( ) ;
2642
2642
const request = {
@@ -2917,7 +2917,7 @@ export default class bingx extends Exchange {
2917
2917
* @param {int } [limit] the maximum number of trades structures to retrieve
2918
2918
* @param {object } [params] extra parameters specific to the bingx api endpoint
2919
2919
* @param {string } params.trandingUnit COIN (directly represent assets such as BTC and ETH) or CONT (represents the number of contract sheets)
2920
- * @returns {[ object] } a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
2920
+ * @returns {object[ ] } a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
2921
2921
*/
2922
2922
this . checkRequiredArgument ( 'fetchMyTrades' , symbol , 'symbol' ) ;
2923
2923
this . checkRequiredArgument ( 'fetchMyTrades' , since , 'since' ) ;
@@ -3029,7 +3029,7 @@ export default class bingx extends Exchange {
3029
3029
* @name bingx#fetchDepositWithdrawFees
3030
3030
* @description fetch deposit and withdraw fees
3031
3031
* @see https://bingx-api.github.io/docs/#/common/account-api.html#All%20Coins'%20Information
3032
- * @param {[ string]|undefined } codes list of unified currency codes
3032
+ * @param {string[ ]|undefined } codes list of unified currency codes
3033
3033
* @param {object } [params] extra parameters specific to the bingx api endpoint
3034
3034
* @returns {object } a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
3035
3035
*/
0 commit comments