mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-04 23:16:54 +00:00
Package currency
This commit is contained in:
4
stats.go
4
stats.go
@@ -2,6 +2,8 @@ package main
|
||||
|
||||
import (
|
||||
"sort"
|
||||
|
||||
"github.com/thrasher-/gocryptotrader/currency"
|
||||
)
|
||||
|
||||
type ExchangeInfo struct {
|
||||
@@ -43,7 +45,7 @@ func (this ByVolume) Swap(i, j int) {
|
||||
}
|
||||
|
||||
func AddExchangeInfo(exchange, crypto, fiat string, price, volume float64) {
|
||||
if !IsFiatCurrency(fiat) {
|
||||
if !currency.IsFiatCurrency(fiat) {
|
||||
return
|
||||
}
|
||||
if len(ExchInfo) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user