<jupyter_start><jupyter_text>Exchange<jupyter_code># export
class Exchange(object):

    def __init__(self):
        self.trading_specifications = {}

    def get_trading_specification(self, crypto_symbol, fiat_symbol):
        return self.trading_specifications.get((crypto_symbol, fiat_symbol), {})

    def get_portfolio(self):
        raise NotImplementedError

    def get_price(self, crypto_symbol, fiat_symbol):
        raise NotImplementedError

    def buy(self, crypto_symbol, fiat_symbol, amount, fiat_price_without_fee):
        raise NotImplementedError

    def sell(self, crypto_symbol, fiat_symbol, amount, fiat_price_without_fee):
        raise NotImplementedError<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.08157524613220815, 'fraction_numerical': 0.0, 'mean_word_length': 4.741935483870968, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '561174', 'license': 'Apache-2.0', 'n_tokens_mistral': 226, 'n_tokens_neox': 219, 'n_words': 40, 'path': 'notebooks/00_exchange.ipynb', 'repo_name': 'seii-saintway/crypto-currency-stabilizer', 'size': '711'}