{'fraction_non_alphanumeric': 0.0237741456166419, 'fraction_numerical': 0.004457652303120356, 'mean_word_length': 4.964601769911504, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, '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}}
Combination trading with limit orders

We model the exchange of commodities that are contingent upon each other, when traders place mostly limit orders. Examples include: 1) a market of financial futures where future spreads are also traded, 2) a market of mutual funds and stocks, 3) a market of options and stocks, under the viewpoint that they are both combinations of Arrow-Debreu securities. We prove that consistent prices are optimal. We develop a fixed-point algorithm to compute an optimal price and allocation. The algorithm combines ideas from contraction mapping theory and from homotopy theory. It is much faster than a traditional linear programming approach.