package se.koc.trader.api;

import se.koc.trader.struct.Symbol;

import java.util.List;

public interface ExchangeMarket {

    /**
     * @return a List of all symbol names that are supported by this exchange, symbols are defined by "{baseAsset}/{quoteAsset}"
     */
    List<String> getSymbols();

    /**
     * @param name one of the names provided by the {@link #getSymbol(String)} method.
     * @return new Symbol instance representing the given symbol name on the exchange.
     */
    Symbol getSymbol(String name);
}
