Skip to content

Commit 75f2ff5

Browse files
committed
No longer supports BigOne, as they don't have a stable api
1 parent 7d0a2cf commit 75f2ff5

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: go
22

33
go:
4-
- 1.x
4+
- stable
55

66
before_script:
77

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Token-ticker (or `tt` for short) is a CLI tool for those who are both **Crypto i
2929
* [Gate.io](https://gate.io/)
3030
* [Bittrex](https://bittrex.com/)
3131
* [HitBTC](https://hitbtc.com/)
32-
* [BigONE](https://big.one/)
32+
* ~~[BigONE](https://big.one/)~~
3333
* [Poloniex](https://poloniex.com/)
3434
* [Kraken](https://www.kraken.com/)
3535
* _still adding..._

exchange/bigone.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,9 @@ func (client *bigOneClient) GetSymbolPrice(symbol string) (*SymbolPrice, error)
147147
}
148148

149149
func init() {
150-
register((&bigOneClient{}).GetName(), func(client *http.Client) ExchangeClient {
151-
// Limited by type system in Go, I hate wrapper/adapter
152-
return NewBigOneClient(client)
153-
})
150+
// No longer supports BigOne, as they don't have a stable api.
151+
//register((&bigOneClient{}).GetName(), func(client *http.Client) ExchangeClient {
152+
// // Limited by type system in Go, I hate wrapper/adapter
153+
// return NewBigOneClient(client)
154+
//})
154155
}

exchange/bigone_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import (
77

88
func TestBigOneClient(t *testing.T) {
99

10+
t.Skip("No longer supports BigOne, as they don't have a stable api.")
11+
1012
var client = NewBigOneClient(http.DefaultClient)
1113

1214
t.Run("GetSymbolPrice", func(t *testing.T) {

0 commit comments

Comments
 (0)