mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-18 15:10:03 +00:00
31 lines
798 B
Go
31 lines
798 B
Go
package bitfinex
|
|
|
|
// func TestStart(t *testing.T) {
|
|
// start := Bitfinex{}
|
|
// start.Start()
|
|
// }
|
|
//
|
|
// func TestRun(t *testing.T) {
|
|
// run := Bitfinex{}
|
|
// run.Run()
|
|
// }
|
|
//
|
|
// func TestGetTickerPrice(t *testing.T) {
|
|
// getTickerPrice := Bitfinex{}
|
|
// getTickerPrice.EnabledPairs = []string{"BTCUSD", "LTCUSD"}
|
|
// _, err := getTickerPrice.GetTickerPrice(pair.NewCurrencyPair("BTC", "USD"),
|
|
// ticker.Spot)
|
|
// if err != nil {
|
|
// t.Errorf("Test Failed - Bitfinex GetTickerPrice() error: %s", err)
|
|
// }
|
|
// }
|
|
//
|
|
// func TestGetOrderbookEx(t *testing.T) {
|
|
// getOrderBookEx := Bitfinex{}
|
|
// _, err := getOrderBookEx.GetOrderbookEx(pair.NewCurrencyPair("BTC", "USD"),
|
|
// ticker.Spot)
|
|
// if err != nil {
|
|
// t.Errorf("Test Failed - Bitfinex GetOrderbookEx() error: %s", err)
|
|
// }
|
|
// }
|