import numpy as np

# _plt = None
# def get_pyplot():
#     global _plt
#     import matplotlib.pyplot as plt
#     _plt = plt
#     return plt

class BacktestStats(object):

    def __init__(self, positions, returns):
        pass

    def __repr__(self):
        return ''

    def _calc_stats(self):
        pass

class Backtest(BacktestStats):
    pass

def backtest(port):
    pass
