mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-09 15:11:10 +00:00
Tests: Use currency.NewBTCUSD and NewBTCUSDT (#1895)
* Tests: Use currency.NewUSD and NewUSDT Simple refactor to use the provided shortcut methods * Github: Add CI check to ensure NewPair not used Add a step to ensure NewPair(BTC, USD*) isn't used
This commit is contained in:
@@ -280,7 +280,7 @@ for i := range bot.Exchanges {
|
||||
|
||||
// Public calls - wrapper functions
|
||||
|
||||
pair := currency.NewPair(currency.BTC, currency.USD)
|
||||
pair := currency.NewBTCUSD()
|
||||
|
||||
// Fetches current ticker information
|
||||
tick, err := e.GetCachedTicker(context.Background(), pair, asset.Spot) // e -> f
|
||||
|
||||
Reference in New Issue
Block a user