Code Monkey home page Code Monkey logo

amshiny's Introduction

AMShiny

Shiny Project for Illustrating Asset Management Principles The App is running from https://mikestukalo.shinyapps.io/AMShinyApp/

File structure

/ - in root directory there are standard Shiny App files (ui.R, server.R, global.R)

/html - static html pages

/func - helper functions

/func/am_helper.R - a collection of functions that calculate various portfolio outputs

/func/shiny_helper - a collection of functions that calculate certain outputs for server.R

/data - input data in .csv format

Usage

The user receive interactive information through the BackTest section. She can select a range of dates for which the backtesting is performed, portfolio asset weights, and rebalancing schedule. The App shows the key performace measures of the selected portfolio and comparison to pure equity and a 60/40 portfolio.

On 'Allocation Comparison' tab the user can compare the portfolio to optimal portfolios with the same risk or same return, and see the structure of the optimal portfolios.

Behind the scenes there is a penalizing optimization algorithm that takes the return and risk of the user portfolio and finds optimal portfolios with corresponding risk or return.

amshiny's People

Contributors

mikestukalo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

amshiny's Issues

returns.csv

I am trying to update the returns.csv data to be as of 07/31/2019 but am getting the following error:

Error in xts(df, order.by = as.Date(rownames(df))) :
'order.by' cannot contain 'NA', 'NaN', or 'Inf'

I tried troubleshooting it various ways but am struggling to do so. Any insight would be helpful. Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.