Skip to content

Commit

Permalink
removed obsolete metainfo interface for ALL the rest of the exchanges…
Browse files Browse the repository at this point in the history
… (replaced it with new metainfo interface)...
  • Loading branch information
xpl committed Jan 17, 2018
1 parent b2ab52d commit e7f6682
Show file tree
Hide file tree
Showing 91 changed files with 297 additions and 300 deletions.
10 changes: 6 additions & 4 deletions js/_1broker.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ module.exports = class _1broker extends Exchange {
'countries': 'US',
'rateLimit': 1500,
'version': 'v2',
'hasPublicAPI': false,
'hasCORS': true,
'hasFetchTrades': false,
'hasFetchOHLCV': true,
'has': {
'publicAPI': false,
'CORS': true,
'fetchTrades': false,
'fetchOHLCV': true,
},
'timeframes': {
'1m': '60',
'15m': '900',
Expand Down
8 changes: 5 additions & 3 deletions js/_1btcxe.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ module.exports = class _1btcxe extends Exchange {
'name': '1BTCXE',
'countries': 'PA', // Panama
'comment': 'Crypto Capital API',
'hasCORS': true,
'hasFetchOHLCV': true,
'hasWithdraw': true,
'has': {
'CORS': true,
'fetchTickers': true,
'withdraw': true,
},
'timeframes': {
'1d': '1year',
},
Expand Down
10 changes: 6 additions & 4 deletions js/acx.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ module.exports = class acx extends Exchange {
'countries': 'AU',
'rateLimit': 1000,
'version': 'v2',
'hasCORS': true,
'hasFetchTickers': true,
'hasFetchOHLCV': true,
'hasWithdraw': true,
'has': {
'CORS': true,
'fetchTickers': true,
'fetchOHLCV': true,
'withdraw': true,
},
'timeframes': {
'1m': '1',
'5m': '5',
Expand Down
4 changes: 3 additions & 1 deletion js/allcoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ module.exports = class allcoin extends okcoinusd {
'id': 'allcoin',
'name': 'Allcoin',
'countries': 'CA',
'hasCORS': false,
'has': {
'CORS': false,
},
'extension': '',
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/31561809-c316b37c-b061-11e7-8d5a-b547b4d730eb.jpg',
Expand Down
8 changes: 5 additions & 3 deletions js/anxpro.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ module.exports = class anxpro extends Exchange {
'countries': [ 'JP', 'SG', 'HK', 'NZ' ],
'version': '2',
'rateLimit': 1500,
'hasCORS': false,
'hasFetchTrades': false,
'hasWithdraw': true,
'has': {
'CORS': false,
'fetchTrades': false,
'withdraw': true,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27765983-fd8595da-5ec9-11e7-82e3-adb3ab8c2612.jpg',
'api': 'https://anxpro.com/api',
Expand Down
4 changes: 3 additions & 1 deletion js/bit2c.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ module.exports = class bit2c extends Exchange {
'name': 'Bit2C',
'countries': 'IL', // Israel
'rateLimit': 3000,
'hasCORS': false,
'has': {
'CORS': false,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27766119-3593220e-5ece-11e7-8b3a-5a041f6bcc3f.jpg',
'api': 'https://www.bit2c.co.il',
Expand Down
6 changes: 4 additions & 2 deletions js/bitbay.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ module.exports = class bitbay extends Exchange {
'name': 'BitBay',
'countries': [ 'PL', 'EU' ], // Poland
'rateLimit': 1000,
'hasCORS': true,
'hasWithdraw': true,
'has': {
'CORS': true,
'withdraw': true
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27766132-978a7bd8-5ece-11e7-9540-bc96d1e9bbb8.jpg',
'www': 'https://bitbay.net',
Expand Down
3 changes: 1 addition & 2 deletions js/bitcoincoid.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ module.exports = class bitcoincoid extends Exchange {
'id': 'bitcoincoid',
'name': 'Bitcoin.co.id',
'countries': 'ID', // Indonesia
'hasCORS': false,
// new metainfo interface
'has': {
'CORS': false,
'fetchTickers': false,
'fetchOHLCV': false,
'fetchOrder': true,
Expand Down
11 changes: 1 addition & 10 deletions js/bitfinex2.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,9 @@ module.exports = class bitfinex2 extends bitfinex {
'name': 'Bitfinex v2',
'countries': 'VG',
'version': 'v2',
'hasCORS': true,
// old metainfo interface
'hasCreateOrder': false,
'hasFetchOrder': true,
'hasFetchTickers': true,
'hasFetchOHLCV': true,
'hasWithdraw': true,
'hasDeposit': false,
'hasFetchOpenOrders': false,
'hasFetchClosedOrders': false,
// new metainfo interface
'has': {
'CORS': true,
'createOrder': false,
'fetchOHLCV': true,
'fetchTickers': true,
Expand Down
6 changes: 4 additions & 2 deletions js/bitflyer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ module.exports = class bitflyer extends Exchange {
'countries': 'JP',
'version': 'v1',
'rateLimit': 500,
'hasCORS': false,
'hasWithdraw': true,
'has': {
'CORS': false,
'withdraw': true
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/28051642-56154182-660e-11e7-9b0d-6042d1e6edd8.jpg',
'api': 'https://api.bitflyer.jp',
Expand Down
6 changes: 1 addition & 5 deletions js/bithumb.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,8 @@ module.exports = class bithumb extends Exchange {
'name': 'Bithumb',
'countries': 'KR', // South Korea
'rateLimit': 500,
'hasCORS': true,
// obsolete metainfo interface
'hasFetchTickers': true,
'hasWithdraw': true,
// new metainfo interface
'has': {
'CORS': true,
'fetchTickers': true,
'withdraw': true,
},
Expand Down
10 changes: 6 additions & 4 deletions js/bitlish.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ module.exports = class bitlish extends Exchange {
'countries': [ 'GB', 'EU', 'RU' ],
'rateLimit': 1500,
'version': 'v1',
'hasCORS': false,
'hasFetchTickers': true,
'hasFetchOHLCV': true,
'hasWithdraw': true,
'has': {
'CORS': false,
'fetchTickers': true,
'fetchOHLCV': true,
'withdraw': true,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27766275-dcfc6c30-5ed3-11e7-839d-00a846385d0b.jpg',
'api': 'https://bitlish.com/api',
Expand Down
8 changes: 5 additions & 3 deletions js/bitmarket.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ module.exports = class bitmarket extends Exchange {
'name': 'BitMarket',
'countries': [ 'PL', 'EU' ],
'rateLimit': 1500,
'hasCORS': false,
'hasFetchOHLCV': true,
'hasWithdraw': true,
'has': {
'CORS': false,
'fetchOHLCV': true,
'withdraw': true,
},
'timeframes': {
'90m': '90m',
'6h': '6h',
Expand Down
8 changes: 5 additions & 3 deletions js/bitmex.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ module.exports = class bitmex extends Exchange {
'version': 'v1',
'userAgent': undefined,
'rateLimit': 1500,
'hasCORS': false,
'hasFetchOHLCV': true,
'hasWithdraw': true,
'has': {
'CORS': false,
'fetchOHLCV': true,
'withdraw': true,
},
'timeframes': {
'1m': '1m',
'5m': '5m',
Expand Down
4 changes: 3 additions & 1 deletion js/bitso.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ module.exports = class bitso extends Exchange {
'countries': 'MX', // Mexico
'rateLimit': 2000, // 30 requests per minute
'version': 'v3',
'hasCORS': true,
'has': {
'CORS': true,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27766335-715ce7aa-5ed5-11e7-88a8-173a27bb30fe.jpg',
'api': 'https://api.bitso.com',
Expand Down
6 changes: 1 addition & 5 deletions js/bitstamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@ module.exports = class bitstamp extends Exchange {
'countries': 'GB',
'rateLimit': 1000,
'version': 'v2',
'hasCORS': false,
// obsolete metainfo interface
'hasFetchOrder': true,
'hasWithdraw': true,
// new metainfo interface
'has': {
'CORS': true,
'fetchOrder': true,
'withdraw': true,
},
Expand Down
4 changes: 3 additions & 1 deletion js/bitstamp1.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ module.exports = class bitstamp1 extends Exchange {
'countries': 'GB',
'rateLimit': 1000,
'version': 'v1',
'hasCORS': true,
'has': {
'CORS': true,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27786377-8c8ab57e-5fe9-11e7-8ea4-2b05b6bcceec.jpg',
'api': 'https://www.bitstamp.net/api',
Expand Down
12 changes: 1 addition & 11 deletions js/bittrex.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,9 @@ module.exports = class bittrex extends Exchange {
'version': 'v1.1',
'rateLimit': 1500,
'hasAlreadyAuthenticatedSuccessfully': false, // a workaround for APIKEY_INVALID
'hasCORS': false,
// obsolete metainfo interface
'hasFetchTickers': true,
'hasFetchOHLCV': true,
'hasFetchOrder': true,
'hasFetchOrders': true,
'hasFetchClosedOrders': true,
'hasFetchOpenOrders': true,
'hasFetchMyTrades': false,
'hasFetchCurrencies': true,
'hasWithdraw': true,
// new metainfo interface
'has': {
'CORS': true,
'fetchTickers': true,
'fetchOHLCV': true,
'fetchOrder': true,
Expand Down
4 changes: 3 additions & 1 deletion js/bl3p.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ module.exports = class bl3p extends Exchange {
'rateLimit': 1000,
'version': '1',
'comment': 'An exchange market by BitonicNL',
'hasCORS': false,
'has': {
'CORS': false,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/28501752-60c21b82-6feb-11e7-818b-055ee6d0e754.jpg',
'api': 'https://api.bl3p.eu',
Expand Down
8 changes: 5 additions & 3 deletions js/bleutrade.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ module.exports = class bleutrade extends bittrex {
'countries': 'BR', // Brazil
'rateLimit': 1000,
'version': 'v2',
'hasCORS': true,
'hasFetchTickers': true,
'hasFetchOHLCV': false,
'has': {
'CORS': true,
'fetchTickers': true,
'fetchOHLCV': false,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/30303000-b602dbe6-976d-11e7-956d-36c5049c01e7.jpg',
'api': {
Expand Down
5 changes: 0 additions & 5 deletions js/braziliex.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ module.exports = class braziliex extends Exchange {
'name': 'Braziliex',
'countries': 'BR',
'rateLimit': 1000,
// obsolete metainfo interface
'hasFetchTickers': true,
'hasFetchOpenOrders': true,
'hasFetchMyTrades': true,
// new metainfo interface
'has': {
'fetchTickers': true,
'fetchOpenOrders': true,
Expand Down
6 changes: 4 additions & 2 deletions js/btcbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ module.exports = class btcbox extends Exchange {
'countries': 'JP',
'rateLimit': 1000,
'version': 'v1',
'hasCORS': false,
'hasFetchOHLCV': false,
'has': {
'CORS': false,
'fetchOHLCV': false,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/31275803-4df755a8-aaa1-11e7-9abb-11ec2fad9f2d.jpg',
'api': 'https://www.btcbox.co.jp/api',
Expand Down
4 changes: 3 additions & 1 deletion js/btcchina.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ module.exports = class btcchina extends Exchange {
'countries': 'CN',
'rateLimit': 1500,
'version': 'v1',
'hasCORS': true,
'has': {
'CORS': true,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27766368-465b3286-5ed6-11e7-9a11-0f6467e1d82b.jpg',
'api': {
Expand Down
4 changes: 3 additions & 1 deletion js/btcexchange.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ module.exports = class btcexchange extends btcturk {
'name': 'BTCExchange',
'countries': 'PH', // Philippines
'rateLimit': 1500,
'hasCORS': false,
'has': {
'CORS': false,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27993052-4c92911a-64aa-11e7-96d8-ec6ac3435757.jpg',
'api': 'https://www.btcexchange.ph/api',
Expand Down
7 changes: 1 addition & 6 deletions js/btcmarkets.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,8 @@ module.exports = class btcmarkets extends Exchange {
'name': 'BTC Markets',
'countries': 'AU', // Australia
'rateLimit': 1000, // market data cached for 1 second (trades cached for 2 seconds)
'hasCORS': false,
'hasFetchOrder': true,
'hasFetchOrders': true,
'hasFetchClosedOrders': true,
'hasFetchOpenOrders': true,
'hasFetchMyTrades': true,
'has': {
'CORS': false,
'fetchOrder': true,
'fetchOrders': true,
'fetchClosedOrders': 'emulated',
Expand Down
4 changes: 3 additions & 1 deletion js/btctradeua.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ module.exports = class btctradeua extends Exchange {
'name': 'BTC Trade UA',
'countries': 'UA', // Ukraine,
'rateLimit': 3000,
'hasCORS': true,
'has': {
'CORS': true,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27941483-79fc7350-62d9-11e7-9f61-ac47f28fcd96.jpg',
'api': 'https://btc-trade.com.ua/api',
Expand Down
8 changes: 5 additions & 3 deletions js/btcturk.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ module.exports = class btcturk extends Exchange {
'name': 'BTCTurk',
'countries': 'TR', // Turkey
'rateLimit': 1000,
'hasCORS': true,
'hasFetchTickers': true,
'hasFetchOHLCV': true,
'has': {
'CORS': true,
'fetchTickers': true,
'fetchOHLCV': true,
},
'timeframes': {
'1d': '1d',
},
Expand Down
4 changes: 3 additions & 1 deletion js/btcx.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ module.exports = class btcx extends Exchange {
'countries': [ 'IS', 'US', 'EU' ],
'rateLimit': 1500, // support in english is very poor, unable to tell rate limits
'version': 'v1',
'hasCORS': false,
'has': {
'CORS': false,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27766385-9fdcc98c-5ed6-11e7-8f14-66d5e5cd47e6.jpg',
'api': 'https://btc-x.is/api',
Expand Down
5 changes: 0 additions & 5 deletions js/bter.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ module.exports = class bter extends Exchange {
'name': 'Bter',
'countries': [ 'VG', 'CN' ], // British Virgin Islands, China
'version': '2',
// obsolete metainfo interface
'hasCORS': false,
'hasFetchTickers': true,
'hasWithdraw': true,
// new metainfo interface
'has': {
'CORS': false,
'fetchTickers': true,
Expand Down
Loading

0 comments on commit e7f6682

Please sign in to comment.