def eval_features(json):
    """ Gets technical analysis features from market data JSONs

    Args:
        json: JSON data as a list of dict dates, where the keys are
            the raw market statistics.

    Returns:
        Dict of market features and their values
    """
    return {'close'    : json[-1]['close'],
            'sma'      : SMA.eval_from_json(json),
            'rsi'      : RSI.eval_from_json(json),
            'so'       : SO.eval_from_json(json),
            'obv'      : OBV.eval_from_json(json)}
Gets technical analysis features from market data JSONs

    Args:
        json: JSON data as a list of dict dates, where the keys are
            the raw market statistics.

    Returns:
        Dict of market features and their values