Skip to content

Commit

Permalink
gateio rate limits fix ccxt#10111
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Oct 3, 2021
1 parent 2f6312a commit d383085
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions js/gateio.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = class gateio extends Exchange {
'id': 'gateio',
'name': 'Gate.io',
'countries': [ 'KR' ],
'rateLimit': 10 / 3, // 300 requests per seconds or 3.33ms
'rateLimit': 10 / 3, // 300 requests per second or 3.33ms
'version': '4',
'certified': true,
'pro': true,
Expand Down Expand Up @@ -55,47 +55,47 @@ module.exports = class gateio extends Exchange {
'public': {
'spot': {
'get': {
'currencies': 100,
'currencies/{currency}': 100,
'currency_pairs': 100,
'currency_pairs/{currency_pair}': 100,
'tickers': 100,
'order_book': 100,
'trades': 100,
'candlesticks': 100,
'currencies': 1,
'currencies/{currency}': 1,
'currency_pairs': 1,
'currency_pairs/{currency_pair}': 1,
'tickers': 1,
'order_book': 1,
'trades': 1,
'candlesticks': 1,
},
},
'margin': {
'get': {
'currency_pairs': 100,
'currency_pairs/{currency_pair}': 100,
'cross/currencies': 100,
'cross/currencies/{currency}': 100,
'currency_pairs': 1,
'currency_pairs/{currency_pair}': 1,
'cross/currencies': 1,
'cross/currencies/{currency}': 1,
},
},
'futures': {
'get': {
'{settle}/contracts': 100,
'{settle}/contracts/{contract}': 100,
'{settle}/order_book': 100,
'{settle}/trades': 100,
'{settle}/candlesticks': 100,
'{settle}/tickers': 100,
'{settle}/funding_rate': 100,
'{settle}/insurance': 100,
'{settle}/contract_stats': 100,
'{settle}/liq_orders': 100,
'{settle}/contracts': 1.5,
'{settle}/contracts/{contract}': 1.5,
'{settle}/order_book': 1.5,
'{settle}/trades': 1.5,
'{settle}/candlesticks': 1.5,
'{settle}/tickers': 1.5,
'{settle}/funding_rate': 1.5,
'{settle}/insurance': 1.5,
'{settle}/contract_stats': 1.5,
'{settle}/liq_orders': 1.5,
},
},
'delivery': {
'get': {
'{settle}/contracts': 100,
'{settle}/contracts/{contract}': 100,
'{settle}/order_book': 100,
'{settle}/trades': 100,
'{settle}/candlesticks': 100,
'{settle}/tickers': 100,
'{settle}/insurance': 100,
'{settle}/contracts': 1.5,
'{settle}/contracts/{contract}': 1.5,
'{settle}/order_book': 1.5,
'{settle}/trades': 1.5,
'{settle}/candlesticks': 1.5,
'{settle}/tickers': 1.5,
'{settle}/insurance': 1.5,
},
},
},
Expand Down

0 comments on commit d383085

Please sign in to comment.