Program Structure
class ValueInvest(object):
def __init__(self, start_year, end_year):
def simulate(self):
def load_finance_data(self, file_name, skip=0):
def calc_cagr(first, last, periods):
def calc_mdd(self):
def calc_sr(self):
def main():
start_year = 2008
end_year = 2016
ValueInvest(start_year, end_year).simulate()
if __name__ == "__main__":
main()
0 개의 댓글:
댓글 쓰기