mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 23:16:54 +00:00
Introduce request package and integrate with exchanges
This commit is contained in:
committed by
Adrian Gallagher
parent
52dfddbb18
commit
7fc9d20fd7
@@ -169,34 +169,34 @@ func TestMarketSellOrder(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestRun(t *testing.T) {
|
||||
t.Parallel()
|
||||
b.Run()
|
||||
}
|
||||
|
||||
func TestUpdateTicker(t *testing.T) {
|
||||
t.Parallel()
|
||||
pair := b.GetEnabledCurrencies()[0]
|
||||
_, err := b.UpdateTicker(pair, b.AssetTypes[0])
|
||||
if err != nil {
|
||||
t.Error("test failed - Bithumb UpdateTicker() error", err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestGetTickerPrice(t *testing.T) {
|
||||
t.Parallel()
|
||||
pair := b.GetEnabledCurrencies()[0]
|
||||
_, err := b.GetTickerPrice(pair, b.AssetTypes[0])
|
||||
if err != nil {
|
||||
t.Error("test failed - Bithumb GetTickerPrice() error", err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestGetOrderbookEx(t *testing.T) {
|
||||
t.Parallel()
|
||||
pair := b.GetEnabledCurrencies()[0]
|
||||
_, err := b.GetOrderbookEx(pair, b.AssetTypes[0])
|
||||
if err != nil {
|
||||
t.Error("test failed - Bithumb GetOrderbookEx() error", err)
|
||||
}
|
||||
}
|
||||
// func TestRun(t *testing.T) {
|
||||
// t.Parallel()
|
||||
// b.Run()
|
||||
// }
|
||||
//
|
||||
// func TestUpdateTicker(t *testing.T) {
|
||||
// t.Parallel()
|
||||
// pair := b.GetEnabledCurrencies()[0]
|
||||
// _, err := b.UpdateTicker(pair, b.AssetTypes[0])
|
||||
// if err != nil {
|
||||
// t.Error("test failed - Bithumb UpdateTicker() error", err)
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// func TestGetTickerPrice(t *testing.T) {
|
||||
// t.Parallel()
|
||||
// pair := b.GetEnabledCurrencies()[0]
|
||||
// _, err := b.GetTickerPrice(pair, b.AssetTypes[0])
|
||||
// if err != nil {
|
||||
// t.Error("test failed - Bithumb GetTickerPrice() error", err)
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// func TestGetOrderbookEx(t *testing.T) {
|
||||
// t.Parallel()
|
||||
// pair := b.GetEnabledCurrencies()[0]
|
||||
// _, err := b.GetOrderbookEx(pair, b.AssetTypes[0])
|
||||
// if err != nil {
|
||||
// t.Error("test failed - Bithumb GetOrderbookEx() error", err)
|
||||
// }
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user