Skip to content

Commit

Permalink
exchanges: remove Coinbene exchange support (thrasher-corp#849)
Browse files Browse the repository at this point in the history
* exchanges: remove Coinbene exchange support

* RM Coinbene from apichecker backup
  • Loading branch information
thrasher- authored Nov 29, 2021
1 parent 0c5a666 commit 02afa1e
Show file tree
Hide file tree
Showing 25 changed files with 1 addition and 4,929 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Join our slack to discuss all things related to GoCryptoTrader! [GoCryptoTrader
| BTCMarkets | Yes | Yes | NA |
| BTSE | Yes | Yes | NA |
| CoinbasePro | Yes | Yes | No|
| Coinbene | Yes | Yes | No |
| COINUT | Yes | Yes | NA |
| Exmo | Yes | NA | NA |
| FTX | Yes | Yes | No |
Expand Down
22 changes: 0 additions & 22 deletions cmd/apichecker/backup.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,28 +78,6 @@
},
"Disabled": false
},
{
"Name": "CoinbeneSpot",
"CheckType": "GitHub Sha Check",
"Data": {
"GitHubData": {
"Repo": "Coinbene/API-SPOT-v2-Documents",
"Sha": "e9135a782ba6016bcf008778be368882ad7c784d"
}
},
"Disabled": false
},
{
"Name": "CoinbeneSwap",
"CheckType": "GitHub Sha Check",
"Data": {
"GitHubData": {
"Repo": "Coinbene/API-SWAP-Documents",
"Sha": "6b7871dae4d2af028a33dde956fbce101e2f9acd"
}
},
"Disabled": false
},
{
"Name": "Coinut",
"CheckType": "GitHub Sha Check",
Expand Down
22 changes: 0 additions & 22 deletions cmd/apichecker/testupdates.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,28 +83,6 @@
},
"Disabled": false
},
{
"Name": "CoinbeneSpot",
"CheckType": "GitHub Sha Check",
"Data": {
"GitHubData": {
"Repo": "Coinbene/API-SPOT-v2-Documents",
"Sha": "e9135a782ba6016bcf008778be368882ad7c784d"
}
},
"Disabled": false
},
{
"Name": "CoinbeneSwap",
"CheckType": "GitHub Sha Check",
"Data": {
"GitHubData": {
"Repo": "Coinbene/API-SWAP-Documents",
"Sha": "6b7871dae4d2af028a33dde956fbce101e2f9acd"
}
},
"Disabled": false
},
{
"Name": "Coinut",
"CheckType": "GitHub Sha Check",
Expand Down
22 changes: 0 additions & 22 deletions cmd/apichecker/updates.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,28 +83,6 @@
},
"Disabled": false
},
{
"Name": "CoinbeneSpot",
"CheckType": "GitHub Sha Check",
"Data": {
"GitHubData": {
"Repo": "Coinbene/API-SPOT-v2-Documents",
"Sha": "e9135a782ba6016bcf008778be368882ad7c784d"
}
},
"Disabled": false
},
{
"Name": "CoinbeneSwap",
"CheckType": "GitHub Sha Check",
"Data": {
"GitHubData": {
"Repo": "Coinbene/API-SWAP-Documents",
"Sha": "6b7871dae4d2af028a33dde956fbce101e2f9acd"
}
},
"Disabled": false
},
{
"Name": "Coinut",
"CheckType": "GitHub Sha Check",
Expand Down
106 changes: 0 additions & 106 deletions cmd/documentation/exchanges_templates/coinbene.tmpl

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ _b in this context is an `IBotExchange` implemented struct_
| Bittrex | Yes | Yes | No |
| BTCMarkets | Yes | Yes | No |
| BTSE | Yes | Yes | No |
| Coinbene | Yes | Yes | No |
| CoinbasePro | Yes | Yes | No|
| COINUT | Yes | Yes | No |
| Exmo | Yes | NA | No |
Expand Down
1 change: 0 additions & 1 deletion cmd/documentation/root_templates/root_readme.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ Join our slack to discuss all things related to GoCryptoTrader! [GoCryptoTrader
| BTCMarkets | Yes | Yes | NA |
| BTSE | Yes | Yes | NA |
| CoinbasePro | Yes | Yes | No|
| Coinbene | Yes | Yes | No |
| COINUT | Yes | Yes | NA |
| Exmo | Yes | NA | NA |
| FTX | Yes | Yes | No |
Expand Down
5 changes: 0 additions & 5 deletions cmd/exchange_wrapper_issues/wrapperconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@
"clientID": "ClientID",
"otpSecret": "-"
},
"coinbene": {
"key": "Key",
"secret": "Secret",
"otpSecret": "-"
},
"coinut": {
"key": "Key",
"clientID": "ClientID",
Expand Down
89 changes: 0 additions & 89 deletions config_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -1208,95 +1208,6 @@
}
]
},
{
"name": "Coinbene",
"enabled": true,
"verbose": false,
"httpTimeout": 15000000000,
"websocketResponseCheckTimeout": 30000000,
"websocketResponseMaxLimit": 7000000000,
"websocketTrafficTimeout": 30000000000,
"websocketOrderbookBufferLimit": 5,
"baseCurrencies": "USD",
"currencyPairs": {
"assetTypes": [
"spot",
"perpetualswap"
],
"pairs": {
"perpetualswap": {
"enabled": "BTC/USDT",
"available": "LTC/USDT,EOS/USDT,ETH/USDT,BTC/USDT",
"requestFormat": {
"uppercase": true
},
"configFormat": {
"uppercase": true,
"delimiter": "/"
}
},
"spot": {
"enabled": "BTC/USDT",
"available": "ABBC/BTC,ABBC/USDT,ABT/ETH,ABT/USDT,ABYSS/ETH,ACDC/USDT,ADA/USDT,ADK/BTC,ADN/BTC,AE/BTC,AE/USDT,AIDOC/BTC,AIDUS/BTC,AION/BTC,AIPE/USDT,ALI/ETH,ALX/ETH,AMDC/USDT,APL/ETH,ATX/BTC,BAAS/BTC,BAT/BTC,BCH/USDT,BCT/USDT,BETHER/ETH,BEZ/BTC,BGC/USDT,BKG/BTC,BNB/USDT,BNT/BTC,BOA/USDT,BR/USDT,BSTN/ETH,BSV/BTC,BSV/USDT,BTC/USDT,BTCV/BTC,BTNT/BTC,BVT/ETH,CCC/ETH,CCE/USDT,CEDEX/ETH,CFT/USDT,CMT/ETH,CMT/USDT,CNN/BTC,CNN/ETH,CNN/USDT,CONI/USDT,COSM/BTC,COSM/ETH,CPM1/USDT,CPS/BTC,CREDO/ETH,CRN/BTC,CSCC/USDT,CTCN/USDT,CTXC/ETH,CUST/USDT,CVC/BTC,DASH/USDT,DDAM/ETH,DDAM/USDT,DEN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SMART/USDT,SORO/USDT,SRCOIN/BTC,SRCOIN/ETH,STORJ/BTC,SWET/BTC,SWTC/USDT,SWYFTT/BTC,TCT/BTC,TEN/BTC,TEN/ETH,THC/USDT,TIB/BTC,TMTG/BTC,TOC/USDT,TOSC/BTC,TRUE/ETH,TRX/BTC,TRX/USDT,TWEE/USDT,UTNP/BTC,VEEN/BTC,VME/BTC,VME/ETH,VSC/ETH,W12/BTC,W12/ETH,WBL/BTC,WBX/USDT,WFX/BTC,XEM/BTC,XLM/BTC,XMR/BTC,XNK/ETH,XRP/BTC,XRP/USDT,XSR/USDT,YAP/BTC,YAP/USDT,YTA/USDT,ZAT/ETH,ZEC/BTC,ZEC/USDT,ZRX/BTC",
"requestFormat": {
"uppercase": true,
"delimiter": "/"
},
"configFormat": {
"uppercase": true,
"delimiter": "/"
}
}
}
},
"api": {
"authenticatedSupport": false,
"authenticatedWebsocketApiSupport": false,
"endpoints": {
"url": "NON_DEFAULT_HTTP_LINK_TO_EXCHANGE_API",
"urlSecondary": "NON_DEFAULT_HTTP_LINK_TO_EXCHANGE_API",
"websocketURL": "NON_DEFAULT_HTTP_LINK_TO_WEBSOCKET_EXCHANGE_API"
},
"credentials": {
"key": "Key",
"secret": "Secret",
"clientID": "ClientID"
},
"credentialsValidator": {
"requiresKey": true,
"requiresSecret": true
}
},
"features": {
"supports": {
"restAPI": true,
"restCapabilities": {
"autoPairUpdates": true
},
"websocketAPI": true,
"websocketCapabilities": {}
},
"enabled": {
"autoPairUpdates": true,
"websocketAPI": false
}
},
"bankAccounts": [
{
"enabled": false,
"bankName": "",
"bankAddress": "",
"bankPostalCode": "",
"bankPostalCity": "",
"bankCountry": "",
"accountName": "",
"accountNumber": "",
"swiftCode": "",
"iban": "",
"supportedCurrencies": ""
}
]
},
{
"name": "FTX",
"enabled": true,
Expand Down
2 changes: 0 additions & 2 deletions docs/ADD_NEW_EXCHANGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ Yes means supported, No means not yet implemented and NA means protocol unsuppor
| Exmo | Yes | NA | NA |
| FTX | Yes | Yes | No | // <-------- new exchange
| CoinbasePro | Yes | Yes | No|
| Coinbene | Yes | No | No |
| GateIO | Yes | Yes | NA |
| Gemini | Yes | Yes | No |
| HitBTC | Yes | Yes | No |
Expand Down Expand Up @@ -238,7 +237,6 @@ var Exchanges = []string{
"btc markets",
"btse",
"coinbasepro",
"coinbene",
"coinut",
"exmo",
"ftx", // <-------- new exchange
Expand Down
1 change: 0 additions & 1 deletion docs/MULTICHAIN_TRANSFER_SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ $ ./gctcli withdrawcryptofunds --exchange=ftx --currency=USDT --address=TJU9piX2
| BTCMarkets | No | No| NA |
| BTSE | No | No | Only through website |
| CoinbasePro | No | No | No|
| Coinbene | Yes | Yes | Addresses must be created via their website first |
| COINUT | No | No | NA |
| Exmo | Yes | Yes | Addresses must be created via their website first |
| FTX | Yes | Yes | |
Expand Down
1 change: 0 additions & 1 deletion docs/OHLCV.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ A helper tool [cmd/dbseed](../cmd/dbseed/README.md) has been created for assisti
| Bittrex | |
| BTSE | Y |
| Coinbase Pro | Y |
| Coinbene | Y |
| Coinut | |
| Exmo | |
| GateIO | Y |
Expand Down
3 changes: 0 additions & 3 deletions engine/exchange_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (
"github.com/thrasher-corp/gocryptotrader/exchanges/btcmarkets"
"github.com/thrasher-corp/gocryptotrader/exchanges/btse"
"github.com/thrasher-corp/gocryptotrader/exchanges/coinbasepro"
"github.com/thrasher-corp/gocryptotrader/exchanges/coinbene"
"github.com/thrasher-corp/gocryptotrader/exchanges/coinut"
"github.com/thrasher-corp/gocryptotrader/exchanges/exmo"
"github.com/thrasher-corp/gocryptotrader/exchanges/ftx"
Expand Down Expand Up @@ -160,8 +159,6 @@ func (m *ExchangeManager) NewExchangeByName(name string) (exchange.IBotExchange,
exch = new(btcmarkets.BTCMarkets)
case "btse":
exch = new(btse.BTSE)
case "coinbene":
exch = new(coinbene.Coinbene)
case "coinut":
exch = new(coinut.COINUT)
case "exmo":
Expand Down
2 changes: 1 addition & 1 deletion engine/exchange_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func TestExchangeManagerRemoveExchange(t *testing.T) {

func TestNewExchangeByName(t *testing.T) {
m := SetupExchangeManager()
exchanges := []string{"binance", "bitfinex", "bitflyer", "bithumb", "bitmex", "bitstamp", "bittrex", "btc markets", "btse", "coinbene", "coinut", "exmo", "coinbasepro", "ftx", "gateio", "gemini", "hitbtc", "huobi", "itbit", "kraken", "lbank", "localbitcoins", "okcoin international", "okex", "poloniex", "yobit", "zb", "fake"}
exchanges := []string{"binance", "bitfinex", "bitflyer", "bithumb", "bitmex", "bitstamp", "bittrex", "btc markets", "btse", "coinut", "exmo", "coinbasepro", "ftx", "gateio", "gemini", "hitbtc", "huobi", "itbit", "kraken", "lbank", "localbitcoins", "okcoin international", "okex", "poloniex", "yobit", "zb", "fake"}
for i := range exchanges {
exch, err := m.NewExchangeByName(exchanges[i])
if err != nil && exchanges[i] != "fake" {
Expand Down
Loading

0 comments on commit 02afa1e

Please sign in to comment.