This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import pandas as pd | |
def compute_market_prices(prices): | |
"""Compute market prices according to the trading competition recipe. | |
Parameters | |
---------- | |
prices : DataFrame |