diff --git a/src/currency.rs b/src/currency.rs index 83dbab7..4e0500a 100644 --- a/src/currency.rs +++ b/src/currency.rs @@ -76,8 +76,8 @@ pub struct SymbolPair { } impl SymbolPair { - pub fn new(quote: Symbol, base: Symbol) -> Self { - SymbolPair { quote, base } + pub fn new(base: Symbol, quote: Symbol) -> Self { + SymbolPair { base, quote } } pub fn trading_repr(&self) -> String { format!("t{}{}", self.base, self.quote)