Skip to content

Commit

Permalink
Mexc 'has' for excluded futures methods
Browse files Browse the repository at this point in the history
Updated has in Mexc to set required futures methods to false that don't have an api endpoint.
  • Loading branch information
Dan-krm committed Jan 27, 2022
1 parent 086c4af commit 1474daf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions js/mexc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ module.exports = class mexc extends Exchange {
'cancelOrder': true,
'createMarketOrder': false,
'createOrder': true,
'createReduceOnlyOrder': false,
'fetchBalance': true,
'fetchCanceledOrders': true,
'fetchClosedOrders': true,
Expand All @@ -39,6 +40,11 @@ module.exports = class mexc extends Exchange {
'fetchDeposits': true,
'fetchFundingRate': true,
'fetchFundingRateHistory': true,
'fetchFundingRates': false,
'fetchIndexOHLCV': false,
'fetchIsolatedPositions': false,
'fetchLeverage': false,
'fetchMarkOHLCV': false,
'fetchMarkets': true,
'fetchMyTrades': true,
'fetchOHLCV': true,
Expand All @@ -48,6 +54,8 @@ module.exports = class mexc extends Exchange {
'fetchOrderTrades': true,
'fetchPosition': true,
'fetchPositions': true,
'fetchPositionsRisk': false,
'fetchPremiumIndexOHLCV': false,
'fetchStatus': true,
'fetchTicker': true,
'fetchTickers': true,
Expand All @@ -56,6 +64,7 @@ module.exports = class mexc extends Exchange {
'fetchWithdrawals': true,
'reduceMargin': true,
'setLeverage': true,
'setMarginMode': false,
'withdraw': true,
},
'timeframes': {
Expand Down

0 comments on commit 1474daf

Please sign in to comment.