def bond_profit(price, sellprice=1000.0):
    """
    Bond total profit for a zero coupon bond

    :param price:       Price which the bond was purchased
    :param sellprice:   Price which the bond was sold
    :return:            1 - price/sellprice
    """
    return 1 - price/sellprice