package com.r35157.libs.valuetypes.basic;

import com.r35157.assetaz.valuetypes.CurrencyType;
import org.jetbrains.annotations.NotNull;

public record TradingPair(
        CurrencyType base,  // The thing you are buying or selling.
        CurrencyType quote  // The currency/unit used to price the base asset.
) {
    @Override
    public @NotNull String toString() {
        return base.symbol() + "_" + quote.symbol();
    }
}
